Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
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
Go
New
Search
Notify
Tools
Reply
  
[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, 2017Reply With QuoteReport 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: 1101 | Location: Toronto, Ontario | Registered: May 26, 2004Reply With QuoteReport This Post
Member
posted Hide Post
Thank you dhagen !


WF 8.105
 
Posts: 14 | Registered: February 14, 2017Reply With QuoteReport 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: 1101 | Location: Toronto, Ontario | Registered: May 26, 2004Reply With QuoteReport 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.




Test: WebFOCUS 8.1.05M Prod: WebFOCUS 8.1.05M Server: Windows Server 2012/Tomcat Standalone Workstation: Windows 7/IE 11 Database: Oracle 12c/Netezza Output: AHTML/XLSX/HTML/PDF/JSCHART Tools: WFDS, Repository Content, BI Portal Designer, & ReportCaster

 
Posts: 780 | Registered: April 23, 2003Reply With QuoteReport This Post
Member
posted Hide Post
Thank you very much to both


WF 8.105
 
Posts: 14 | Registered: February 14, 2017Reply With QuoteReport This Post
  Powered by Social Strata  
 

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-2018 Information Builders, leaders in enterprise business intelligence.