How to pass session variable value with GO URL to override session value

Hi Gurus,
We have below requirement.Please help us at the earliest.
How to pass session variable value with GO URL to override session value. ( It is not working after making changes to authentication xml file session init block creation as explained by oracle (Bug No14372679 : which they claim it is fixed in 1.7 version  Ref No :Bug 14372679 : REQUEST VARIABLE NOT OVERRIDING SESSION VARIABLE RUNNING THRU A GO URL )
Please provide step by step solution.No vague answers.
I followed below steps mentioned.
RPD:
****-> Created a session variable called STATUS
-> Create Session Init block called Init_Status with SQL
    select 'ACTIVE' from dual;
-> Assigned the session variable STATUS to Init block Init_Status
authenticationschemas.xml:
Added
<RequestVariable source="url" type="informational"
nameInSource="RE_CODE" biVariableName="NQ_SESSION.STATUS"/>
Report
Edit column "Contract Status" and added session variable as
VALUEOF(NQ_SESSION.STATUS)
URL:
http://localhost:9704/analytics/saw.dll?PortalGo&Action=prompt&path=%2Fshared%2FQAV%2FTest_Report_By%20Contract%20Status&RE_CODE='EXPIRED'
Issue:
When  I run the URL above with parameter EXPIRED, the report still shows for  ACTIVE only. The URL is not making any difference with report.
Report is picking the default value from RPD session variable init query.
could you please let me know if I am missing something.

Hi,
Check those links might help you.
Integrating Oracle OBIEE Content using GO URL
How to set session variables using url variables | OBIEE Blog
OBIEE 10G - How to set a request/session variable using the Saw Url (Go/Dashboard) | GerardNico.com (BI, OBIEE, O…
Thanks,
Satya

Similar Messages

  • How to pass the portal language with the URL

    Dear experts,
    We are trying to call the SAP Enterprise Portal (Online Catalogue) from SAP ERP (ECC6) with an URL that looks somehting like this:
    http://xxx.com/irj/portal?j_user=xx&j_password=xx
    This works fine, however we would like to add the language as a parameter, something like &language=IT but this doesn't work. I've tried multiple paramaters but none of them brought any success.
    The only half-valuable parameter we found is ume.logon.locale which is only considered on the logon screen, though.
    Does anybody know which parameter I need to use? Does the SAP Enterprise Portal accept language settings comming from the URL?
    Thanks a lot & regards,
    Pascal Thalmann

    Hi Abdul and Ayyapparaj,
    Thanks a lot for your quick answers but unfortunatelly nothing helped.
    @Abdul: I am aware of this risk, but thanks for the hint. The paramter sap-langage was already known but did not bring the desired results - it seems not be accepted.
    @Ayyapparay: I had already visited the link you mentined in your reply. The list seems to be related to Web Dynpro Applications which does apply to my problem. Furthermore, the parameters I am using at the moment (j_user & j_password) are not documented.
    Any other ideas?
    Thanks a lot and regards,
    Pascal Thalmann

  • How to pass header Variables along with body

    Hi,
    Here I am invoking siebel web service which is wsdl(SOAP) based web service. I tested it through sopaUI and it is working fine for me as I am getting proper response. here is the input payload structure.
    Note: it is running on HTTPS, so SSL has been applied to this  site.
    it is loading as http not https. For every operation when we make a request, we are changing the link to https and submitting it. Then it is working for us.
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.xxxxxx.com/2005/">
       <soapenv:Header>
          <ns:AuthorizationToken>
             <ns:Token>userName;Password</ns:Token>
          </ns:AuthorizationToken>
       </soapenv:Header>
       <soapenv:Body>
          <ns:WEBIndividualGet>
             <ns:key>{6D803C43-3917-4C99-91F3-003EB9E16E1F}</ns:key>
          </ns:WEBIndividualGet>
       </soapenv:Body>
    </soapenv:Envelope>
    Now I created the bpel projects like this.
    Step 1:- in the xsd, I created two elements types
    <xsd:element name="UsernameToken" type="xsd:string"/>
        <xsd:element name="PasswordText" type="xsd:string"/>
    Step 2:- Then I created the WSDL in respect to above elements
    <!-- Message section -->
    <wsdl:message name="WEBAutTokenOut">
      <wsdl:part name="userName" element="netObj:UsernameToken"/>
      <wsdl:part name="passWord" element="netObj:PasswordText"/>
    </wsdl:message>
    <wsdl:portType name="portTypeName">
      <wsdl:operation name="operationName">
      <soap:operation soapAction="sopaAction">
      </soap:operation>
       <wsdl:input message="netSer:SvcRequestMessage">
        <soap:header message="netSer:WEBGetAutToken" part="userName" use="literal"/>
        <soap:header message="netSer:WEBGetAutToken" part="passWord" use="literal"/>
       </wsdl:input>
       <wsdl:output message="netSer:SvcResponseMessage">   
        <soap:header message="netSer:WEBAutTokenOut" part="userName" use="literal"/>
        <soap:header message="netSer:WEBAutTokenOut" part="passWord" use="literal"/>
       </wsdl:output>
      </wsdl:operation>
    </wsdl:portType>
    Step 3:- and My Bpel looks like
    <!--Variable Declaration -->
    <variable name="customHeaderVar" messageType="netSer:WEBGetAutToken"/>
        <variable name="customOutputHeaderVar" messageType="netSer:WEBAutTokenOut"/>
    <sequence name="main">
    <receive name="receiveInput" partnerLink="xxxxxxx"
                 portType="netSer:xxxxxxxxxxx" operation="xxxxxx"
                 variable="inputVariable" createInstance="yes"
                bpelx:headerVariable="customHeaderVar"/>
    <assign name="AssignHeaderVariables">
          <copy>
            <from expression='"username"'/>
            <to variable="customHeaderVar" part="userName"
                query="/ns2:UsernameToken"/>
          </copy>
          <copy>
            <from expression='"soa1234"'/>
            <to variable="customHeaderVar" part="passWord"
                query="/ns2:PasswordText"/>
          </copy>
        </assign>
    <invoke name="Invoke" inputVariable="xxxxxxxxxxxxxxxx"
                outputVariable="Invoke_OutputVar"
                partnerLink="xxxxxxxxxxx" portType="ns1:XMLSoap"
                operation="WEBGet" bpelx:invokeAsDetail="no"
               bpelx:inputHeaderVariable="customHeaderVar">
                bpelx:outputHeaderVariables="customOutputHeaderVar"/>
    Note:  When I am hitting siebel web service it is giving some out put, The output it self has header variable. so that is reason am added outputHeaderVariables.
    < Here we have Transformation Activity >
    <reply name="replyOutput" partnerLink="xxxxxx"
               portType="netSer:xxxxxxx" operation="WEBGet"
               variable="outputVariable"
               bpelx:inputHeaderVariable="customOutputHeaderVar"/>
    That's about my project. But when test this service Am getting error. below is the error details.
    ==============================================================================
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
       <env:Header/>
       <env:Body>
          <env:Fault>
             <faultcode>env:Client</faultcode>
             <faultstring>System.Web.Services.Protocols.SoapException: Object reference not set to an instance of an object.
       at Avectra.netForum.xWeb.xWebSecure.netForumXMLSecure.WEBIndividualGet(Guid key)</faultstring>
             <faultactor/>
             <detail>
                <exception><![CDATA[<InvalidTokenException xmlns="http://www.xxxxxx.com/2005/">
      <XWebException xmlns="http://www.xxxxxx.com/2005/">
        <Message>Object reference not set to an instance of an object.</Message>
        <Number>0</Number>
        <Source>xWebClasses</Source>
        <Line>0</Line>
        <StackTrace>   at Avectra.netForum.xWeb.xWebSecure.xWebServiceClass.ValidateToken(AuthorizationToken AuthToken)
       at Avectra.netForum.xWeb.xWebSecure.netForumXMLSecure.WEBIndividualGet(Guid key)</StackTrace>
        <ErrorType>GeneralError</ErrorType>
        <Errors/>
      </XWebException>
    </InvalidTokenException>]]></exception>
             </detail>
          </env:Fault>
       </env:Body>
    </env:Envelope>
    ==============================================================
    Could you please help me out.
    Thanks,

    The UserNameToken and the Password variables should be created based on the schema http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd
    Refer the below url for more details.
    OracleFusionMiddleWare 10g,11g and AIA: How to set security credentials dynamically in Oracle BPEL
    Regards
    Albin I
    http://www.albinsblog.com/

  • How to pass a variable more than one values?

    How to pass a variable more than one values?

    You can't.
    During 1 session, 1 ODI variable can have only 1 value at a time.
    If you need more than 1 value, you will have to do somethink like a loop inside your package, and refresh the variable value each time.

  • How to  pass a variable value into a custom planning function via a web

    Can some one tell me
    How to  pass a variable value into a custom planning function via a web template?
    What are the different types of Planning function parameters available and what is the difference between them?
    Thanks
    babu

    Hi Sutrtha,
    Yeah I got the pop up asking to select the variables used, I have selected ENTITY_ID that was used by the interfaces, but on execution of the package the Scenario did not work as the passeed variable #ENTITY_ID is set to 0 instead of the value I am passing.
    Am I missing something?
    Regards
    B

  • How to pass username and password with the portal url

    i want to access portal from my web site. i have created username and password fields in my web page. when submited , my portal page should open. so how to pass username and password with the portal url.

    This is not straightforward; but it is doable.
    First tell us about your portal version; portal 10.1.4 has a slightly different method of doing it and the pre-10g portals were completely different animals.
    And if you are in AS Rel 2, then the most important document for you would probably be the following:
    [Creating Deployment Specific Pages| http://download-west.oracle.com/docs/cd/B14099_19/idmanage.1012/b14078/custom.htm#i1015535]
    You might want to use it in conjunction with some metalink notes about your portal version and such a login page.
    hope that helps!
    AMN

  • How to pass a single quote in a URL using Javascript

    Can someone tell me how to pass a single quote in a URL using Javascript. I have created a Javascript funciton in which I pass several column values from an APEX report.
    The URL for the report link I am using is "JAVASCRIPT:passBack('#EMP_ID#','#Name#','#e-mail#')"
    The problem occurs with the Name and e-mail columns contain a single quote (i.e. James O'Brien)

    Thank you Saad, that worked.
    Since I built the report using type 'SQL Query (PL/SQL function fody returning SQL query)' I had to add some additional quotes to get it to work.
    i.e.
    replace(EMP_EMAIL_NAME,'''''''',''\'''''')
    or
    replace(EMP_EMAIL_NAME,chr(39),''\'''''')
    Thanks for the help,
    Jason

  • How to pass a Variable value into an ODI Scenario from ODI Package

    I have created an Interface that uses the variable #ENTITY_ID for retrieving entity data from the DWH; now I have generated a Scenario from the interface and placed the Scenario in an ODI Package; am not sure how to pass the #ENTITY_ID variable to the ODI Scenario?
    Any help is greately appreciated.
    Best Regards
    Bee

    Hi Sutrtha,
    Yeah I got the pop up asking to select the variables used, I have selected ENTITY_ID that was used by the interfaces, but on execution of the package the Scenario did not work as the passeed variable #ENTITY_ID is set to 0 instead of the value I am passing.
    Am I missing something?
    Regards
    B

  • How to pass presentation variable with enclosing single quotes

    HI All,
    As all of you know in 11g, Presentation variable can hold more than one value.So we can pass multiple values to the report through presentation variable.
    If we select x,y,z values from prompt drop down,then those values will be stored like x,y,z in the presentation variable.
    but I would like to store these values with enclosing single quotes like 'x,y,z'
    The reason is I need to pass this variable value as input to BI Publisher sql dataset query where clause.
    Please share your Ideas.
    Thanks,
    Aravind

    Aravind,
    Check this
    Predefined Presentation Variables in OBIEE 11G | Praveen&amp;#039;s Blog

  • How to pass characterstic variable value using button in sap wad

    Hello Gurus,
    I have one requirement in WAD 7.0.i have made one user input characterstic variable in Bex i.e on 0calmonth.Now i have passed the same variable in WAD drop down button.Now suppose based on the logic on that variable which i have made in bex is like when i select 04.2010 in drop down button it dispalys data for next three months.
    Now my user wants same thing to be displayed with the help of button as well. I need to make two buttons one for previous month and other for next month.I made two button using button group and passed that variable also but data is not changing.
    How to get the desired output using buttons.
    I want two buttons like this <<(previous) >>(next) and i want to pass that same variable which i passed in drop down button and when i press previous button it should display last month data and when i press next it should display next month data.
    How to achieve this in WAD with the help of buttons.Give me your useful suggestions.
    Hope my requirement is clear.
    Thanks in advance
    Regards,
    AL

    Need your valuable suggestions on this...

  • Instead of using session How to pass the variable from action class to JSP

    Im using Struts1.2 version.Created the Sample application to get the username.Upto action class im getting the username then i have to display the username in the JSP.Is there any options rather than using session variable to display the username.

    did you check the answer in your previous thread
    Passing Variable from Javascript to Controller

  • How to pass Temp variable value instead of Table name in From clause.

    Hi,
    I have an requirement to pass the Temperorary variable value instead of Table name in FROM Clause in SQL.
    But I am strugglint to pass this variable value.
    E.g., a Varchar2(5) := 'aa';
    Select * from a;
    Here I come to mention a - 'aa'. But the SQL looks for 'a' as Table. But its should look into 'aa' as Table name.
    Kindly guide me.
    Thanks.

    SQL> declare
      a     varchar2 (5) := 'emp';
      v     varchar2 (100);
      cur   sys_refcursor;
    begin
      open cur for 'Select ename from ' || a;
      fetch cur into v;
      while cur%found
      loop
        dbms_output.put_line (v);
        fetch cur into v;
      end loop;
      close cur;
    end;
    JAMES
    SCOTT
    SMITH
    ALLEN
    WARD
    JONES
    MARTIN
    BLAKE
    CLARK
    KING
    TURNER
    ADAMS
    FORD
    MILLER
    PL/SQL procedure successfully completed.

  • How to pass a variable into a cfc?

    prior to calling the cfinvoke, I have coding that determins a
    variable "X"
    I need to pass X into a cfc so it can complete the query held
    there.
    So I tried
    <cfinvoke component="A"
    method="AList"
    returnvariable="AResults">
    <cfinvokeargument name="x" value="#X#"
    /></cfinvoke>
    correct so far?
    Now over on the cfc page is where I'm getting stuck
    Inside my cffunction I'm adding <cfargument name="X" />
    But how do I get the value in?

    I don't quite understand your question. Can you rephrase?
    But before all that, bear in mind that one doesn't pass a
    variables into a
    *CFC*, one passes it into a function within the CFC. And as
    with all
    functions, one passes values into the function by passing it
    as an
    argument. But - of course - the function has to be coded to
    expect the
    argument.
    Your own sample code demonstrates this in action:
    <cfinvokeargument name="abbrCode"
    value="#companyAbbrCode#" />
    (NB: lose the trailing slash: this is CFML, not XML).
    So you know how to do that.
    Hence me not quite understanding what you're actually asking.
    Adam

  • How to pass many variables to servlet using a URL? Ajax related.

    I have 100 text boxes in my JSP and want to pass the values stored in these text boxes to a servlet with out the need for submitting the entire page using AJAX frame work.
    I know how to peform the above in ajax if I have only 1 textbox. But how can I do that with 100 text boxes. I don't want to build a huge URL with 100 parameters.
    I am thinking may be create an array and send it to the servlet, but don't have an idea if we can do it.
    Please help me .

    You can make a POST request using an XMLHttpRequest, but you won't be "passing many variables using a URL", which seems to be one of your requirements, and which makes your question confounding(after all how do you pass many variables using a URL without putting many variables in the URL):
    req.open("POST", url, true)
    req.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');     
    req.send("first=Eric&last=Kaiser");

  • How to pass environment variables to adf application?

    Hi,
    I Created form function with this settings to open my adf application:
    Type : SSWA plsql function
    Maint Mode = None
    Context : Resp
    Web HTML : test.jsp
    Web host: 192.168.1.30:8890
    This works fine. But how can I pass environment variables as parameters?
    I like to pass username and org_id.
    Thanks in advance

    KdeGraaf,
    Sounds real interestign what you are saying. But I don't know what you mean with:"the application server name appended till html folder($COMMON_TOP/html) "
    Basically if u make a SSWA jsp function with only jsp name say A.jsp.At runtime the url is automatically converted tohttp://<application server>:<port number>/OA_HTML/A.jsp
    By the way $COMMON_TOP/html folder is the location for all jsps' in EBS.
    Where can I find some information about making a OAF page wrapper? Because I have totaly now experience with OAF.
    Make a OAF page, say page A, in process request of page get all the context data say, responsibility, org etc, and set it in http session.Then redirect the flow to ur ADF application page. If ur new and have no knowledge how do we build a page in OAF, u can download OAF developers guide from metalink. Search old threads u would get get the metalink id.--Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for