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     HTML link to MRE report?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
HTML link to MRE report?
 Login/Join
 
Master
posted
I've written a simple html href to link to one of my MRE reports as follows...

A HREF="/cgi-bin/ibi_cgi/ibiweb.exe?IBIF_ex=app/wcqrgj18.fex" mmtest /A

(the < and > have been removed so this post will render properly)

I'm getting this error:
(FOC227) THE FOCEXEC PROCEDURE CANNOT BE FOUND: app/wcqrgj18.fex

I've tried taking off the app/ and the .fex. Is it possible that I can't link to an MRE report for security reasons or something?


Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
 
Posts: 611 | Registered: January 04, 2007Report This Post
Master
posted Hide Post
When you call a MRE report from your HTML, you need to pass all these informations

<input type="hidden" name="IBIMR_action" value="MR_RUN_FEX">
<input type="hidden" name="IBIMR_sub_action" value="MR_STD_REPORT">
<input type="hidden" name="IBIMR_domain" value="yourdomain/yourdomain.htm">
<input type="hidden" name="IBIMR_folder" value="#yourfolder">
<input type="hidden" name="IBIC_server" value="yourserver">
<input type="hidden" name="IBIMR_fex" value="app/yourfex.fex">
<input type="hidden" name="IBIF_ex" value="app/yourfex.fex">
<input type="hidden" name="IBIMR_defer" value="" >
<input type="hidden" name="IBIMR_drill" value="RUNNID">

In your case you have to pass these values as parameters.

Hope it helps,


WFConsultant

WF 8105M on Win7/Tomcat
 
Posts: 780 | Location: Florida | Registered: January 09, 2005Report This Post
Expert
posted Hide Post
In an MRE HTML HREF, you need to specify the Domain and Standard Reports Folder. The quickest way to create the required href code is to run a report from MRE and copy-paste the report window's URL. Here's an MRE call:

http://gfnotoeiprod/ibi_apps/WFServlet?IBIMR_action=MR_RUN_FEX&IBIMR_sub_action=MR_STD_REPORT&IBIMR_fex=app%2fbid1%2efex&IBIMR_folder=%23testyrsaxhlg&IBIMR_domain=francism%2ffrancism%2ehtm&IBIMR_Random=4%2b%2d5411243135710966619&

or

http://gfnotoeiprod/ibi_apps/WFServlet?IBIMR_action=MR_RUN_FEX&IBIMR_sub_action=MR_STD_REPORT&IBIMR_fex=app/bid1.fex&IBIMR_folder=#testyrsaxhlg&IBIMR_domain=francism\francism.htm


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
Master
posted Hide Post
thank you for the replies!

Following Francis's recommendation, I've run a report from my MRE but the URL is always
http://svr99rvi/ibi_apps/WFServlet

Everything after the ? seems to not be there. Is there some sort of method to see the full URL that you're talking about?


Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
 
Posts: 611 | Registered: January 04, 2007Report This Post
Virtuoso
posted Hide Post
Here's the inside trick --

Go to the report you want to call in MRE, right-click on it, and select the Publish option.

Click on the Show As Report button, give it a name and click OK.

The new html file will include a line that says (form . . . method='post') Change that method parameter to method='get'.

Save, and then run that published html file.

When you click on the Submit button, your report will appear.

All your required variables will magically appear in the url string.

J.



 
Posts: 1012 | Location: At the Mast | Registered: May 17, 2007Report This Post
Expert
posted Hide Post
My example is using servlet. Is your server set for servlet or CGI?

Did you run an MRE report and copy the link?


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
Master
posted Hide Post
This is GREAT!
Thanks Francis and John.

Someone should sticky that trick, it's going to come in handy for more than just this for me. A querystring can really help debug things.

Is there any way to pass a username using this method? We're being prompted for MR security.

Thanks again!


Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
 
Posts: 611 | Registered: January 04, 2007Report This Post
Platinum Member
posted Hide Post
Hi John_Edwards,

I don't see the Publish option? Is this option version specific?

Thanks,
Dan


Dev: WebFOCUS 7.6.10, Data Migrator 7.6.10
QA: WebFOCUS 7.6.10, Data Migrator 7.6.10
Prod: WebFOCUS 7.6.2, Data Migrator 7.6.8
Windows 2K3, Tomcat 5.5.17, IIS 6
Usage: HTML, PDF, Excel, Self-serve, BID and MRE
 
Posts: 197 | Location: Roseville, CA | Registered: January 24, 2005Report 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     HTML link to MRE report?

Copyright © 1996-2020 Information Builders