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     [CLOSED] changing an enivironment setting for a users session

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] changing an enivironment setting for a users session
 Login/Join
 
Platinum Member
posted
I would like to be able to change the connection_attribute on the following command

ENGINE SQLORA SET CONNECTION_ATTRIBUTES DBNAME DB1/testsvr,C1376E053050CB78

There are four possible connections that the user can choose from each with their own connection information.

DB1
DB2
DB3
DB4

DBNAME is set in the edasprof.prf file to the default database and the metadata is created using this DBNAME. So setting the connection attribute for a users session will allow them to switch to different databases on the fly. The part that I don't know how to do is write the procedure/command that the user will run to do this, conceptually I know how to do this but being new to WF I don't know which method would be the most effective. I envision a drop down box with the various DB's listed and then the user selecting their choice and setting the connection attribute. I think what is throwing me is that there is no output that is produced once the user makes the selection. Any help would be greatly appreciated.

Trudy

This message has been edited. Last edited by: <Kathryn Henning>,


WF8
Windows
 
Posts: 117 | Registered: May 28, 2015Report This Post
Guru
posted Hide Post
Hi Trudy

We do this all the time. Usually we have a global variable (&&DBName) that we either put into an individual FEX or a user profile.

ENGINE SQLORA SET CONNECTION_ATTRIBUTES DBNAME &&DBNAME/testsvr,C1376E053050CB78

We then have a parameter on a login screen that allows the user to select the DB connection.

If you really want to you can create a FEX that simply sets the global variable and then returns a simple HTML page informing them of the change

Stu


WebFOCUS 8.2.03 (8.2.06 in testing)
 
Posts: 253 | Location: Melbourne, Australia | Registered: February 07, 2007Report 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     [CLOSED] changing an enivironment setting for a users session

Copyright © 1996-2020 Information Builders