How to persist URL parameters in OAM portal inserts?

Hi,
We have a requirement to redirect the users to different XSLs based on the containers configured in OID (ou=employees,ou=customers). We have configured different style directories (employees and customers) in OAM. For Identity Administration activities we are using another style (adminStyle) used by OAM Identity Administrators.
We are using OAM portal inserts for navigating from webapplication (integrated with OAM) to OAM modify profile page to change user attributes.
Also webapplication using different authenitcation scheme in OAM.
User login into webapplication using login.jsp (form based authentication scheme) and clicks on Modify profile link (URL will be portal insert URL).
After the user session timeout (Configured in webgate) user is redirected to OAM login page (form based authentication). Once the user enters valid credentials user is redirected to OAM user manager application (only navigation bar with back button is displayed).
The parameters comp=true, style=employees and program=modify are lost. Hence user not able to see OAM Modify profile page. Again user needs to click on back button (portalid) to get into Modify profile page. How to persist these parameters in the URL?
Following is the portal insert URL we are using:
http://<host>:<port>/identity/oblix/apps/userservcenter/bin/userservcenter.cgi?program=modify&uid=UserDN&style=employees&xsl=usc_profile.xsl&comp=true &portalid=webapphome
Anypointers on this is appreciated.
Thanks in advance.
Regards,
Srikanth
Edited by: Srikanth_idam on 16-Apr-2010 04:30

Hi Srikanth,
That looks like a bug (6158232) that was fixed in version 10.1.4.2 of OAM Access Server (maybe WebGate too). Are you on an earlier version?
Regards,
Colin

Similar Messages

  • How to read URL parameters of one wdp component into other WDP component?

    Dear Experts,
    Can anyone let me know how to read URL parameters of one wdp component into other WDP component?
    My requirement is i have one standard WDP component with 3 URL parameters and i needto
    read that URL parameters along with their values in my Z-WDP component.
    Thanks
    SK

    Hi Santosh,
    You can read parameters send from one WebDynpro Component to another component by adding code in "HANDLEDEFAULT" Event Handler method ( Window )of your target Web Dynpro Component.
    data: lt_parameter             type tihttpnvp,
             ls_parameter             type ihttpnvp.
    lo_api_controller ?= wd_this->wd_get_api( ).
       call method lo_api_controller->get_message_manager
         receiving
           message_manager = lo_message_manager.
       clear : ls_parameter.
       refresh : lt_parameter[].
    * Read all URL parameters
       wdevent->get_data( exporting name = if_wd_application=>all_url_parameters importing value = lt_parameter ).
    if not lt_parameter[] is initial.
         clear : ls_parameter.
         read table lt_parameter into ls_parameter index 1.
         if ls_parameter-name = 'ACTION' and
            ls_parameter-value is initial.
           lv_flag = 'X'.
           clear : lo_msg.
           lo_msg = 'Action Parameter Missing in URL Link !'.
    *         report message
           call method lo_message_manager->report_error_message
             exporting
               message_text = lo_msg.
         else.
         endif.
    Best Regards
    Priyesh Shah

  • How to read URL Parameters

    Hi All,
      How to read URL parameters in another WDA.
    Thanks in advance

    here is the sample code.
    you can write this code in HANDLEDEFAULT method of Default Window of Application being called.
      DATA:
        wa_url TYPE LINE OF tihttpnvp,
        int_url TYPE tihttpnvp.
      wdevent->get_data(
        EXPORTING
          name = if_wd_application=>all_url_parameters
        IMPORTING
          value = int_url ).

  • How to read URL Parameters in ABAP WebDynpro ?

    Hi,
    How and where (which class, method) in ABAP WebDynpro we can read URL Parameters ? I found answers for WebDynpro JAVA but nothing for ABAP.
    Thanks
    Meenal

    Hi Meenal,
    Please see a post by Sanjay Agarwal titled 'Sequencing Problem in Web Dynpro ABAP'. I believe you will find your answer there.
    Cheers,
    Rich

  • How to pull URL parameters into my Captivate 6 flash

    I want to be able to parse a parameter being passed in the URL to my Captivate video and then use it after the file is over.   e.g. a username that is picked up by another web page.  Is there an easy way to do this.
    Looking through old posts, is see using the m_MovieHandle as the area to place my flash code, but everything so far I've tried doesn't bring in the variable.   I'm kinda new to flash.
    Thanks

    Put this JavaScript code in a separate .js file.  I called mine utilities.js:
         /* Utility to get a URL Parameters as queryString object */
         var queryString = (function(a) {
              if (a == "") return {};
              var b = {};
              for (var i = 0; i < a.length; ++i)
                   var p=a[i].split('=');
                   if (p.length != 2) continue;
                   b[p[0]] = decodeURIComponent(p[1].replace(/\ /g, " "));
              return b;
         })(window.location.search.substr(1).split('&'));
         /* Utility function to Set a Captivate Variable with a URL Parameter */
          var setCpVariableWithURLParameter = function(cpUserVariableName, urlParameterName){
              /* Get the requested URL Parameter from the URLParams Object */
              var variableValue = queryString[urlParameterName];
              /* Check for HTML5 vs. SWF output */
              if (typeof window.cp==='undefined') {
                   /* We have SWF output, so Get the Captivate Object */
                   var objCp=document.getElementById('Captivate');
                   if(objCp && objCp.cpEISetValue){
                        /* Set the Captivate User variable with the JavaScript variabe, variableValue */
                        objCp.cpEISetValue('m_VarHandle.' + cpUserVariableName, variableValue);
              } else {
                   /* We have HTML5 output */
                   if(cp.vm && cp.vm.setVariableValue){
                      cp.vm.setVariableValue(cpUserVariableName, variableValue);
    Include this .js file in the header of the <ProjectName>.htm file of the swf published output by using a script tag:
    <script src="utilities.js" type="text/javascript"></script>
    Where utilities.js is at the root of the published project (where the published .swf file lives).
    Also add this script tag to the header of the HTML5 output index.html file. 
    To use the setCpVariableWithURLParameter() function, you would make this call inside of a JavaScript action in Captivate:
    setCpVariableWithURLParameter('v_Name', 'userName');
    Where 'v_Name' is the Captivate user Variable you want to set and 'userName' is the name of the URL parameter.
    Give that a try and let us know how it goes.
    Best,
    Jim Leichliter

  • How to config URL parameters dynamiclly in URL iView?

    Hi all,
    I have 2 iViews, iView1 is a WD application iView, iView2 is a URL iView with some URL parameters.
    Firstly I navigate from IView1 to iView2 with some parameters, then I hope to pass these parameters to the URL parameters configued in iView2.
    For example,
    <b>iView2 configuration:</b>
    URL: http://server1/app
    URL parameter name: param
    <b>Navigate from IView1 to iView2:</b>
    WDPortalNavigation.navigateAbsolute("ROLES:"+iview, WDPortalNavigationMode.SHOW_INPLACE,(String) null, (String) null, WDPortalNavigationHistoryMode.ALLOW_DUPLICATIONS,(String)null,(String) null, "value=123");
    Then how can I pass the value 123 from iView1 to the parameter 'param' in iView2?
    Best regards,
    Bean

    Hi Bean ,
    The approach you are following is correct ,refer to these links , there you can find the concept of WDportalnavigation properly,Also check for the relative navigation.
    http://help.sap.com/saphelp_nw04/helpdata/en/c3/235a428a1e9041e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c3/235a428a1e9041e10000000a1550b0/frameset.htm
    Thanx
    Pankaj

  • How to read url parameters from a decoded string

    Hi,
    Normally if I pass on a url string
    test.cfm?name=abc&num=8, I can do url.name and url.num
    to get the url parameters. But what if the url string is decoded by
    javascript escape() function? The above url string becomes
    test.cfm%3Fname%3Dabc%26num%3D8
    How can I read url.name and url.num from this string?
    Thanks!
    Min

    Escape is not really meant for urls because it encodes the
    delimiters: ? &
    http://www.w3schools.com/jsref/jsref_encodeURI.asp
    http://www.w3schools.com/jsref/jsref_encodeURIComponent.asp

  • How to encode URL parameters in pl/sql?

    How to encode url and its paramters in PL/SQL to call a page using html GET method? Is there any equiavlent method of java's URLEncoder.encode() method in pl/sql (in any web packages) ?
    Any help/pointers highly appreciated.
    P.S. : URGENT PLEASE!!!

    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:371959198986

  • How to use URL parameters in Flex?

    Hello Everyone,
    I wanted to know how can the parameters passed in a URL be used in our Flex application. I searched in the forum and tried these links:
    http://forums.adobe.com/message/217950#217950
    http://www.danvega.org/blog/index.cfm/2009/2/5/Flex-FlashVars-in-local-development
    In the second link, this is the solution provided:
       1. // if we've detected an acceptable version
       2. // embed the Flash Content SWF when all tests are passed
       3. AC_FL_RunContent(
       4.         "src", "ffManager",
       5.         "width", "100%",
       6.         "height", "100%",
       7.         "align", "middle",
       8.         "id", "ffManager",
       9.         "quality", "high",
      10.         "bgcolor", "#869ca7",
      11.         "name", "FFManager",
      12.         "allowScriptAccess","sameDomain",
      13.         "type", "application/x-shockwave-flash",
      14.         "pluginspage", "http://www.adobe.com/go/getflashplayer",
      15.         "flashvars","username=dvega"
      16. );
    private function init():void {
        // grab the username so we can track who is logged in
        [Bindable] private var:username= Application.application.parameters.username;
    But here, I am getting the hardcoded value (ie.,dvega) as the data inside my flex application. Instead I would need the dynamic data that is passed through the URL. For Ex: if I use the URL, http://172.22.41.154/MH_2.html?myName=Arush
    I need would need to use the name 'Arush' inside the application. Can you please help me on how and what part of the code is to be modified?
    Thank you,
    Warm regards,
    Deepak

    That would come within flex.
    In my case, there is a SAP CRM web application which has a push button. On click of this button, flex URL is called(ie., http://172.22.41.154/MH_Bluebook_Integration2.html). On click of that button I need to pass an Object ID, which is passed withing that flex URL, something like this:
    http://172.22.41.154/MH_Bluebook_Integration2.html?objID=abcd
    I need to receive 'abcd' in the flex. Any way we could modify the HTML wrapper to send this value to swf? 

  • How to access url parameters in query builder side

    I call a report via url and it works fine but now i want to use lexical parametrs.
    I create a lexical parameter in the report but how can i establish relation between url parametrs and lexical parametrs from report?
    Example
    URL: report1.rtf?PUser=1&PCity=2
    REPORT: P_WHERE lexical parameter
    How can i define that something like P_WHERE -> "where user=PUser and city=PCity"
    Please give me a hand, its urgent
    Thanks

    Hi,
    do this in the after paramform trigger:
    :p_where := 'where user='||PUser||' and city='||PCity;
    Regards
    Rainer

  • Web Dynpro iView - how to pass URL parameters?

    I have a Web Dynpro application that is housed in the Enterprise Portal.  We have a requirement where we need to provide an external link to the iView/Web Dynpro component - for the sake of this discussion, assume it's email.  As part of this URL link, we need to pass a parameter that will cause the Web Dynpro app to fetch some data. 
    The Web Dynpro has a startup plug parameter - call it 'id'.
    I can invoke the Web Dynpro application directly, and pass the id paramter on the URL - the application can see the parameter just fine.  However, when I try and do the same via a Roles-based URL, the parameter does not survive.  I've tried two different methods:
    http://host:port/irj/portal?NavigationTarget=ROLES://path/to/iview&id=1234
    and
    http://host:port/irj/portal?NavigationTarget=ROLES://path/to/iview!26id=1234
    neither of which work.
    is there a way to do what I'm trying to do?  Note that the 'id' paramter is dynamic - I can't code it in the Web Dynpro iView configuration.

    Hi,
    please try the following:
    http://host:port/irj/portal?NavigationTarget=ROLES://path/to/iview&DynamicParameter=<encode(id=1234)>
    The value of the DynamicParameter value must bei encoded.
    For details please have a lool to
    <a href="http://www.sap-press.de/katalog/buecher/titel/gp/titelID-1078">this</a>
    This book will be also available in English soon.
    Best regards
    Jochen

  • Read URL parameters

    Hi guys!
    Is posible read url parameters from a WD for Java?
    e.g.: http://server/webdynpro/dispatcher/local/TestApp/TestApp?SAPtestId=1&myVariable=123
    Then read value 123 from some code inside WD (controller, view, whatever).
    Thanks!

    Hi,
    You can do it, see this reference: Pass URL parameters to SAP Portal from an external application
    Best regards

  • Retrieve url parameters

    Hi All
    I need to retrieve all the parameters of the url, for example if the URL looks like
    http://www.mydomain.com/MyApp.html#firstName=Nick;lastName=Danger
    (example used: http://livedocs.adobe.com/flex/3/html/help.html?content=deep_linking_5.html )
    Anyway, the code to extract the parameters looks like
    then the parameters are extracted like
            private function init(e:Event):void {
                bm = BrowserManager.getInstance();               
                bm.init("", "Welcome!");
                /* The following code will parse a URL that passes firstName and lastName as
                   query string parameters after the "#" sign; for example:
                   http://www.mydomain.com/MyApp.html#firstName=Nick&lastName=Danger */
                var o:Object = URLUtil.stringToObject(bm.fragment, "&");               
                fName = o.firstName;
                lName = o.lastName;               
    However, the fName and lName remain empty. Any suggestion how to retrieve URL parameters ?
    cheers
    Luca

    Hi scaljeri...try this...it worked for me last week:
    protected function readQueryString():String{
              var urlParams:Dictionary = new Dictionary();
              if (ExternalInterface.available)
                   var fullUrl:String = ExternalInterface.call('eval', 'document.location.href');
                   var paramStr:String = fullUrl.split('?')[1];
                   if (paramStr != null)
                        var params:Array = paramStr.split('&');
                        var s:String;
                        for (var i:int=0; i < params.length; i++)
                             var kv:Array = params[i].split('=');
                             urlParams[kv[0]] = kv[1];
                             s =  kv[1];
                   return s;
              return null;
    yellow

  • How to hide dynamic parameters values in the URL with Reports 6i

    Hi,
    I want to know a way of hiding the parameters values when asking for a report through the web.
    Now I'm using the Reports 3.0.5.8 with a Cartridge defined in the Oracle Web Application Server 3.0.1.0.1. When you ask for a report with the parameters DESTYPE = cache and DESFORMAT = pdf, it is fully generated and in the Address or Location box of the browser, you can see http://webserver/cache/report.pdf (where cache is the virtual directory defined in the OWAS in which the .pdfs are cached). So, users cant see the Url used to generate the report.
    Im trying to upgrade this configuration to Reports 6i with Cgi in a web server. I generate reports with no problems. The problem I have is I cant find how to hide the parameters values as before. I mean, when I ask for a report, once its generated I can see http://webserver/cgi-bin/rwcgi60.exe?server=ServerName&report=report.rdf&userid=user/pass@connection&destype=cache&desformat=pdf&P1=value1&P2=value2 in the Location box. It allows user to ask for another report changing the values of the parameters. I use these parameters to execute some query written in the Data Model. For example, imagine that the P1 represents the company id, the user (that is supposed to see only data of its company) can change this id, ask for a new report and see data of another company.
    Ive already tried to use the key mapping option, but its not useful to me because the parameters values are dynamic and its impossible to define different entries in the cgicmd.dat for each possible value. The option of loading the parameter form before running a report is not useful to me either, because there exists specific screens for this purpose.
    Is there any solution?
    Thank you.
    Marma Bonfiglio.

    Hi Rakesh,
      I am using BI  7.0
    The last option I have is 'Hide' for 'Calculate single values as' .
    I have the below options  for 'Calculate single values as'
    1. Normalise  according to Next group  level  Resul.
    2. Normalize according to  Overall Result
    3. Rank number
    4.Olympic Rank Number
    5.Maximum
    6. Minimum
    7.Counter for all detailed values
    8.Counter for all detailed values that are non zero
    9.Moving average
    10.Moving average  That is  Not zero ,null or Error
    11. Hide.
    So could you please tell me where i can find 'suppress result' option for the keyfigure .
    Many thanks

  • How to parse crystal report query prompt value via url parameters

    HI All,
    I am creating a employee detail report in crystal report. The recordset is huge and i have created a parameter prompts in the query and thinking to parse the prompt value via url parameters. Not sure why i still could not make it works.
    for example, in my query panel i have created a prompt called "pwwid"
    and this is how i parse the prompt value via open document url.
    OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=AV8U6HlIq4FBl_MhcBwHqGI&lsSpwwid=12345678
    I read the sap documentation, this is how it parse the prompt value via url parameter. but it is not working for me and i am getting prompt to fill in the wwid whenever i run the reports.
    any idea why i am not getting this works?
    Regards,
    KeatAun

    Could you try:
    OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=AV8U6HlIq4FBl_MhcBwHqGI&lsSpspwwid=12345678
    -Abhilash

Maybe you are looking for