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     drill into edaserve from a report?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
drill into edaserve from a report?
 Login/Join
 
Master
posted
I have an MRE report that when I use the GUI to add a drilldown, it doesn't allow me to go to the edaserve environment.

I figured I'd try coding it in myself, but it doesn't work.

here's the code.
TYPE=DATA,
COLUMN=ITEM_DESCRIPTION,
TARGET='_blank',
FOCEXEC=app/lineitemdetail.fex(ORDER_NUM=ORDER_NUM ITEM_DESC=ITEM_DESCRIPTION),
$


Here's the error.
Error occurred.
ERROR: ERROR_MR_FEX_NOT_FOUND Can't create item object based on provided item key app/lineitemdetail.fex.

does this mean it can't find it? It's in my edaserve under a folder called "Drills", but I tried making it app/drills/lineitemdetail.fex and that didn't work either.

Thanks!


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
Expert
posted Hide Post
Change your drill to look like this:

FOCEXEC=lineitemdetail(ORDER_NUM=ORDER_NUM ITEM_DESC=ITEM_DESCRIPTION IBIAPP_app=Drills),
  


That way the server will know where to find the focexec.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Master
posted Hide Post
we've changed it to
TYPE=DATA,
COLUMN=ITEM_DESCRIPTION,
TARGET='_blank',
FOCEXEC=lineitemdetail(ORDER_NUM=ORDER_NUM ITEM_DESC=ITEM_DESCRIPTION IBIAPP_app=Drills),
$


now we're getting...
Error occurred.
ERROR: ERROR_MR_FEX_NOT_FOUND Can't create item object based on provided item key lineitemdetail.fex.


?


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
Expert
posted Hide Post
Try putting in an explicit URL for your drill syntax. Looks like it is trying to go to MRE and you need to force it out of MRe.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Master
posted Hide Post
I'm not sure what you mean GinnyJakes.
could you provide me an example of how this works with dynamic data?

I'm passing order_num and item_desc to the fex.


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
by default, devstudio will only create a fexname up to 8 characters long. How are you getting a fex called lineitemdetail.fex? You may want to check the properties of the fex and see what the actual fexname is as opposed to what is displayed in DS.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Guru
posted Hide Post
To add to what Darin said, if this .fex was created in MRE and then deployed/moved, then the actual name may have no relay=tion to what you thin kthe .fex is calle. MRE creates it's own algorithmic name.


WF 7.6.11
Oracle
WebSphere
Windows NT-5.2 x86 32bit
 
Posts: 398 | Registered: February 04, 2008Report This Post
Expert
posted Hide Post
Jason is trying to call a focexec outside of the MRE environment. Those names can be longer than 8 characters.

Jason, try this. I did this in the Report Painter. I put the basic URL in the URL box and then added the parms in the parameter box.

This is the generated stylesheet syntax.
TYPE=DATA,
     COLUMN=N1,
     TARGET='_blank',
     URL=//wfprd/ibi_apps/WFServlet?(IBIF_ex='carsaledtl' COUNTRY=N1 CAR=N2 IBIAPP_app='c758760'),$


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Master
posted Hide Post
we are on 7.6.4. only the stuff we created prior to the upgrade is 8 chars or less. I'm not sure if this is a setting we found and allowed or what exactly.

GinnyJakes: It's working using your example.

Thank you for your help!


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
Expert
posted Hide Post
jason, would you answer a question for me...
is your host fex in the same mre domain as the drilldown fex?
or, as ginny says , is your drilldown fex somewhere else entirely..

Ginny, what is 'c768760' in your code. Is that an mRE domain directory? or a dir under ibi\apps\ ?

[btw, i'mm in mre764 and i have fexnames longer than 8 chars all over the place.}




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
Expert
posted Hide Post
Susannah,

It is a directory under ibi/apps. We use our userids to name our development directories.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Expert
posted Hide Post
Jason,

You have to remember how the two distinct environments are structured.

Within MRE all the fexes are held in individual folders under (i.e. 7.6) [drive:/][install directory]/ibi/apps/webfocus76/basedir. Each sub folder relates to a user or a domain within MRE and the domain folders will generally have three subfolders themselves. App, Import and MRV. App is where the MRE fexes live, Import is used for (yes, you guessed it) importing files (fexes, .mas, .acx etc.). The basedir folder resides on the Client Server install which can be a completely different machine to the Reporting server.

For your Apps folders (don't confuse these with the above), you have to look to the Reporting Server under the ibi/apps directory. There will be folders under apps that relate to folder names that you might include in your APP PATH. The folders that you see within DS under Data Servers, are virtual and only exist as a filter list, not a physical folder.

When you are in MRE, any drilldown that you code would normally have app/ prefix, and this can be a good method of identifying it as such. So for your first error, you needed to have a fex in the same (generally) "app" folder.

If you want to specify a fex within one of your RS "app" folders, then you need syntax such as that Ginny gave you. However, you have to understand how you are referencing the RS "app" folder and file. This is where Ginny's mention of the IBIAPP_app value of "drills". IBIAPP_app identifys the "app" folder on your Reporting Server where your drilldown fex exists. When you copied Ginny's code, you probably just copied it and hoped it would work, but it would only work if you had the app folder called "drills".

So, your second attempt to drilldown really needed this -
TYPE=DATA,
COLUMN=ITEM_DESCRIPTION,
TARGET='_blank',
FOCEXEC=lineitemdetail(ORDER_NUM=ORDER_NUM ITEM_DESC=ITEM_DESCRIPTION IBIAPP_app=[app folder on your reporting server where lineitemdetail.fex exists]),
$

Hope that helps?

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
Expert
posted Hide Post
aha! ginny, what a good idea!




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
Expert
posted Hide Post
Unfortunately, as per hammo1j's posting Is there an Easy way to Drilldown to Application .fex from MRE launched fex? Developer Studio does not allow you to link to a self service fex from an MRE drilldown. It appears the only way to do that is to use the URL method that Ginny suggested or to call a JavaScript function.


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
Please see here for a potential solution:
Is there an Easy way to Drilldown to Application .fex from MRE launched fex?


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
Jason

I think I have something reasonably practical now.

You code a stub on MRE to launch the application and then switch context to the application using EXEC.

See the above link.



Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2
Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
 
Posts: 888 | Location: Airstrip One | Registered: October 06, 2006Report 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     drill into edaserve from a report?

Copyright © 1996-2020 Information Builders