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.
How do I link to a MS Word Doc which resides on a Windows Shared Drive from within an iFrame in a Portal Tab? OS:Linux This is the link which works when pasted into Windows Explorer: file:\\mysite.net\doug\SHARED\Exception Reports\Functional Documentation.docx
The bottom line: I need to access a MS Word Doc which resdes on a Windows Shared Drive from within an iFrame which has Auto Execute set to True. The iFrame is the only item in that page which should display the MS Word doc.
So, what am I missing here?
Thanks, DougThis message has been edited. Last edited by: Tamra,
In FOCUS Since 1983 ~ from FOCUS to WebFOCUS. Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005
Thanks... But: Nope. That gave WebFOCUS Error (8005) ... Unregistered Error.
It automatically adds "IBFS:/Testfile" as a prefix to my entry. I have a meeting with IB this afternoon. I'll ask them then and post my findings... Unless someone can come up with a solution before then.
Thanks, Doug
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005
That (using a path to a share) only really works in Internet Explorer.
The more reliable approach is to put those documents under a web-server's document root and link to is using an HTTP (or perhaps FTP) URL.
We found that it's possible to create IIS virtual directories on remote shared directories, that could work for you.
Securing that is a different matter though.
WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010 : Member of User Group Benelux :
Originally posted by Doug: I adds "IBFS:/Testfile" as a prefix to my entry.
Don't add IBFS:/ for files that are not on IBFS
WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010 : Member of User Group Benelux :
From my laptop, I can bring up Google Chrome, then paste the above link as the URL and it brings up a PDF document from my "WEBFOCUSDEV" remote server and "balanced_scorecard" Windows share.
App Studio WebFOCUS 8.1.05M Windows, All Outputs
Posts: 594 | Location: Michigan | Registered: September 04, 2015
Well, my test worked fine outside of WebFOCUS and with Chrome... with IE 11 it wanted to open the PDF in a new window. In Firefox, the iFrame appeared but it was empty.
App Studio WebFOCUS 8.1.05M Windows, All Outputs
Posts: 594 | Location: Michigan | Registered: September 04, 2015
Thanks again Squatch, Please try it with a docx file. That'll give me hope ... I'm just doing the presentation of a docx file which someone else if editing. So, no control over the format. I'm still troubled with the "IBFS:/Testfile" prefix being automatically added.
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005
Chrome: Automatically downloads instead of displaying in iframe Firefox: Nothing happens, just a blank iframe IE 11: Asks if I want to download... nothing in iframe.
App Studio WebFOCUS 8.1.05M Windows, All Outputs
Posts: 594 | Location: Michigan | Registered: September 04, 2015
If you can link to the remote location from within your fex, then CMD COPY c:/mysite.net/doug/SHARED/Exception%20Reports/Functional%20Documentation.docx myreport.docx copies the file into your agent then you have a less complicated link to write. If you can't COPY directly, then do a CMD NET USE to temporarly link to the file's location, then CMD COPY ... That's how I do it... but I don't have blanks in my filenames, just makes it easier. I don't know the unix equivalents of the dos CMD statement, tho.
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
I looks like the issue here is how to issue a command from Linux that gets implemented in Windows. It's easy enough to transfer files to and from Linux from the Windows side using utilities like PSCP (google that). Maybe a product like SAMBA is what you need. Alternatively you can schedule automatic uploads of your Windows file using PSCP so that it is always available in the latest version on the Linux server.