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     Is it possible to change the value of the Global variable in FEX.

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Is it possible to change the value of the Global variable in FEX.
 Login/Join
 
Member
posted
I have created a global variable in EDASPROF file is it possible to change the value through my FEX?
 
Posts: 23 | Registered: April 20, 2007Report This Post
Master
posted Hide Post
YES

  
-SET &&_____ = ______;




Scott

 
Posts: 865 | Registered: May 24, 2004Report This Post
Member
posted Hide Post
Yeah you are right but after i set the new value the change is not reflecting in the other FEX's
 
Posts: 23 | Registered: April 20, 2007Report This Post
Virtuoso
posted Hide Post
kummy,

A couple of thoughts.

1) Make sure your GLOBAL variable has two '&' signs (&&). A single & is not a global variable. It is a local variable.

2) Global varialbes still only exist for the duration of the session on the WebFOCUS server. If you are returning to the browser and then the user submits another request, that is considered a whole new session and therefore everything starts over.


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Report This Post
Master
posted Hide Post
You are correct the change is only for that session. how about this. In the edasprof.prf move the variable that you want to change to a focexec. then in the focexec that you want to change the variable use a filedef and dialog manager -WRITE to set to replace the focexec. you could also use a table request that read the variable from a DBMS and then in the focexec update the table with the new value.




Scott

 
Posts: 865 | Registered: May 24, 2004Report This Post
Guru
posted Hide Post
Try this setting in the WebFOCUS Administration Client Console:

IBIF_persistentamp

Turns on the persistent && feature. By default, this is set to YES. To disable, set to NO. The persistent && feature allows you to persist && variables for the duration of the browser session.


ttfn, kp


Access to most releases from R52x, on multiple platforms.
 
Posts: 346 | Location: Melbourne Australia | Registered: April 15, 2003Report This Post
Virtuoso
posted Hide Post
Also be aware that for persistentamp to work, cookies must be enabled. A cookie called WF_AMPERFILE is created in the browser pointing to a file in the WebFOCUS temp directory.


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | 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     Is it possible to change the value of the Global variable in FEX.

Copyright © 1996-2020 Information Builders