Focal Point
[CLOSED] Can a batch file run a FEX?

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

May 15, 2019, 09:59 AM
RichM
[CLOSED] Can a batch file run a FEX?
I am trying to automate tasks. I want to create a batch file that does this, that and the other thing and at the very end, call a .FEX.

Can a batch file call a FEX? If so, how do I do it.

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8
Windows, All Outputs
May 15, 2019, 10:15 AM
BabakNYC
I remember something like edastart -f fexname but I'm not sure if it works with fex's in the repository. Is report caster an option?


WebFOCUS 8206, Unix, Windows
May 15, 2019, 10:21 AM
Frans
If you want to automate, you better look into Jenkins or equal tools. Batch is kind of hard to maintain and monitor. From Jenkins you can fire off Rest calls (if you have the WebFOCUS webservices option)


Test: WF 8.2
Prod: WF 8.2
DB: Progress, REST, IBM UniVerse/UniData, SQLServer, MySQL, PostgreSQL, Oracle, Greenplum, Athena.
May 15, 2019, 05:29 PM
Waz
edastart -f fexname will work on fexes stored under the reporting server.

To call a fex stored in the repository, then you will need RESTful web services, and depending on security, issue a login, then call the fex.

I've done this on Linux with Python (needed to authenticate first), can't see why it couldn't be done on windows.

If you don't have security or its public, then just call the web address.


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!