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     [CLOSED]Source of Iframe causes 404 error

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED]Source of Iframe causes 404 error
 Login/Join
 
Member
posted
Hello everyone,

I am trying to include within a procedure a HTML Form that has an iframe element. The source of the iframe is a fex.

When I run the report, I receive the following message:
http status 404 - The request is not available.

The reason is that an "%22" is added infront of the URL once the procedure is executed. However, the URL works fine when the fex is executed in a browser. The report is without any problems available.

This is the code:

-HTMLFORM BEGIN
< !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4 /strict.dtd">
...
...
...
...
<iframe src="http://127.0.0.1:8080/ibi_apps/run.bip?BIP_REQUEST_TYPE=BIP_RUN&BIP_folder=IBFS:/WFC/Repository/Test&BIP_item=gadget_sparkline_responsive_wf_graph.fex">
...
...
-HTMLFORM END


Once executed, the "src" code becomes:
/%22http://127.0.0.1:8080/ibi_apps/run.bip?BIP_REQUEST_TYPE=BIP_RUN&BIP_folder=IBFS:/WFC/Repository/Test&BIP_item=gadget_sparkline_responsive_wf_graph.fex


Has anybody had this issue before?

Thanks for your help!

This message has been edited. Last edited by: <Emily McAllister>,
 
Posts: 8 | Registered: January 13, 2016Report This Post
Guru
posted Hide Post
Is it your localhost?
I would try it with source of
  
"/ibi_apps/run.bip?BIP_REQUEST_TYPE=BIP_RUN&BIP_folder=IBFS:/WFC/Repository/Test&BIP_item=gadget_sparkline_responsive_wf_graph.fex" 

and see if it helps!
 
Posts: 289 | Location: Houston,TX | Registered: June 11, 2004Report This Post
Expert
posted Hide Post
%22 is a double quote (").

Looks like the src is sending the quotes as well.

Is the htmlform static or generated ?


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
@vaayu Unfortunately the issue still occurs...

@waz The HTML form is static and manually written by us.
 
Posts: 8 | Registered: January 13, 2016Report This Post
Expert
posted Hide Post
You shouldn't need the https://127.0.0.1:8080 if the request is going to the same server the page was served from.

Not sure what else to suggest. Which browser, have you tried others ?


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
<Emily McAllister>
posted
quote:
Originally posted by clde:
@vaayu Unfortunately the issue still occurs...

@waz The HTML form is static and manually written by us.


When you removed the quote, did the URL it is directing to change, or does it continue to have the "/%22" in front of it? Knowing what it is sending will help to figure out what is going wrong.

Emily McAllister
Focal Point Moderator
 
Report This Post
Platinum Member
posted Hide Post
I'll be the first one to say i missplace quotes all the time when typing strings out. Is it possible you wrote it with the quote in the string by accident?


WebFOCUS App Studio 8.2.02
Windows 7, All Outputs
 
Posts: 141 | Location: Mclean, VA | Registered: December 04, 2012Report This Post
Platinum Member
posted Hide Post
If you can use JavaScript you could try building the URL in a variable that way and then have the JS set the SRC of your URL. I'm fairly new to WF, and have only dealt with HTML/JS via the composer, but I know from previous experience leveraging JS can sometimes clear issues as such with HTML.

To set the source in JS you'd do the following (most likely in your page load function):
var myURL = "http://wheretogo.com";
document.getElementById("myFrame").src = myURL;

Your iFrame would look like this:
<iframe src="#" id="myFrame">

Again, not sure if you can use JS but it was just a thought I had when reading your post.

-Joe


JC
WebFOCUS Dev Studio / App Studio
8.2.01
Windows 7
 
Posts: 146 | Registered: November 09, 2015Report 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     [CLOSED]Source of Iframe causes 404 error

Copyright © 1996-2020 Information Builders