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     [Solved] How to reference a fex in MRE

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[Solved] How to reference a fex in MRE
 Login/Join
 
Member
posted
Hi guys,

I read lots of posts about this on the forum but I still can't do this. I need reference a fex in MRE and I can't find the correct way to do this. On EDASERVE it was very simple:

   
<INPUT TYPE=HIDDEN NAME="IBIF_ex" VALUE="at_tratamentos_registros_datatable">
<INPUT TYPE=HIDDEN NAME="IBIAPP_app" VALUE="cnisgestao_suporte">


But on MRE I don't know how to do. Reading the forum posts I found that I have to pass the following:

<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="cnisgestao_suporte/cnisgestao_suporte.htm">
<input type="hidden" name="IBIMR_folder" value="#std_reports">
<input type="hidden" name="IBIC_server" value="v121d007">
<input type="hidden" name="IBIMR_fex" value="app/at_tratamentos_registros_datatable.fex">
<input type="hidden" name="IBIF_ex" value="app/at_tratamentos_registros_datatable.fex">
<input type="hidden" name="IBIMR_defer" value="" >
<input type="hidden" name="IBIMR_drill" value="RUNNID">


But I think I'm passing the wrong values on these parameters because when I run this .fex I get the error:

Error occurred. 
ERROR: MR_UNKNOWN_ERROR Item does not exist IBFS:/WFC/cnisgestao_suporte|app|at_tratamentos_registros_datatable.fex 


I think this final URL should be like: IBFS:/WFC/Repository/cnisgestao_suporte/std_reports/at_tratamentos_registros_datatable.fex. But I tried plenty of ways to pass these values on the HTML form and never reached this result. I think it's very strange those pipes ('|') instead of slashes ('/') too.

Using the Developer Studio, right click on the fex that I want to reference (properties) give me the following full path:

IBFS:/desenvolvimento/WFC/Repository/cnisgestao_suporte/std_reports/at_tratamentos_registros_datatable


Could someone help me? =]

This message has been edited. Last edited by: flavio.menezes,


WebFOCUS 8.0.02 - Windows 7
 
Posts: 12 | Location: Brazil | Registered: July 31, 2013Report This Post
Master
posted Hide Post
Perhaps check the value you are setting for IBIMR_domain.

Per the 'WebFOCUS API Developer's Reference':
quote:
Required. The domain href is normally in the
form of an eight character domain directory
name, a slash, and an eight character
domain file name followed by an extension
(for example, domainon/domainon.htm or
untitled/untitled.htm).
Check the properties of the domain folder and you should see the value for 'Href'.
 
Posts: 822 | Registered: April 23, 2003Report This Post
Member
posted Hide Post
Using the Developer Studio, right click on the domain folder (properties) give me the following: http://img138.imageshack.us/img138/9740/4kih.jpg

I can't see the eight character domain directory name. =/

Everywhere is 'cnisgestao_suporte' as I wrote in the code.

Is there another way to get the eight character domain directory name?


WebFOCUS 8.0.02 - Windows 7
 
Posts: 12 | Location: Brazil | Registered: July 31, 2013Report This Post
Gold member
posted Hide Post
quote:
8.0.02


Flavio, did you solve this?


WF 8005 MRE BID RCaster DevStu PMF 5.3.1 Hotfix 5
XP Oracle.
 
Posts: 55 | Location: UK-London | Registered: January 27, 2005Report This Post
Expert
posted Hide Post
Stuey,

What problems are you having?

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
Member
posted Hide Post
quote:
Originally posted by stuey:
quote:
8.0.02


Flavio, did you solve this?


No, Stuey. I'm still having the same problem. I put the fex on EDASERVE so I can reference it. But I am not happy with this solution. =/


WebFOCUS 8.0.02 - Windows 7
 
Posts: 12 | Location: Brazil | Registered: July 31, 2013Report This Post
Expert
posted Hide Post
If you just require the URL then the folowing should suffice -
http://[server][:port]/ibi_apps/WFServlet?IBIMR_domain=[domainref]&IBIMR_folder=[folderref]&IBIMR_action=MR_RUN_FEX&IBIMR_subaction=MR_STD_REPORT&IBIMR_fex=app/[fexname].fex

Where the refs should be able to be seen when hovering the mouse pointer over the relevant component in Dev Studio view.

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
Member
posted Hide Post
Hi guys,

It's possible to make the reference like this:

quote:


WebFOCUS 8.0.02 - Windows 7
 
Posts: 12 | Location: Brazil | Registered: July 31, 2013Report This Post
Expert
posted Hide Post
flavio, did you try just running the fex, from MRE, and then copying the entire string from your browser's address bar?
seems the easiest way to get the syntax correct.
Sure, you can write a link to appear any way you want...but that's just HTML basic.
<a href='...whatever' >my fex</a>

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




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
<MLerner>
posted
Flavio,
The best way to do this is using the REST API. See the doc services site for details. Note: This does require a license.

Now you can make straight servlet calls, but I would not use the views.bip URL example you provide as that can change between realizes. The same could happen with regular servlet calls, but is less likely. The REST license is getting you documentation and a guarantee that the calls will continue to work when you upgrade.
 
Report 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     [Solved] How to reference a fex in MRE

Copyright © 1996-2020 Information Builders