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. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


Connect to myibi
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] How to launch a portal with parameters or &variables

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] How to launch a portal with parameters or &variables
 Login/Join
 
Member
posted
Hello
I would like to know if it is possible to open a portal with parameters or &variables.
This is, as the same way when a FEX/HTML file is run it with &variables.
The idea is not use SSO but open a WFocus session from other external applications, via a URL sentence with a generic user with credentials in WFServer ([server]/ibi_apps/rs/ibfs?IBIRS_action=signOn&IBIRS_userName=xxxxx&IBIRS_password=xxxx) and after that opening a portal with one specific role defined by that external application.
I have directly tested and URL like: [server]/ibi_apps/bip/portal/[portal_name]&Role=value, but it doesn't work and I don't know if it is necessary configure some other parameters or simply, it is not possible to do this way.
Regards
Oscar

This message has been edited. Last edited by: FP Mod Chuck,


WF 8.105
 
Posts: 14 | Registered: February 14, 2017Report This Post
Virtuoso
posted Hide Post
By default, you cannot pass a parameter to a portal. There is a configuration file that has to manually edited that will allow you to name the variable(s), and define what URL path that the variable(s) can be used with.

Open a case with tech support and they can walk you through it.


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
 
Posts: 1102 | Location: Toronto, Ontario | Registered: May 26, 2004Report This Post
Member
posted Hide Post
Thank you dhagen !


WF 8.105
 
Posts: 14 | Registered: February 14, 2017Report This Post
Virtuoso
posted Hide Post
In case it takes a while, the file is:

WebFOCUS82/config/uri-parameter-validation-override.cfg

For your parameter, add the line:
orclass,Role,/bip,BOTH,com.ibi.valuevalidation.validators.TrueValidator


This allows the parameter "Role" to be passed for BOTH (GET and POST) for the /bip path.

Your URL would look like:
[server]/ibi_apps/bip/portal/[portal_name]?Role=value  


Good luck.


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
 
Posts: 1102 | Location: Toronto, Ontario | Registered: May 26, 2004Report This Post
Master
posted Hide Post
Thanks dhagen!

At the moment when I open up '...\WebFOCUS81\configuri-parameter-validation-override.cfg' in a text editor I see:
# Copyright 1996-2014 Information Builders, Inc. All rights reserved. */
# $Revision: 1.2 $: 
#
# This file is used to override WebFOCUS product validation rules.
# Do not edit this file, without direction from Information Builders 
# Customer Support Services.   

So yes, I'll be sure to open a case, before we attempt to add a parameter.




Pilot: WebFOCUS 8.2.06 Test: WebFOCUS 8.1.05M Prod: WebFOCUS 8.1.05M Server: Windows Server 2016/Tomcat Standalone Workstation: Windows 10/IE11+Edge Database: Oracle 12c, Netezza, & MS SQL Server 2019 Output: AHTML/XLSX/HTML/PDF/JSCHART Tools: WFDS, Repository Content, BI Portal Designer & ReportCaster
 
Posts: 822 | Registered: April 23, 2003Report This Post
Member
posted Hide Post
Thank you very much to both


WF 8.105
 
Posts: 14 | Registered: February 14, 2017Report 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     [SOLVED] How to launch a portal with parameters or &variables

Copyright © 1996-2020 Information Builders