Focal Point
[NFR] -INCLUDE &VariableFexName

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

July 19, 2016, 03:09 PM
Doug
[NFR] -INCLUDE &VariableFexName
Thanks Jack, That sounds like some good technicalities that IB can consider when reaching my bottom line request, summed up as "Get it done! Make It Happen!".

PS: I've yet to create the NFR Case, but will, soon. I'll post that case number when I get it.
July 31, 2016, 07:29 PM
Waz
If all else fails, you could access the repository and pull the fex, then run it, but this does not take into account any -INCLUDE's or EX's the fex would have.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

August 01, 2016, 02:28 PM
Doug
That sounds like a good work-around Waz, albeit a bit complex for the time being. But, I just may do it in the mean time.
August 01, 2016, 06:59 PM
Waz
Good luck with the NFR, I think it is something we all would like to have.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

August 02, 2016, 02:39 PM
GavinL
Another way, is to make your include file be the dynamic part, not create 500 include files, then using params to say which include to use.

I'm assuming there really can't be that big of a difference in the included file, because of a variable being different.



- FOCUS Man, just FOCUS!
-----------------------------
Product: WebFOCUS
Version: 8.1.04
Server: Windows 2008 Server
August 02, 2016, 05:16 PM
j.gross
To sharpen my suggestion,

* Normally, Client will find the referenced fex file in Content and push it to the Server as part of the request, as it does now;
* But if the file-reference contains an ampersand, Client will make arrangements for Server to pull the file from Content, once it has resolved the amper variable.

That said, due thought must be given, in the design of the Feature, to address the possibility that the -INCLUDE will be executed more than once, and the value of the amper variable may vary of the course of the run.


- Jack Gross
WF through 8.1.05
August 02, 2016, 06:34 PM
Waz
And the old fashioned way would be to store the fexes on the reporting server and not the repository.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

August 02, 2016, 06:39 PM
Waz
An interesting note with the way that WF sends the fexes to the reporting server.

If there are many fexes with the same name but in different directories, they are named {first 6(i think) characters} + 0 to 9. If you have more, then things will go to the dark side.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!