Focal Point
[RESOLVED] Cannot include resource specified IBFS:/WFC/REPOSITORY ...

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/6257012876

September 03, 2015, 09:05 AM
Yazster
[RESOLVED] Cannot include resource specified IBFS:/WFC/REPOSITORY ...
Hi all,

I'm thinking this one should be an easy one but I'm just not seeing it.

I have two procedures, A & B.
A simply does a few queries and stores the results into variables.

B includes A and displays the variables in HTML format.

As administrator and owner of the procedures, all works fine for me.

When I try grant access to other users, I get a
quote:
Cannot include resource specified IBFS:/WFC/REPOSITORY/ ...


I figured its a simple security issue, but unless I set the users up as administrators, nothing works. I've even tried to grant the SystemFullControl role to the users and still nothing.

Interesting thing is, procedure A can be executed by the users on it's own. If I remove the
quote:
-INCLUDE
command from procedure B, users can execute that one as well.

What am I missing?? Confused

This message has been edited. Last edited by: Yazster,


WebFOCUS 8.201M
Windows, Linux, All Outputs
September 03, 2015, 09:59 AM
CoolGuy
Have you right clicked the procedures and published them yet? That needs to be done for things to work.


8.2.02M (production), 8.2.02M (test), Windows 10, all outputs.
September 03, 2015, 10:58 AM
Yazster
Yes everything is published.


WebFOCUS 8.201M
Windows, Linux, All Outputs
September 03, 2015, 11:11 AM
Tom Flynn
-MRNOEDIT -INCLUDE PROGRAM A or B


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
September 03, 2015, 12:02 PM
Yazster
Hi Tom,

I tried what you suggested and maybe I'm getting the syntax wrong. I'm not getting an error anymore but my parameters aren't being passed (as if the include was being ignored).

Tried
quote:
-MRNOEDIT -INCLUDE IBFS:/WFC/REPOSITORY/TEST/a.fex


Also Tried
quote:
-MRNOEDIT -INCLUDE PROGRAM IBFS:/WFC/REPOSITORY/TEST/a.fex



WebFOCUS 8.201M
Windows, Linux, All Outputs
September 03, 2015, 12:04 PM
Tom Flynn
That's the HTML side, need to bind the parameters...
If the a.fex is in the same Domain, it's -MRNOEDIT -INCLUDE A.FEX

And, the fex needs, -DEFAULTS, not, -DEFAULTH else they will be hidden.
And, the fex needs to have the Prompt for Parameters box checked...


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
September 03, 2015, 12:43 PM
Yazster
As you indicated my a.fex contained -DEFAULTH statements. I made the suggested change.


I'm now able to see my HTML content with no errors, problem is however I'm now being prompted for my parameter values and the defaults do not contain the values my A procedure originally populated.

My A Procedure declares 8 parameters, runs various queries and populates these parameters for use by various other procedures. I do not want to be prompted for them as the procedure takes care of that.

I just want to -INCLUDE my A procedure and display the already populated parameters.

For some reason as an administrator everything works fine, but nobody else.


WebFOCUS 8.201M
Windows, Linux, All Outputs
September 03, 2015, 01:44 PM
Yazster
Was reading the following link:
http://forums.informationbuild...1057331/m/5217080036

quote:
For –MRNOEDIT –INCLUDE your procedure must reside on the reporting server within an application folder that is on the Reporting Server APP PATH.


My procedure is located within the WF repository, and I am using full IBFS path qualification.

Seems to be a common problem....


WebFOCUS 8.201M
Windows, Linux, All Outputs
September 03, 2015, 01:58 PM
Francis Mariani
Are you coding the full path properly? Did you right-click the fex in the web-based Explorer Resources tree and copy/paste the full path?

-INCLUDE IBFS:/WFC/Repository/domain1/subFolder1/report_prepare.fex

Meanwhile, to verify user's access to the file, you should right-click on the fex and select Security > Effective Policy. From here you can check if a user has access.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
September 03, 2015, 02:01 PM
Yazster
I moved my procedure to the reporting server all is seems to be working fine now with the -MRNOEDIT -INCLUDE.

Is there any way to this using procedures located in the repository?

Thanks for your help!


WebFOCUS 8.201M
Windows, Linux, All Outputs
September 03, 2015, 03:34 PM
Yazster
quote:
Are you coding the full path properly? Did you right-click the fex in the web-based Explorer Resources tree and copy/paste the full path?


Francis, I cannot believe this but that was my issue. I had entered the path "correctly", but using all caps. When I copy-pasted from the properties it worked! I had no idea the path was case-sensitive!

Thanks for your help! Smiler


WebFOCUS 8.201M
Windows, Linux, All Outputs