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     IBIC_user cookie and Maintain

Read-Only Read-Only Topic
Go
Search
Notify
Tools
IBIC_user cookie and Maintain
 Login/Join
 
Member
posted
I'm looking for a way to pass the &IBIC_user cookie value to a maintain application as an input parameter. Using self serve WF applications as a starting point.

WF 7.1.4


K Mann
WF 7.1.4 Win
 
Posts: 25 | Location: NY | Registered: October 16, 2003Report This Post
Master
posted Hide Post
Kim
From inside a Maintain procedure, all you need to do to get the IBIC_user value is:

Compute User/A8 = IWC.GetAppCGIValue("IBIC_user");

Of course, your variable name and format may vary. You can get any WebFOCUS System variable, that is stored in the cookie, that way.

Mark Derwin
 
Posts: 663 | Location: New York | Registered: May 08, 2003Report This Post
Member
posted Hide Post
Thanks, that worked.

Another question relating to launching a maintain app from a WF launch page (html).

I'm using this link:

**Test** Edit Submitted Forms )

Which works. When I exit the maintain using a
button click event:

Case OnButtonExit_Click
self.WinClose();
self.WinExit();
EndCase

I get a WF error mesasge when I try to go back to the maintain app:
(FOC03847) RESUME: Application previously closed (no context).

Is there a configuration issue on our reporting server or am I missing something in launching and exiting the maintain app?

Thanks.


K Mann
WF 7.1.4 Win
 
Posts: 25 | Location: NY | Registered: October 16, 2003Report This Post
Master
posted Hide Post
This is due to a caching issue that can be fixed in two ways. The first is to add a time stamp to the HTML code:
var today = new Date();
and then add: + today.getTime();
to the end of your HTML.

Another way is to set “EXPIRE_REPORTS=1” in CGIVARS.WFS.

Mark Derwin
 
Posts: 663 | Location: New York | Registered: May 08, 2003Report This Post
Member
posted Hide Post
Mark,

Thanks, that solved a part of my problem. I'm back at the launch page, start the maintain app again, maintain window opens at the last session. Have to refresh the page using browser refresh to get the maintain app to load with fresh data. I've closed and re-opened the browser, same effect. Is this a WF Server/Client issue where it is not releasing the maintain session?

Using IE 6.0
WF on win 2000


K Mann
WF 7.1.4 Win
 
Posts: 25 | Location: NY | Registered: October 16, 2003Report This Post
Master
posted Hide Post
How are you exiting the Maintain application? Do you have an Exit button with either Self.WinExit() or Goto Exit, or are you just click on the X? It is always good to exit out of a Maintain application. Running the Maintain application with the Time Stamp should stop all caching. Make sure you are seeing the time stamp in the URL.

Mark
 
Posts: 663 | Location: New York | Registered: May 08, 2003Report This Post
Member
posted Hide Post
Using an exit button with "self.WinExit();" on the button click event.
I'm not sure what you mean by running the maintain app with the time stamp?

This is the url for calling the maintain app:

webserver/ibi_apps/WFServlet?IBIF_cmd=MNTCON%20EX%20FSEForm%20IBIS_passthru=on&IBIS_connect=on&IBIAPP_app=form_scan_maintain%20maintain%20baseapp&IBIC_server=EDASERVE


K Mann
WF 7.1.4 Win
 
Posts: 25 | Location: NY | Registered: October 16, 2003Report This Post
Master
posted Hide Post
In order to get around caching issues when we perform the Maintain procedure, we include a timestamp or random number. This ensures that the page is always displayed refreshed. Instead of using a URL, use the following code to launch the application:

  
<html>
<script language="JavaScript">
function Launch()
{
   randomNum = Math.random();
   sURL = "/ibi_apps/WFServlet?IBIF_cmd=MNTCON+EX+FSEForm&IBIS_passthru=on&IBIS_connect=on&IBIAPP_app=form_scan_maintain%20maintain%20baseapp&IBIC_server=EDASERVE&num=" + randomNum;
   window.open(sURL, "_self");

</script>

<form action="/ibi_apps/WFServlet" method="POST" name="starter">
<a href = "java_script:Launch[);" > Update Data</a>
</form>
</html>



Also, upon EXIT, if you want to return to your launch page, place the following line of code in the Maintain application:

compute document.referer = 'http://servername/approot/apppath/href.htm';

Where servername is the name of the server and apppath is the name of the application.

Mark

This message has been edited. Last edited by: Maintain Wizard,
 
Posts: 663 | Location: New York | Registered: May 08, 2003Report 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     IBIC_user cookie and Maintain

Copyright © 1996-2020 Information Builders