Is there any way we can capture portal ID or Name with in fex like &MYWORPMPV? We have a situation where we need to use same fex in 2 different portals and I need to hide and show data points based on which portal being called this fex?This message has been edited. Last edited by: Tamra,
WebFocus 8202M APP Studio Info assist Report caster Portals Maintain EXcel,PDF,HTML,Active Reports
November 05, 2015, 09:20 PM
Waz
What we have done here for common use fexes is to have a simple calling fex that includes the common one and passes the unique variable.
Waz...
Prod:
WebFOCUS 7.6.10/8.1.04
Upgrade:
WebFOCUS 8.2.07
OS:
Linux
Outputs:
HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!
November 06, 2015, 10:36 AM
CoolGuy
Waz has a good idea. Also, if the report will only be ran after being filtered from a form, you could pass a unique value to the common use report from the form (using a hidden control) that determines which portal it was ran from also.
8.2.02M (production), 8.2.02M (test), Windows 10, all outputs.
November 09, 2015, 10:11 AM
RaviD
Waz,
Thanks you very much for your reply. can you share your sample code?
WebFocus 8202M APP Studio Info assist Report caster Portals Maintain EXcel,PDF,HTML,Active Reports
November 09, 2015, 04:53 PM
Waz
I don't think I need to show sample code. Its pretty simple.