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] IBIAPP_app Variable on Signon Page

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] IBIAPP_app Variable on Signon Page
 Login/Join
 
Silver Member
posted
I'm trying to control the application path from a dropdown list, but it seems to be ignored by the servlet. The dropdown list onchnage event copies the application name (i.e., "appName1 baseapp") to the IBIAPP_app hidden input control. Firefox/firebug shows that the correct value is getting loaded when the user makes a selection. When the form is submitted, the application path is searched rather than going directly to the appName1 application. I tried modifying the user profile to override the edasprof profile and removed the applications from the path, but then it couldn't find the procedures. If I add appName1 and appName2 into the profile, it always uses the first in the list.
Also, I reviewed Case 33542541 and verified that the site profile does not set the app path. Has anyone else run into this? FYI, we are on WF 7.6.11.

This message has been edited. Last edited by: Kerry,


Local Development Environment:
WF 7.6.10 on Vista Ultimate 64-bit Edition
Client Environments:
WF 7.1.3, 7.6.4, and 7.6.10 on various Windows Server platforms using servlet implementation over SSL
Oracle and MSSQL DBs
Output formats: HTML, PDF, Excel 2000, XML
 
Posts: 26 | Location: Tampa Bay, FL | Registered: September 30, 2008Report This Post
Expert
posted Hide Post
<html>
<head>
</head>

<body>

<form action="/ibi_apps/WFServlet" method="get" target="WebFOCUS"
  onsubmit="document.forms[0].IBIAPP_app.value = document.forms[0].ibi_app[document.forms[0].ibi_app.selectedIndex].value;">

<input type="hidden" name="IBIF_ex" value="test1">

<p>Environment:</p>

<p>
<select name="ibi_app">
  <option value="fmarian" selected="selected">Prod</option>
  <option value="test">Test</option>
</select>
</p>

<input type="hidden" name="IBIAPP_app" value="">

<input type="submit" VALUE="Submit">

</form>

</body>

</html>

Works for me. Try onsubmit instead of onchange...


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
Do you even need the onsubmit event.

Can you just change the select objects name to IBIAPP_app.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Expert
posted Hide Post
Absolutely.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Platinum Member
posted Hide Post
Is be confusing, you say "signon page" in topic head but post suggest launch page Confused

In each case IBIAPP_app would have to be refer in called prog to be useful. In signon page this is not be case but launch page OK.

Please be clear.

Kofi


Client Server 8.1.05: Apache; Tomcat;Windows Server 2012
Reporting Server 8.1.05; Oracle; MS SQL; Windows Server 2012
 
Posts: 106 | Registered: April 06, 2009Report This Post
Silver Member
posted Hide Post
Yes, you are correct... This issue is with a signon page, and the responses refer to a launch page (thanks for the responses... I am using the info for testing). The concept of controlling the application path using the IBIAPP_app variable is the same though. The signon process is:

* User authenticates using signon page (POST method)
* WF_Signon_Message forwards to a FEX to store a variable
* FEX pulls up the HTML home page using HTMLFORM.

Once I set the IBIAPP_app value in the signon page, and the FEX is in that path, will that application be searched first for the home page by default?


Local Development Environment:
WF 7.6.10 on Vista Ultimate 64-bit Edition
Client Environments:
WF 7.1.3, 7.6.4, and 7.6.10 on various Windows Server platforms using servlet implementation over SSL
Oracle and MSSQL DBs
Output formats: HTML, PDF, Excel 2000, XML
 
Posts: 26 | Location: Tampa Bay, FL | Registered: September 30, 2008Report This Post
Expert
posted Hide Post
Sorry about that DVZ!

I think the IBIAPP_app form variable does not get passed from a login screen WF_SIGNON action. Here's an example where I use JavaScript to build the WF_SIGNON_MESSAGE based on the selected app:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Test</TITLE>

<script language="JavaScript">

function fnLogin()
{
document.frmLogin.WF_SIGNON_MESSAGE.value =
  document.frmLogin.action +
  '?IBIF_focexec=' + document.frmLogin.IBIF_focexec.value +
  '&IBIAPP_app='   + document.frmLogin.IBIAPP_app[document.frmLogin.IBIAPP_app.selectedIndex].value;
}
</script>

</HEAD>

<body>

<form name="frmLogin" method="post" action="/ibi_apps/WFServlet" onSubmit="return fnLogin();">

<input TYPE="hidden" name="IBIWF_action"      value="WF_SIGNON">
<input TYPE="hidden" name="IBIF_focexec"      value="test1">
<input TYPE="hidden" name="WF_SIGNON_MESSAGE" value="">
<input TYPE="hidden" name="RNDM"              value="">

<input type="hidden" name="IBIF_ex" value="test1">

<p>Environment:</p>

<p>
<select name="IBIAPP_app">
  <option value="fmarian" selected="selected">Prod</option>
  <option value="test">Test</option>
</select>
</p>

<input type="submit" VALUE="Submit">

</form>

</body>

</html>


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Silver Member
posted Hide Post
Sorry it took so long for me to reply... I got pulled into a different project. Appending the IBIAPP_app parameter to the WF_SIGNON_MESSAGE value worked perfectly. Thank you Francis!


Local Development Environment:
WF 7.6.10 on Vista Ultimate 64-bit Edition
Client Environments:
WF 7.1.3, 7.6.4, and 7.6.10 on various Windows Server platforms using servlet implementation over SSL
Oracle and MSSQL DBs
Output formats: HTML, PDF, Excel 2000, XML
 
Posts: 26 | Location: Tampa Bay, FL | Registered: September 30, 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     [CLOSED] IBIAPP_app Variable on Signon Page

Copyright © 1996-2020 Information Builders