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     [WORKAROUND] Specify Parameter Values in Synonym?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[WORKAROUND] Specify Parameter Values in Synonym?
 Login/Join
 
Guru
posted
Hi,

I have a datasource with many thousands of records but only a handful of unique values for a specific parameter. When I create an HTML launch page I can either code the individual choices or tell it to dynamically populate. If I set it to dynamically populate it takes a while for WebFOCUS to find the unique values to return.

Is there a way to code this list into the synonym?

My concern is for the users who are creating their own reports with Report Assistant. I don't want to have to tell them to use a separate 'lookup' data source for creating parameters but if they use the original data source it takes a long time for their lists to populate.

I'm sure some of you out there have found a way to address this. If you'd be willing to share your concepts with me I'd be very thankful!

Regards,

Dan Pinault

This message has been edited. Last edited by: Dan Pinault,


7.7.05M/7.7.03 HF6 on Windows Server 2003 SP2 output to whatever is required.
 
Posts: 393 | Location: St. Paul, MN | Registered: November 06, 2007Report This Post
Master
posted Hide Post
Dan

Ideally you would expect RA to take ACCEPT attribute ahead of searching the whole file but it doesn't.

RA needs to change but prob will stay static as other stuff comes to the fore.

John



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
Virtuoso
posted Hide Post
Dan,
What is your data source?
If it is something that you can change, can you make it a Focus file? If so, you could build a hierarchy with your parameter as the root segment and the rest of the data in a child segment. You root segment would then only occupy a block of data and retrieval of the field would be immediate.


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
Guru
posted Hide Post
John - Yes, I was hoping that I could make use of the ACCEPT attribute in the synonym but, as you said, that doesn't do it. I think I'll submit a New Feature Request just to get it on record.

Daniel - My data source is MS SQL.

I guess I'll have to stick with the method of creating a small 'lookup' table and train my users to use that.

Thanks for your input!

Dan


7.7.05M/7.7.03 HF6 on Windows Server 2003 SP2 output to whatever is required.
 
Posts: 393 | Location: St. Paul, MN | Registered: November 06, 2007Report This Post
Gold member
posted Hide Post
It sounds like the real problem, underlying Dan's problem, is way too much redundant data in the data source ?

It seems that reading thousands of records to get a handful uses a lot of resources for little result.

If it is possible, can you (or your DBA) segregate the 'handful of unique values' for that parameter into its own segment ?

That sounds like it would save a lot of time since no one would have to write special code to extract the unique values ?

If it's something you can change, then yes, you'll have to code around it. Maybe write a function that extracts the unique values and put it in a library for future developers who will work on this data source ?


WF 7.6.4 & 5.3
Charles Lee
 
Posts: 93 | Registered: June 17, 2008Report 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     [WORKAROUND] Specify Parameter Values in Synonym?

Copyright © 1996-2020 Information Builders