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] Moving synonyms and effects on reports

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Moving synonyms and effects on reports
 Login/Join
 
Member
posted
How do you move a synonym and have any reports or charts redirected to where the synonym has moved to?

After our first round of content, we found out that our application folder layout was not the most efficient or understandable. We want to move the synonyms to a new folder structure, but we cannot figure out how to change a report or chart to use the new folder. Is there any way to accomplish this?

Thanks.

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS - 8.2
Data Migrator - 8.2
 
Posts: 3 | Location: Upstate New York | Registered: April 04, 2017Report This Post
Virtuoso
posted Hide Post
Make sure if you have any APP PATH commands in the code, they contain the new location.

Change Reporting Server Application Directory list to include the new location.


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Virtuoso
posted Hide Post
As BabakNYC mentioned, unless you have hard coded APP PATH or APP PREPENDPATH, Focus will use the application path set in Reporting Server so you may not have to do anything special.

The way Focus work is to read the application path (folders) from RS in the order they are entered until he finds the (first occurrence) master name that match the TABLE FILE XYZ per example.
The above is true except if you have coded
SET APP PATH mynewpath
TABLE FILE XYZ
...

SET PREPENDPATH mynewpath
TABLE FILE XYZ
...

TABLE FILE mynewpath/XYZ
...

In the above cases, file XYZ will be retrieve from mynewpath.


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Member
posted Hide Post
Thank you for your response.

If I understand, if there is no application path defined, it will follow what is in the Reporting Server. If you want to override or direct to specific path, then you should hard code it.

This brings up a couple of questions. If there are 2 synonyms with the same name test.mas in 2 different folders with the different names, folder abc and folder def, which one would it use?

If it just goes through the order they are entered, is that the order they are created or an alphabetic order, which would need to take into account the recursive nature of sub folders?

The concern I have is whether to always hardcode the path to avoid a future maintenance issue when new synonyms are created.


WebFOCUS - 8.2
Data Migrator - 8.2
 
Posts: 3 | Location: Upstate New York | Registered: April 04, 2017Report This Post
Virtuoso
posted Hide Post
I make my greatest effort not to have duplicate synonyms. This obviates the need for issuing explicit APP PATH or PREPENDPATH commands. Especially in a production environment you're really creating extra work by maintaining multiple versions of the same synonym.

In QA or DEV, multiple copies are often unavoidable. In those situations, I issue APP PATH commands instead of depending on the default order.

Is there a specific reason why you'd want to keep multiple copies of the same synonym?


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Virtuoso
posted Hide Post
quote:

This brings up a couple of questions. If there are 2 synonyms with the same name test.mas in 2 different folders with the different names, folder abc and folder def, which one would it use?


If your application path order is as follow and you have master file test.mas in both abc AND def :
abc
def
ghi

The test.mas master file used will be the one in abc.

If your path is as :
ghi
def
abc

The test.mas master file used will be the one in def.

quote:

If it just goes through the order they are entered, is that the order they are created or an alphabetic order, which would need to take into account the recursive nature of sub folders?


Nothing related to the creation or alphabetic order since you can order the folder the way you want.

quote:

The concern I have is whether to always hardcode the path to avoid a future maintenance issue when new synonyms are created.


My own answer : try, as most as possible, to NEVER hardcode a path unless you have no choice (or for test purposes as Babak mentioned). The RS path is way less maintenance then having to open each fex and change the path.


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Member
posted Hide Post
Thank you very much both of you. This helps me set the direction we need to take.


WebFOCUS - 8.2
Data Migrator - 8.2
 
Posts: 3 | Location: Upstate New York | Registered: April 04, 2017Report 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] Moving synonyms and effects on reports

Copyright © 1996-2020 Information Builders