Focal Point
[SOLVED] master file profile and site.wfs

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

November 10, 2020, 08:32 AM
Martin vK
[SOLVED] master file profile and site.wfs
Hi,

We intend to use master file profiles to arrange security to limit specific user to which data they can access.
We have a web application that accesses WebFOCUS through the public user and security is arranged by an external shell and the specific user is passed to WebFOCUS through http headers and extracted and passed from WF client to Reporting Server through site.wfs.

The issue now is that site.wfs is only passing local variables to the Reporting Server through "sendvar" or "SET variable".
On the other side the Master File Profile can only reference global variables.
Does someone know a solution to this to pass variables via site.wfs to Master File Profile?

thanks, Martin.

This message has been edited. Last edited by: Martin vK,


WebFocus 8206M, iWay DataMigrator, Windows, DB2 Windows V10.5, MS SQL Server, Azure SQL, Hyperstage, ReportCaster
November 10, 2020, 09:57 AM
FP Mod Chuck
Hi Martin

You will need to create a _site_profile fex and set the &variable to a &&variable in that fex. This fex needs to be stored in a app folder not the repository and in the client administration console under Client settings there is a Site Profile setting and you referenece your fex with -INCLUDE appfolder/fexname.fex. Once you save that I think you need to clear the cache using the administration console option.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
November 10, 2020, 02:14 PM
Waz
You can also use the Universal Profile. This is executed for all connections including RC.

We use it to allocate DB connections to our data.


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!

November 10, 2020, 03:58 PM
Martin vK
Thanks Chuck and Waz. I got it working, excellent.

Martin.


WebFocus 8206M, iWay DataMigrator, Windows, DB2 Windows V10.5, MS SQL Server, Azure SQL, Hyperstage, ReportCaster
November 10, 2020, 04:13 PM
Waz
What method did you use ?

It may help others.


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!

November 10, 2020, 04:33 PM
Martin vK
I used the universal profile as we also run reports through ReportCaster.


WebFocus 8206M, iWay DataMigrator, Windows, DB2 Windows V10.5, MS SQL Server, Azure SQL, Hyperstage, ReportCaster