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
Includes
 Login/Join
 
Guru
posted
Can you store an inlcude where it is available to all Domains?


Glenda

In FOCUS Since 1990
Production 8.2 Windows
 
Posts: 301 | Location: Galveston, Texas | Registered: July 07, 2004Report This Post
Member
posted Hide Post
Glenda,
There are 2 ways you can accomplish this:
1. place the fex on the reporting server. Note you will need to use SET FOCEXURL to accomplish this
2. In 713 and up, you have the ability to -INCLUDE across Domains
 
Posts: 5 | Registered: December 06, 2006Report This Post
Platinum Member
posted Hide Post
Posted August 10, 2007 09:07 AM Hide Post
Several ways:
1) Put it into '.../ibi/apps/baseapp/' which is in the default path (APP PATH) for all MRE and RCaster users. This default user is often named 'EDA',
2) Put it into a directory of your choice inside '.../ibi/apps/' then include that folder in the APP PATH of any user-specific profiles that need to use the application. Also include it into the default user (EDA) if it is to be available to MRE users, and into any RCaster user profiles of users that will be submitting scheduled jobs needing the included objects. You can name this folder inside '.../ibi/apps' whatever you like, but something related to the application would be better. We have a whole series of such libraries inside '.../ibi/apps/', each related to business application and containg all files related thereto, and a 'PUBLIC' folder for things shared by multiple applications.
3) If you're not using APPATH, then include the fully qualified path to the
chosen '.../ibi/apps' location in the EDAPATH variable mentioned in EDASPROF.prf ('.../ibi/srv###/wfs/etc/edasprf.prf').


WIN/2K running WF 7.6.4
Development via DevStudio 7.6.4, MRE, TextEditor.
Data is Oracle, MS-SQL.
 
Posts: 154 | Location: NY | Registered: October 27, 2005Report This Post
Master
posted Hide Post
this works even on distributed environments

in EDASPROF: -SET &&INCLUDE='-INCLUDE' ;

then in your fex &&INCLUDE.EVAL MYINCLUDE

MYINCLUDE can be anywhere in APP PATH on server.



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
Guru
posted Hide Post
John,

Your solution works like a charm. Thanks ever so much.

Glenda


Glenda

In FOCUS Since 1990
Production 8.2 Windows
 
Posts: 301 | Location: Galveston, Texas | Registered: July 07, 2004Report This Post
Expert
posted Hide Post
John, very interesting. I imagine you're pulling the wool over MRE's eyes, but exactly is happening here? Wouldn't -INCLUDE MYINCLUDE work the same way?


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
Platinum Member
posted Hide Post
a -INCLUDE in mre expects to find the included file in MRE (unless it is in a -MRNOEDIT block).

The simplist way is to create a common domain called something like CommonDM (needs to be 8 characters or longer) and then the the calling mre fex simply does -INCLUDE commondm/app/general.fex


Brian Suter
VP WebFOCUS Product Development
 
Posts: 200 | Location: NYC | Registered: January 02, 2007Report This Post
Platinum Member
posted Hide Post
I did not quite say that right. The domain name does not have to be 8 characters. But the -INCLUDE must use the 8 character domain name you can see by looking at the properties of the domain.


Brian Suter
VP WebFOCUS Product Development
 
Posts: 200 | Location: NYC | Registered: January 02, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders