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.
Doing a View source I have only the below displayed. Like if there is nothing between the two tag
-HTMLFORM BEGIN
-HTMLFORM END
I found few other "version" on how to call the url but with no luck I have also tried to hardcode the url instead of variable, no luck either (but I really need it as a variable)
Can't figure what has changed in 8204 that prevent this to work
Any other ideas ?This message has been edited. Last edited by: MartinY,
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, 2013
-HTMLFORM BEGIN
<html>
<body>
content="0; url=!IBI.AMP.#FILE_PATH;!IBI.AMP.FILE_NAME;"
</body>
</html>
-HTMLFORM END
I'm a bit suspicious of the variable !IBI.AMP.#FILE_PATH;. Do you actually have an amper-variable FILE_PATH? I'm not even sure that's a valid variable name...
Or is that hash an anchor hash that's meant to be in the URL somewhere else, as in?:
url=!IBI.AMP.FILE_PATH;#!IBI.AMP.FILE_NAME;
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 :
Yes the FILE_PATH exist as a valid variable and it does work everywhere else except to reference and open a pdf file I don't think that it's an issue with variable the since, as I stated, I've tried with hardcoded path & file name and it doesn't work either
As per example, I have the following in several fex that works great where I have the image displayed
That looks like a file-path to some Windows share. Only Internet Explorer tolerates URL's like that, the other browsers plain refuse.
For similar cases, we placed locations like that under a web-server and reference the files like URL's on that server. That way, no browser has issues with them.
Whether that applies to your situation I cannot tell.
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 :
Only Internet Explorer tolerates URL's like that, the other browsers plain refuse.
You are right Wep, but since in the organisation I am, the rule is to use IE, up to now I was not concerned of using these type of url But now it seems that with WF8204 something has changed regarding this
I will validate with TechSupport and maybe I will have to change the way to reference files...
Thanks again
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, 2013
Doing a View source I have only the below displayed. Like if there is nothing between the two tag
-HTMLFORM BEGIN
-HTMLFORM END
This is because if you scroll up in the source, the html code from the -HTMLFORM block is showing in the DOM. Look in the DOM for the rendered code. There is no need to duplicate this in the &ECHO. Just change the content in your meta tag from 0 to 60. This will give you 60 seconds to inspect the DOM before it refreshes to the new URLThis message has been edited. Last edited by: Hallway,
Hallway
Prod: 8202M1
Test: 8202M4
Repository:
OS:
Outputs:
Posts: 608 | Location: Salt Lake City, UT, USA | Registered: November 18, 2015
What happens on your end when you change the back slash to a forward slash?
Changing back-slash by slash then result in a 404 error
It's a strange issue because if I execute from the RDP server the report, I can have the PDF file loaded and displayed properly but when I run from my computer (or from anywhere outside the server where WF8204 is installed), it doesn't work.
I have a similar issue with images that are stored on the same public folder (which is where FILE_PATH is referring). It's a valid UNC that can be accessed properly with Windows Explorer and IE when I type in the address bar the location and file name.
I still have to test some stuff requested by TechSupport
The strangest thing is that it works when ran locally on the server where reside WF8204 but not from outside when there is no problem at all with WF8201M
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, 2013
I have found a work around that fix the problem for now.
I have changed IIS from Windows Authentication to Anonymous Authentication.
It is supposed to be SSO with Windows Authentication but since that for now it's used as a dev server for me only until I can have the SSO properly setup I will work with IIS setup this way.
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, 2013