How to keep the value of Session in OBIEE

I have an obligation to transmit the session of a page variable to the next page in the dashboard.

Requirement :

In the part of the presentation:

Prompt: Column1: year
Column2: quarter

I have to pass the selected value in the fast control panel to the repository. To achieve this, I've stored the value of year and quarter column in 2 request variables from the prompt.

Request Variable1: VarYear stores the value selected year
Request Variable2: VarQuarter stores quarter selected value

In the part of the repository:

1. I created session variables 02 repository with the same name as: VarYear and VarQuarter
2. under the Block Intitialization of two Variables, I wrote a dummy query as
' SELECT PER_NAME_ENT_YEAR FROM W_DAY_D WHERE PER_NAME_ENT_QTR IS NOT
NULL'
3. checked the box for "Allow any user set the value" for two session variables.
4 using the session variable to transmit as a filter on the tab content measurement of the LTS of income as follows:

«"Oracle Data Warehouse".» Catalog.dbo.Dim_W_DAY_D.PER_NAME_ENT_YEAR = VALUEOF (NQ_SESSION. ("' VarYear") AND "Oracle Data Warehouse. Catalog.dbo.Dim_W_DAY_D.PER_NAME_ENT_QTR = VALUEOF (NQ_SESSION. ("' VarQuarter ')'


Resolution: The session from the prompt variables is pass correctly to the RPD and returning the result as expected for the current page (invites the two and the report are in the same page where I used the measure of income which is getting filtered in the LTS on the basis of the quarter and the year to the title of the content tab).


Reuirement2 question:

I have to navigate from one page to another when the click on the value of the income measure. The target page also contains the same measure of income as in first page. But on the navigation from one page to another page, the session value is getting lost and passing the default value from the block of initialization of the Session instead of the selected value in the command prompt.


According to my understanding of that session value shouldn't be replaced up to a disconnection from the user of the application. But in my case for the first page where I times Promt and measure revenues the prompt value is pass correctly but when I move to the second page where I only the income measure session value which is already defined at the beginning is replaced with the result of query Session IB.


Please suggest me if there is no resolution to my problem.

Thank you very much in advance.
:)

I had this problem myself, and here is what I found. The only way I could make it work was to have guests who populate the Session Variables on the pages. In other words if I got the prompt on one page and then used guided navigation to go to another page of dashboard I needed to have the same guests located on this page for session values get passed in. Since in my case I didn't want the guests to view it or the user to know that I had to add the dashboard invites you to capture of Session Variable values, I placed the guests of dashboard for my Session Variables in a separate section and then hid this user story. I hid the section by selecting Properties - Style (HTML only) custom CSS Options and then clicked the box to tick to use Custom CSS Style. In the text box type display: none which will cause the section to hide from the user. Guests will then exist on the dashboard page to receive the session values and the user will never know it's there.

Hope this helps.

Eric
http://www.BIConsultingGroup.com

Tags: Business Intelligence

Similar Questions

  • How to keep the value in Graf

    Hi all

    I use following code to set the default value for messageChoiceBean.And its fine.but of work in this case, is that

    This page is Iproc page and he saw the train. I mean when the user click on button nxt it goes for nxt step.when I click on nxt button.and return to the previous page, then that once again the default.

    In {Graf}

    OAMessageChoiceBean createMBean = (OAMessageChoiceBean) webBean.findChildRecursive ("Taxable");

    if(createMBean!=null)

    {

    createMBean.setText (pageContext, "SYSTEM");

    }

    }

    Here bydefault game messageChoice do not know... The SYSTEM is id of don't know.

    When I change don't know another value and click on nxt button.and I'm back to the same page with the "back" button, then again, it sets the value of not knowing...

    Here, I want to keep the selected value...

    Thank you...

    Hello..

    How can I use session values to maintain the value of the user's selection?

    and this is... I want to declare a variable that can be Graf and I put no value now, I want to use the same variable in PFR() and I want its value to be YES... How can I achieve this?

  • How to keep the values of opacity and blending Mode

    Hello!

    I work with reflections, shades and given that I do a lot of forms with the same color values, opacity, mixture of fashion, I wonder how can I do to keep them set up, so I don't have to go to each path, and change the values every time. The only value that remains is the color, but for example, the opacity changes each time I start a new shape with the pen tool, and as I said, I work with the shades for a portrait, so I have to do a lot of shapes with the same characteristics. Does anyone know a way to set these values and keep them 'by default' so to speak?

    Thanks in advance.

    Context menu in the appearance Panel.  Deselect new Art has basic appearance

  • How to store the values of variable level OBIEE presentation in DB

    Hi all!

    We have a command prompt of dashboard which is set up to store values in variables of presentation (period start and period end dates). Is there a way to store values selected from a database? for further processing?
    that is, I need to pass the variable level (report parameters) presentation to complex calculations to a PL/SQL function.
    Also my requirement might be solved if I can get access to the selected values of logical column in the tab 'Business Model and mapping' definition in the BI administrator.
    that is, I'll be able to define the logical column using VALUEOF (NQ_SESSION. < nom_var >)

    Kind regards
    Mr.Maverick

    Hello.

    1 do SQL PL/function (in the database) which has an input parameters, which number depends on number of guests and in it you'll insert these parameters into a table.

    2. your report in column expression answers call this function that will do insert, the code would be like:
    EVALUATE ("YOUR_FUNCTION (1%, 2%, 3%, 4%) (' as varchar (20), @{p_1}, @{p_2}, @{p_3}, @{p_4})

    3. Note that the function returns something and be careful on data types inside EVALUATE it.

    4. notes that, in the case where some messages are not selected (all or nothing) you recognize this case as:

    -case when LENGTH('@{pv_var}') > 0 then ' @{pv_var}' end else' all '.

    or like this:

    -case when LENGTH('@{pv_var}') is null then 'all choice"other" @{pv_var}' end; "

    Kind regards
    Goran
    http://108obiee.blogspot.com

  • How to keep the input value after click on the back button being the ADF

    Hi expert,

    I have a case currently the adf:

    1. I put 'value' in the Label 1

    2. I click on the next button

    3. I click on the "back" button

    4. the 'value' went from 1 label.

    How to keep the 'value' of 1 tag after I click back, do you have any suggestions?

    Kind regards

    Ricky

    Hello

    Where you store the value? Try to store it in a variable pageFlowScope or a property of the pageFlowScope bean.

    value = "#{pageFlowScope.testVar} '"

    value = "#{pageFlowScope.testBean.testVar} '"

    Kind regards

    Ruben.

  • How to get the value of the variable at the start of a session?

    When to run an interface or a scenario, if there are bound variables, the session will keep the value of these variables in the case of restart the session after the failure. However I can't find where they are stored in the ODI repository. Could someone give me a hand?

    Thanks in advance!


    Best wishes
    Satine

    See if that helps you

    SELECT svd.var_name,
           svd.var_n AS numval,
           svd.var_d AS dateval,
           svd.var_v AS strval
    FROM snp_var_data svd,
         (SELECT sp.project_code || '.' || sv.var_name AS fullvarname
          FROM snp_project sp, snp_var sv
          WHERE sv.i_project = sp.i_project) svp,
         snp_var_sess svs
    WHERE     svd.var_name = svp.fullvarname
          AND svs.var_name = svd.var_name
          AND svs.sess_no = :sess_no
    
  • keep the value of the element after &amp; LOGOUT_URL.  It is called

    Hello

    I need to keep the value of the item when I click on logout url.

    When logout is called, it takes me to page 1 but I need the P1_SCHEMA element to keep its value before closing your session

    is this possible?

    Apex 4.2

    database EE 11.2

    Thank you.

    I did the following to solve my need.

    -creation page 102

    -changed the navigation bar of the input parameters to "redirect to page 102.

    -created the process of loading page 102 to create the coockies as follows

    Start

    owa_util.mime_header ("text/html", FALSE ");

    (owa_cookie). Send

    name-online "SCHID_COOKIE."

    value => '& SCHID.',

    expires => it sysdate + 1);

    apex_application.g_unrecoverable_error: = true;

    owa_util. REDIRECT_URL ('& LOGOUT_URL.');

    exception: when other then null;

    end;

    --

    Page 102 creates the coockies Ant sets the value of the application element, then of going to & logout_url. automatically

    -createn on the process of loading the page 1 (default home page) as follows the coockies value

    DECLARE

    cookie OWA_COOKIE.cookie;

    BEGIN

    cookie: = OWA_COOKIE.get ('SCHID_COOKIE');

    If cookie.vals.First IS not NULL then

    : SCHID: = cookie.vals (1);

    end if;

    END;

    now, I have a question... I have to owa_cookie.remove () somewhere?

    Thank you!

  • How to get the value of a * Global * Application point of JS

    If we declare an element of the request, which is NOT a level of the page in question, how we get the value of this element in an Action dynamic JavaScript on a page?

    For example, we declare a "global" variable as an Application named DEFAULT_AJAX_SEPERATOR and set its value with a calculation of the claim "on the new Instance" a moment later, on a page of the application, we would like to get the value of DEFAULT_AJAX_SEPERATOR via JavaScript.

    Page* level syntax element...
    $v( 'DEFAULT_AJAX_SEPERATOR' );
    .. How does not work. I don't understand why it's like $v can only access the elements on the page. However, the APEX is clearly able to get these global values since, for example, they are available in PL/SQL blocks. Also, I know that it is on the session object, because I can see it when viewing the session.

    So... What is sauce secret for obtaining this value?

    Thank you

    -Joe

    Hello
    Use something like this in your javascript code.

    var appItemVal = "& DEFAULT_AJAX_SEPERATOR.";

    Thank you
    Naidu789.

    If you think, I responded to your question, please mark as answer.

  • How to use the value of the page element in other pages too?

    Hi all

    How to pass the value of the item P26_NO from 26 to all other pages (such as 1, 2, 3... 25) using the & P26_NO. ???
    I set the default for this item.but I can't able to find value in the session state itself?

    Please post your suggestion here!

    Thank you and best regards,
    Robette.

    Robette wrote:
    Hi Amelia,.

    Through application process only we can able to save the page element value in session state? is there another way?
    Since my requirement is like I need to display footer text in all the pages, I have the version number included in this text, so I created a table and my intention to create an item and passing the point value for all other pages and see that point value & P26_NO. in the text. Version number is dynamic, it will change at each deployment.
    Is another way simple, other than my approach?

    Thank you best regards &,.
    Robette.

    You should use point demand for it and an application process to fill

    IF :APP_ITEM_NAME IS NULL THEN
      APEX_UTIL.SET_SESSION_STATE('APP_ITEM_NAME','myvalue');
    END IF;
    

    Published by: VC on June 25, 2012 13:48

  • How to customize the expiration of session WARNING text messages?

    Jdev 11.1.1.4 ALICE BC & ADF Faces

    Requirement: How to customize the expiration of session WARNING text messages?

    I am able to assign the expiry warning time and session time-out period
    <context-param>     
    <param-name>oracle.adf.view.rich.sessionHandling.WARNING_BEFORE_TIMEOUT</param-name>     
    <param-value>300</param-value> 
    </context-param>
    
    <session-config>
        <session-timeout>6</session-timeout>
      </session-config> 
    I want to show a messge like
    ' your session will expire in XX minutes, do you want to continue? "
    Any help will be appreciated.

    ~ Abhijit

    These are other resource strings:

    ...
        {"af_document.PRE_SESSION_TIMEOUT_MSG", "This page will expire unless a response is received within {0} minutes. Click OK to prevent expiration."},
        {"af_document.PRE_SESSION_TIMEOUT_MSG_SECOND", "This page will expire unless a response is received within {0} seconds. Click OK to prevent expiration."},
        {"af_document.PRE_SESSION_TIMEOUT_CONFIRM_TITLE", "Expiration Warning"},
    ...
    

    Timo

  • How to keep the (update or delete, insert) triggering action in the table?

    Hello experts,
    I have create a trigger on update, delete or insert. I insert records into a table which records insert, update, or delete.
    I would also like to insert the revival of whick action the trigger as update, delete or insert.

    Here's my trigger code.

    create or replace trigger BOM_HISTORY_TRIGGER
    after update or delete or insert on BOM_HISTORY
    for each line
    Start

    insert into bom_history (BOM_MOD_CODE, BOM_ASSY_CODE, BOM_ASSY_QPS_old, BOM_ASSY_QPS, PPC_SRL_ #, ITEM_ENTR_BY,)
    ITEM_MOD_BY, MOD_DATE, ACTION)
    values(:Old.) BOM_DIV_CODE,: old. BOM_MOD_CODE,: old. BOM_ASSY_CODE,
    : old. BOM_ASSY_QPS,: new. BOM_ASSY_QPS,: old. PPC_SRL_ #,: old. ITEM_ENTR_BY,
    : old. ITEM_MOD_BY, SYSDATE, 'delete')
    END;

    HOW to keep the action in the table.

    also, there is error:
    WARNING: Trigger created with compilation errors.

    Please help to fix it.

    Thank you best regards n
    Yoann

    >
    insert into bom_history (BOM_MOD_CODE, BOM_ASSY_CODE, BOM_ASSY_QPS_old, BOM_ASSY_QPS, PPC_SRL_ #, ITEM_ENTR_BY,)
    ITEM_MOD_BY, MOD_DATE, ACTION)
    values(:Old.) BOM_DIV_CODE,: old. BOM_MOD_CODE,: old. BOM_ASSY_CODE,
    : old. BOM_ASSY_QPS,: new. BOM_ASSY_QPS,: old. PPC_SRL_ #,: old. ITEM_ENTR_BY,
    : old. ITEM_MOD_BY, SYSDATE, 'delete')
    >
    Unless I've counted wrong you have 9 mentioned columns but try insert 10 items.

  • How to get the value of the VO to the lov controller?

    Hello

    Can I know how to get the values of the View object, then pass in lov controller to execute the query... pls help...

    I tried the below:

    ' Public Sub processRequest (pageContext OAPageContext, OAWebBean webBean)
    {
    super.processRequest (pageContext, webBean);

    OAViewObject vo = (OAViewObject) am.findViewObject ("SeaoeAutoMosSummaryVO1");
    String s_it = (String) vo.getCurrentRow () .getAttribute ("ItemType"); / / If I enable this line, it will return the nullpointerexception error
    OAViewObject itemVO = (OAViewObject) am.findViewObject ("SeaoeAutoMosFIVO1");

    If ("lovValidate". Equals (PageContext.GetParameter (EVENT_PARAM)))
    {
    itemVO.setWhereClause (null);
    System.out.println ("b4 execute111");
    itemVO.setWhereClauseParams (null);
    itemVO.setWhereClauseParam(0,"F");
    itemVO.setWhereClauseParam(1,"OHO");
    itemVO.executeQuery ();
    }

    }

    yuchijoyce wrote:
    Jin

    I wanto add new line, the lov CO will have the value 2 in the base page move to filter the lov...
    the problem, I do face is: failed to get the vo value (new line) in lov CO.

    Try setting the PPR action with this field which will set the value in the session then get session value in the controller of the LOV and put the Original where clause.

    Thank you
    AJ

  • How to set the value of a field from the LOV of another field.

    I'm trying to figure out how to set the value of a field (P_PROGRAM) to the value of another field of based lov (P_STATE).

    The P_PROGRAM field is a hidden field. The P_STATE field is a required field and is based on a list of values for the State Codes.

    When a user selects the State to P_STATE, the field of the P_PROGRAM should be set to this value, as well.

    I tried different ways to get there via a function call on the post for the calculation of the field P_STATE, defining the source P_PROGRAM to the value of the page item P_STATE put varialbles, creating a process before SENDING, and they all still come back as having a NULL value for P_PROGRAM, therefore impossible to create the file in the db as the PROGRAM is a mandatory field in the table.

    Can you please help? Thank you, Laura

    Laura,

    It is always helpful if you provide information about the Apex version you are using. The Apex 4 you can use Dynamic Actions to achieve this. In earlier versions is possible using processes to submit or javacsripts, as well.

    Heres how you do in 3.x with treatment to submit, to make it work in 4.0 as well.

    1 do the P_STATE ' select list submits the Page.
    2. Add a calculation on the point P_PROGRAM, or write to him assign a value based on a process. The treatment should be OnLoad after the header
    3. If the page does not have an unconditional branch that loops on itself, add a. NOTE: The direction must be the last branch (larger sequence number) and should have checked "Save Session State".

    This is what will happen
    a. when the State is selected Page will be submitted
    (b) it will take the unconditional branch to himself and save the value of P_STATE
    c. the calculation process / fills the value of the P_PROGRAM element when the page reloads

    Kind regards

  • How to pass the value of the item Application Javascript function.

    Hello

    I have the JavaScript in the properties attribute of the HTML Form element

    I'm on page 1 and passing the value of the item page P1_DEPT_NO. It is perferctly working very well and I am able to get the exact value of the element on the page
    onchange="javascript:function1($x('P1_DEPT_NO').value);"
    I'm on page 1 and passing the value G_DEPT_NO of the Application element .
    The problem here is, I don't get the point of Application inside the javascript function value.
    I tried to use alert(); and it gives me the undefined value
    onchange="javascript:function1($x('G_DEPT_NO').value);"
    I just want to know, How to pass the value of the Application in Javascript element.

    Thank you
    Deepak

    Deepak,

    I'm not a Javascript expert, but the suggestin I did was because the javascript is a case-sensitive... language and thats why onChange is not the same thing as onchange.
    Not sure if this is causing the problem.

    Application elements not associated with a page and have therefore no properties user interface.
    So, as mentioned in another post, the rendering would not work for the elements of the application.
    If it is for a single item, used only on this page, you might create a hidden page element and use it fo your goal

    If you want to keep watching objects application and AJAX, this page contains examples of using AJAX to solve problems like the one you mentioned.
    http://www.Oracle.com/technology/OBE/hol08/apexweb20/ajax_otn.htm#T1B

    Thank you
    Rajesh.

  • How to keep the Safari in full screen, when it opens instead of small rectangle I enlarge them with green button and how to keep the presentation of upper task bar without always having to lower

    How to open safari in its entirety in a small rectangle and then having to enlarge.  It started to happen.

    How to keep the top toolbar in view rather than having to lower whenever necessary

    Drag the bottom right and left corners of the window to enlarge it to fit the screen.

Maybe you are looking for