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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
Auto-refresh report
 Login/Join
 
Member
posted
I'm relatively new to WF and am trying to create a report that will auto-refresh the content after a pre-determined interval. I can use in HTML or can use a Javascript snippet of code to do the same. Outside of WF, it works. Embedding either pieces of code in a WF HTML doc doesn't. I get "No query information to decode." when it refreshes. Any suggestions?


WebFocus 7.1.4
Windows XP/Intel
HTML, Excel, PDF
 
Posts: 6 | Registered: November 26, 2007Report This Post
Expert
posted Hide Post
Here's a WebFOCUS program that refreshes every two seconds:

TABLE FILE CAR
SUM
SALES
BY COUNTRY
HEADING
"CAR REFRESH TEST"
"AT &TOD"
ON TABLE HOLD AS H001 FORMAT HTMTABLE
END
-RUN

-HTMLFORM BEGIN
<html>
<head>
<script language="JavaScript">
function doReload()
{
setTimeout( "location.reload(true);", 2*1000 );
}
</script>
</head>

<body onLoad="doReload();">
!IBI.FIL.H001;
</body>
</html>
-HTMLFORM END


I call it with this URL:

http://server-name/ibi_apps/WFServlet?&IBIF_ex=fmreload1


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Member
posted Hide Post
Thanks. Let me give that a shot. It looks similar to the code I tried using javascript:
<script language="JavaScript">
< !--
var time = null
function move() {
window.location.Reload
}
//-->




I'll post whether it works or not. Thanks again.


WebFocus 7.1.4
Windows XP/Intel
HTML, Excel, PDF
 
Posts: 6 | Registered: November 26, 2007Report This Post
Member
posted Hide Post
Francis,
It worked like a champ. Thanks!! I used this code:
END
-RUN
-HTMLFORM BEGIN
<html>
<head>
<META HTTP-EQUIV=REFRESH CONTENT=10;URL="http://myserver/ibi_apps/WFServlet?IBIF_ex=xyz">
</head>
<body >
</body>
</html>
-HTMLFORM END

at the end of the FOCEXEC stmts. One anomaly-I couldn't use the name that WebFOCUS created when the .fex file was created. I had to change it from z04r1hvi.fex to xyz.fex (just to get it to work) and figure out through trial and effort the directory in which I had to copy the .fex file. I really appreciate your assistance on this.

This message has been edited. Last edited by: Rob,


WebFocus 7.1.4
Windows XP/Intel
HTML, Excel, PDF
 
Posts: 6 | Registered: November 26, 2007Report This Post
Expert
posted Hide Post
Rob,

Please edit your previous message and put your code between
[code]

[/code]

tags - the posting is actually performing the refresh!

Are you using MRE?


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
sweet!




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders