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.
I would like to create a FEX file that uses a DOS command to generate a listing of data files from a WebFOCUS reporting server. The files would correspond to the files found under EDASERVE in a particular folder.
My end goal is to use the file listing to populate an HTML select control with filename choices. So the FEX would output the list of files in XML format.
So here are some data files under EDASERVE in a folder called "csv" under the main folder "sankey":
The HTML application would then use a D3 javascript library to load the selected CSV file's data to generate a Sankey diagram. I just need the relative path folder/filename XML info from the FEX.
Anybody done anything like this before?This message has been edited. Last edited by: Squatch,
App Studio WebFOCUS 8.1.05M Windows, All Outputs
Posts: 594 | Location: Michigan | Registered: September 04, 2015
APP QUERY SANKEY/CSV HOLD
-RUN
TABLE FILE FOCAPPQ
PRINT FILENAME
ON TABLE PCHOLD FORMAT XML
END
This retrieves any filename in folder "csv" under "sankey" in EDASERVE. That is good enough, as I'm requiring my two users of this application to put their data in the "csv" folder.
Thanks for the quick response!
App Studio WebFOCUS 8.1.05M Windows, All Outputs
Posts: 594 | Location: Michigan | Registered: September 04, 2015
I was able to populate an HTML select control with a list of filename choices residing in a particular folder under EDASERVE.
The HTML app with the control then launches another HTML app and passes it a filename; the second HTML app uses that file as a data source for creating a Sankey chart.
App Studio WebFOCUS 8.1.05M Windows, All Outputs
Posts: 594 | Location: Michigan | Registered: September 04, 2015
AS A FORMER IBI'er I WOULD RECOMMEND DISABLING THE USE OF THE DOS (!) COMMAND. I WILL NOT GO INTO DETAIL BUT USE THEM AT YOUR OWN RISK AS THEY ARE A SECURITY RISK.
INSTEAD WHAT I WOULD DO AND HAVE DOME IS CREATE A PROGRAM THAT CAN BE CALLED WITH CALLPGM OR CALLJAVA THEY WAY THEY CANNOT DO SOMETHING THEY SHOULD NOT DO.