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 have some files in folders that I would like to make available to users, but the files are stored in protected folders so I cannot simply redirect the browser to the file on the server. I am looking for a way to deliver the file to the browser through FOCUS.
I see that FOCUS uses PG_file and PG_func to deliver PDFs and XLS, but I can't find any documentation on accessing those functions myself.
Is there any way to send static files to the browser from FOCUS?
Thanks!This message has been edited. Last edited by: Kerry,
Not really. FOCUS can deliver records from a file, but there is no mechanism to grab a file where it exists and deliver it to a browser. In any case, it would need to access the directory the same way that a browser would, so I think that's a double dead-end.
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007
@Darin Lee: Our fexes have access to all the folders, but the browser should not.
@Waz: This is the direction we've been trying. It _almost_ works, but FOCUS mangles any file that wasn't generated in FOCUS originally before it gets to the browser. IBI tech support says "HTMLFORMTYPE" is unsupported in WebFOCUS.
@dhagen: This looks promising, but I cannot find very little documentation on it. Do you know where I can find more info? I keep getting a FILE NOT FOUND error, even though the file is definitely there.
I got EDAGET to work only as well as HTMLFORMTYPE/HTMLFORM. That is: WebFOCUS tries to send the file to the browser, but mangles the file before the browser gets it. The browser will attempt to open the file but cannot interpret it.
Any other suggestions?
Thanks again for any ideas. This is basic Web App 101 stuff, I don't know why this is so difficult in WebFOCUS.
If your Webserver is on the same box as WebFOCUS, or at lease can access a location, could you just copy the file to a location accessible to the webserver.
The only issue after that would be removing the file later.
Also not sure if FOCCACHE could be used. (Don't think it is in 7.1)
Originally posted by jkyle: I got EDAGET to work only as well as HTMLFORMTYPE/HTMLFORM. That is: WebFOCUS tries to send the file to the browser, but mangles the file before the browser gets it. The browser will attempt to open the file but cannot interpret it.
What kind of files are these? I can figure out the proper syntax, but I need to know what you are working with.
"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott