Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED]How to create dynamically a fex file in the user content folder

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED]How to create dynamically a fex file in the user content folder
 Login/Join
 
Member
posted
Hi,

From a fex procedure (PROC1), we try to create a new fex(NEW_PROC) with the parameters received in the by the PROC1.

The new fex need to be save in the 'My Content' folder of current user.

and the user will be able to run it from an Ad Hoc page.

In the new fex we would write some -SET of variable and at the end of the new fex we want write a -INCLUDE of exiting fex.

It look like the Save Parameter in the HTML Composer. But in our current case i'm not able to use it.

I don't know if my request is clear...

Thank a lot

René Bisson

This message has been edited. Last edited by: <Emily McAllister>,
 
Posts: 16 | Registered: July 23, 2015Report This Post
Expert
posted Hide Post
I think this will depend on where you write the new fex to content.

You can use Web Services to do this, and if you have the web services adapter, possibly do it from a Fex.

There may be defines IBI ways to do this. I would suggest asking Tech Support as well as the forum.


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!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Member
posted Hide Post
Hi
We found a way to create a dynamic fex, but we can juste saved it on the server

here a example of how we did it:
-SET &USER_PATH = &IBIMR_domain | 'usr_saved_report/';

FILEDEF OUTPUT_FL DISK &USER_PATH |'test1.fex'
-RUN

-DEFAULTH &MY_NAME='TEST NAME';

-WRITE OUTPUT_FL NOCLOSE -SET &|MY_NAME='&MY_NAME';
-WRITE OUTPUT_FL -INCLUDE IBFS:/WFC/Repository/testapp/test_fex_after.fex


as the included fex is in the repository and the new test1.fex is on the EDASERV, it is unable to include it. We wanted to create the new fex in the repository but we have not figured out how.

So we used an alternative approach using a table in the database in which we make INSERT by SQL.
This way is easier to manage.

Thank you


WebFOCUS 8.1.5
Windows, All Outputs
 
Posts: 16 | Registered: July 23, 2015Report This Post
Virtuoso
posted Hide Post
Instead of writing :
quote:

-WRITE OUTPUT_FL -INCLUDE IBFS:/WFC/Repository/testapp/test_fex_after.fex


You need to use:
quote:

-WRITE OUTPUT_FL -MRNOEDIT -INCLUDE IBFS:/WFC/Repository/testapp/test_fex_after.fex


That will allow the repository to call something from the reporting server.


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED]How to create dynamically a fex file in the user content folder

Copyright © 1996-2020 Information Builders