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     Calling a fex from a .htm document

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Calling a fex from a .htm document
 Login/Join
 
Member
posted
I have a site that will be built with the majority of code in html. It will be set up mostly in tables. There are a number of times when we would like to call one of my reports from the html file. Is this possible. If so how would I go about doing this.
 
Posts: 21 | Registered: April 20, 2004Report This Post
Member
posted Hide Post
WebFOCUS often uses HTML files to call reports. If you run a WebFOCUS procedure and do a view source from the report you will see how to call it.
 
Posts: 16 | Location: New York | Registered: August 25, 2006Report This Post
Member
posted Hide Post
When I ran the report all I got was the html that is created to create the look of the report, not the call to the webfocus report. I then tried replacing all of the table code with the following to try and call my report:

!IBI.FIL.grdiv100

The result was the 'UNRECOGNIZED COMMAND' error for every line.
 
Posts: 21 | Registered: April 20, 2004Report This Post
Expert
posted Hide Post
How would you like to call your report? Via a link? Use
<a href=http://[servername]/ibi_apps/WFServlet?IBIAPP=[appname]&IBIF_ex=[fexname].....>Click for report</a>


How do you intend to pass variables to it? (Does it have any?). If you know the values then add them to the end of the URL above using &[varname]=[value] etc.

OR

Do you want to embed your report? If so use the syntax in your posting above but add the required semi colon afterwards. Do not forget case sensitivity.

!IBI.FIL.grdiv100;

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
<Tim Howard_ABCBS>
posted
One thing to keep in mind, as far as I know, the !IBI.FIL.var command only works when the html is produced from the reporting server, via a .fex file. If this is a straight html file being processed by an html server, those commands will not work.

Webfocus reports can be called in many different ways using the url to the report. That is exactly what Tony did in the hyperlink tags. The href is set to the url used to access the report along with the parms needed to run the report. You can do the same thing by calling it with a form post or get or even using the new ajax technologies in javascript.
 
Report This Post
Expert
posted Hide Post
Good point Tim, I naturally assumed (probably incorrectly) that the embedding of the report was to be achieved via an HTMLFORM. Red Face

isjhb,

If you want to have an inline report without using the WebFOCUS reporting server as mentioned by Tim above, then you could use an IFRAME with the SRC attribute set to the URL for the report execution. e.g.
<iframe src=http://[servername]/ibi_apps/WFServlet?IBIAPP=[appname]&IBIF_ex=[fexname]..... style="......">


T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report 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     Calling a fex from a .htm document

Copyright © 1996-2020 Information Builders