How to pass a prompt value to the RPD.

Hi all, I have a unique requirement.

I need to create a quick Date.
After have created you, I need to move to the physical layer of the repository.
I need to create a view in the physical layer in the view has a function that takes the fast values.

This view would be my dimension with a single record date, based on the value quickly past.
and I would join this point of view (table Date, date dimension) to all the other tables.

Please guide me in this issue. It is very crucial and urgent.

I didn't know where to start...

Hello

Try to create a Server Variable or the Session Variable in RPD and use it in your level of content where you actually bring the table.
So, whenever you make this table by default you will pass the variable, select guest... and you must set the value of the variable through confirmation.

Tags: Business Intelligence

Similar Questions

  • How to use the prompt value in the column of the report

    Hello

    I have a quick report column which is 'Adj Type' that contains values 10,20,30, and when the user selects Adj Type = 10, this value should be passed on to the column of the report.

    For example. Value in column 1 is 10 and this should multiple with the prompt value and production is expected to be 10 * 10.

    Ideas how to capture the prompt values in the column of the report for the calculation.

    Hi hsekar,

    (1) declare a presentation online in the section variable set Variable--> Variable--> P_var presentation

    (2) in Fx Table_name. Your_column * @{P_Var}

    @{P_var} {20} (20 is the default, it replaces when a user selects the value in the command prompt

    Thank you
    Saichand.v

  • How to use setViewportBounds (Bounds value) to the ScrollPane?

    How to use setViewportBounds (Bounds value) to the ScrollPane? This method is, visually, what for? I tried to put a specific Bounds.minY to have a precise scrolling in the axis Y in vain. I use the setVvalue() method to scroll, but it is not convenient to exactly locate a position in the coordinates of the node content listed in the scroll pane.

    The viewportBounds are the limits of the viewport (i.e., the visible part of the content) in the scrolling pane itself, if I understand correctly. The way to access programmatically is by setting the vValue property.

    I have not tried, but if you do something like

    scrollPane.setVmin(0);
    DoubleBinding vmax = new DoubleBinding() {
         { super.bind(scrollPane.viewportBounds(), content.heightProperty()); }
         @Override
         public double computeValue() {
            return content.getHeight() - scrollPane.getViewportBounds().getHeight() ;
         }
    };
    scrollPane.vmaxProperty().bind(vmax);
    

    to configure your component to scroll, then you can call setVvalue (...) and just pass a location of coordinates for your content node. This assumes that your content node is a region or a control; you will have to perhaps a little logic in the method computeValue() to deal with the cases where the display window is greater than the additional content.

  • How to pass an xml CDATA in the string element when OSB call a webservice?

    How to pass an xml CDATA in the string element when OSB call a webservice?

    I have a business service (biz) this route to exploitation of a Web service.

    An example of this legacy Web service request:
    < soapenv:Envelope xmlns:soapenv = 'http://schemas.xmlsoap.org/soap/envelope/' xmlns: ex = "example" >
    < soapenv:Header / >
    < soapenv:Body >
    < ex: run >
    < ex: arg > <! [CDATA [< searchCustomerByDocumentNumber >
    < documentNumber > 12345678909 < / documentNumber >
    [[< / searchCustomerByDocumentNumber >]] > < / ex: arg >
    < / ex: run >
    < / soapenv:Body >
    < / soapenv:Envelope >

    type ex: arg is a string.

    How to pass this structure CDATA webservice in OSB?

    Steps to resolve this problem:
    1 create an XML schema. For example:


    elementFormDefault = "unqualified" >


              
                   
                        
                             
                             

                        

                        
                             
                        

                   

         

         

         
         

    With this XSD, XML can be generating:


    documentNumber

    2 create an XQuery query to create a ComplexType searchCustomerByDocumentNumber. For example:
    (: pragma bea: element global-element-return = "searchCustomerByDocumentNumber" location = "searchCustomerByDocumentNumber.xsd" ::))

    declare namespace xf = "http://tempuri.org/NovoSia/CreateSearchCustomerByDocumentNumber/";

    declare function xf:CreateSearchCustomerByDocumentNumber($documentNumber_as_xs:string)
    as {(searchCustomerByDocumentNumber)}

    {$documentNumber}

    };

    declare the variable $documentNumber as XS: String external;

    XF:CreateSearchCustomerByDocumentNumber ($documentNumber)

    3. in your step in proxy pipeline add to assign the created the XQuery function call from the number of the document of your payload.
    Assign to a variable (for example: called searchCustomerByDocumentNumberRequest)

    4. create an another Transformation of XQuery (XQ) to create a request to the existing Web service. For example:
    {fn - bea: serialize ($searchCustomerByDocumentNumberRequest)}

    For more information about xquery Serialize function:
    41.2.6 fn - bea: serialize()
    You can use the fn - bea: serialize() function if you need to represent an XML document as a string instead of as an XML element. For example, you can share an XML document through an EJB interface and the EJB method takes the string as an argument. The function has the following signature:

    FN - bea: serialize($input as item()) as xs: string

    Source: http://docs.oracle.com/cd/E14571_01/doc.1111/e15867/xquery.htm

  • How Oracle to store geometry values in the columns of the table?

    How Oracle to store geometry values in the columns of the table?

    Check this box:
    [Oracle Spatial User guide | http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14255/toc.htm]

    Check other documents space here.
    [http://www.oracle.com/pls/db102/portal.portal_db?selected=7]

    Published by: Anantha R on August 20, 2009 13:43

  • How to pass a dynamic value to display the criteria

    Hello

    I have a requirement to indicate the hierarchy. Here, I want to spend the connected in the id of the Manager to the view criteria so that the hierarchy can change based on the connected Manager.

    Can anyone help how can I accompolish this.
    Can I use the binding variable to pass the value to display the criteria?

    If you get the Director based on the user id, you can run the display criteria based on the user, as follows:
    http://jobinesh.blogspot.com/2010/10/how-to-set-bind-variable-values-at.html

    Ensure that the method is executed until the viewer of the hierarchy is responsible.

    Thank you
    Nini

  • How to pass parameters/field values from one screen to another screen in blackberry

    Hi all

    I have two screens in my Application UI that is, login screen and continue the screen.

    Login screen has some fields of seizure as a user name and password and default language (French or English) for the application (Group of radio buttons).

    There is a button for the next who directs the user to another screen.

    This second screen has an input field. This input field is mandatory. The user can only go further if it is entered in this field of entry with valid values (i.e. numbers only).

    This screen has continue button so that the user can go further is on the next screen after you have entered a valid value in the field.

    Now, when the user clicks the continue button on the second screen so I have to validate the credentials of the user, he has provided in the first screen. Also, I need set the locale for the language he has provided to the login screen.

    So, to summarize.

    (1) user enters user name, password and language on the first screen. The user clicks NEXT and goes to the second screen.

    (2) on the second screen, the user enters a name click continuous. ((3) user credentials are validated, defined locale and user is illustrated below third screen).

    So, my question is how do I access username, the password, the language of the first screen in the second screen fieldChanged method?

    fieldChanged second display method will be called when user enter a value class we second screen and clicks continue.

    Please advice

    Thanks in advance...

    Store text values in the fields in your application class, and then pass it as a reference to each form or retrieve your instance of UiApplication and cast to the name of your class.

    public class MyApp extends UiApplication {   public String username;   public String password;   public String language;
    
    }...
    
    // Your first screen
    
    public class MyFirstScreen extends MainScreen {   private MyApp _app;
    
       public MyFirstScreen()   {      _app = (MyApp) UiApplication.getUiApplication();
    
          // Set your fields      // AS AN EXAMPLE, you can use:      // _app.username = field1.getText();      // _app.password = field2.getText();      // _app.language = field3.getText();   }}...
    
    // Your second screen somewhere
    
    public class MySecondScreen extends MainScreen {   private MyApp _app;
    
       public MySecondScreen()   {      _app = (MyApp) UiApplication.getUiApplication();
    
          // Access your fields      // you can use:      // _app.username      // _app.password      // _app.language   }}
    

    Now, this is one of the many ways to do it, but it works in its simplest form.

  • Header of page-how to pass a dynamic value?

    Hello

    I created a page - which redirects to an external link.
    I have following code in the page header.

    < META HTTP-EQUIV = "refresh" CONTENT = "2; URL = XYZ.com ">".
    < b > < p > < p > < p > < p > < p >

    < /b >


    When I run this page, redirects after 2 seconds to this particular url: xyz.com.

    My query is: Ii would there the URL value dynamically.

    I tried with the following code in the header:

    var abc = $v ('P97_TEST');
    < META HTTP-EQUIV = "refresh" CONTENT = "2; URL = abc ">".
    < b > < p > < p > < p > < p > < p >

    < /b >

    where P97_Test is an element of text field.

    But he directs me to a url: my_apex instance/abc. It does not work.

    No idea how to pass the value of the url dynamically? I need to get the success of a particular URL.

    Thank you
    Archana

    Dear Archana,

    I found the following solution work:

    (1) create an element on the page to the URL (in this example, P3_URL)

    (2) create a pl/sql process
    type: PL/SQL anonymous block
    address the point: on the laundry before header
    Source:

    begin
    :P3_URL := 'http://www.google.de/';
    end;
    -- this can be as sophisticated as you need
        
    

    (3) according to the Page Properties / header before HTML

    
    

    Marc

  • based on the prompt value see the FDF anayasis

    Hello

    I have a situation like this
    I use obiee 11g

    Based on the prompt value in him would like to show 3 different analayses.
    I mean that if the value of guest in the page has as abc data it should show the anlaysis1
    If the prompt value data as def it should show the anlaysis2
    If the prompt value data as the IGS, it should show the anlaysis3
    If the prompt value data as jkl it should show the anlaysis3

    Why 3 diff analysis is because I have my list 2 columns in each anayaiss and they are 3 different tables.

    One more thing

    Obiee do we have a show and a return value for a radiobutton/drop-down list. As show us abc how invites and returns 1. is possible?

    Thank you

    Published by: user123 on July 12, 2011 12:29

    You can have n number of reports, simply use the union all in the dash prompt sql results and this will give you the choice to select any report you want.

  • Pass a string value to the dialogue

    Hello

    I have a dialog box in a pop-up window. In the dialog box, I text with messages hardcoded as "are you sure you want to delete this item? However, I want to make the most significant message passing a string value, while she reads "Are you sure you want to remove the 'New York' from your database?" My guess is to set up the Group of resources such as:

    MESSAGE = are you sure you want to remove {0} from your database?

    But how I pass 'New York '?

    Thanks a bunch!

    Bones Jones

    You can set the value read from the resource group in a variable as the value for the outputText and pageFlowScope in the dialog box

    {} public void onClick (ActionEvent actionEvent)

    Read the value of the resource as in your code and put the result in the PageFlowScope
    String confirmDelete = resourceBundle.getString ("CONFIRM_DELETE");
    Object [] args = {"New York"};
    String result = MessageFormat.format (confirmDelete, args);

    Map = pageFlowScopeMap
    AdfFacesContext.getCurrentInstance () .getPageFlowScope ();
    pageFlowScopeMap.put ("ConfirmationMessage",
    * "Do you want to delete'); *

    DISPLAY THE CONTEXT MENU
    Tips RichPopup.PopupHints = new RichPopup.PopupHints ();
    Popup.Show (Hints);
    }

    . JSPX Page:



    actionListener = "#{ContainerPageBean.onClick}" > "
    contentDelivery = "lazyUncached".
    Binding = "#{ContainerPageBean.Popup}" > "

    *
    ID = "ot1" / >


    Thank you
    Nini

  • How to pass a variable value into a hyperlink?

    Hello

    I put a variable value by using <? xdoxslt:set_variable ($_XDOCTX, 'tstview', concat ((xdoxslt:get_variable($_XDOCTX,'env_url')), (xdoxslt:get_variable($_XDOCTX,_'testpage')))? >)
    I am able to the value of the variable is displayed correctly. I would use this value to create a hyperlink by specifying {$tstview} {ID} in the text of the hyperlink box. However, when I do that, I get the error message: Undefined Variable: "tstview."

    How can I pass the value of the variable to create a hyperlink? Is there another way to do this? I want to be able to build the hyperlink in a dynamic way. Please let me know.

    Thank you!!
    
    

    or try

    {xdoxslt:get_variable($_XDOCTX,'env_url')}{ID}
    
  • How to read a counter value for the separation of the two edge before meter is stopped by the second edge (6602 Council)?

    I use a timer/counter with DAQmx 6602. I use the separation of two - available via DAQmx cash edge. Count between the two edges works properly, however I do not know how to read the value of the counter during the counting operation (i.e. after the first edge triggered the beginning of the count, but before the second edge triggered the end of the counting). I'll have to wait for the second goes off the edge of the end of the countdown until I can get a counter value. I need to be able to access the current value of the County during the count operation. This was possible in traditional DAQ. How can it be accomplished using DAQmx?

    Ah shoot - I was afraid that this might be the case (for what it's worth, my series of X returned intermediate values, but the material and the underlying driver are quite different)...

    You just need to take one measure at a time or you are buffer several measures of separation of the two edges at the same time?  So just to take one measure at a time, you can set a task of edges of count using the database internal time as the source using an arm start trigger (first edge) and a sample of clock (second Board) to work around the problem.

    Best regards

  • How to get 3table of values in the row of acronym in 11g

    Hi all
    I have 3 tables,
              Tab1
    Ck_no   amt
    1     2000
    
    
              Tab2
    
    Ck_no          Line        amt
      1              1         1000
      1              2         1000
    
    
             Tab3
    
    Ck_no         Line          sub        amt
    1               1            1          500
    1             1            2          500
    1               2            1          100
    1               2            2          200
    1               2            3          700
    In all ck_no tables is common.
    Since the 3 tables above, I need the output in the following format,

    Amt1    amt2      amt3     amt4   amt5     amt6    amt7        amt8     amt 9
    2000    1000    1000      500     500        500     100        200       700
    Can someone help me in this?

    Thank you


    Kind regards
    Gurujothi

    Published by: Gurujothi on July 9, 2012 20:46

    Published by: Gurujothi on July 9, 2012 20:47

    Gurujothi wrote:
    I know how to get the values in a row for a single column,
    ...
    but I get the error,

    Too Many values
    

    How do I change this?

    Please post your data in the example, the expected results of these data and explain the logic so that we can understand how the data relate to each other.

    In your original post, it is not clear how amt4, amt5 abd amt6 therefore show them all 500 when there are only two 500 values in the source data.

    SQL> ed
    Wrote file afiedt.buf
    
      1  with Tab1 as (select 1 as ck_no, 2000 as amt from dual)
      2      ,Tab2 as (select 1 as ck_no, 1 as line, 1000 as amt from dual union all
      3                select 1, 2, 1000 from dual)
      4      ,Tab3 as (select 1 as ck_no, 1 as line, 1 as sub, 500 as amt from dual union all
      5                select 1, 1, 2, 500 from dual union all
      6                select 1, 2, 1, 100 from dual union all
      7                select 1, 2, 2, 200 from dual union all
      8                select 1, 2, 3, 700 from dual)
      9  --
     10  -- END OF TEST DATA
     11  --
     12  select ck_no
     13        ,max(decode(rn,1,amt)) as amt1
     14        ,max(decode(rn,2,amt)) as amt2
     15        ,max(decode(rn,3,amt)) as amt3
     16        ,max(decode(rn,4,amt)) as amt4
     17        ,max(decode(rn,5,amt)) as amt5
     18        ,max(decode(rn,6,amt)) as amt6
     19        ,max(decode(rn,7,amt)) as amt7
     20        ,max(decode(rn,8,amt)) as amt8
     21        ,max(decode(rn,9,amt)) as amt9
     22  from (
     23        select ck_no, amt, row_number() over (partition by ck_no order by ord, line, sub) as rn
     24        from (
     25              select 0 as ord, ck_no, 0 as line, 0 as sub, amt from tab1 union all
     26              select 1 as ord, ck_no, line, 0 as sub, amt from tab2 union all
     27              select 2 as ord, ck_no, line, sub, amt from tab3
     28             )
     29       )
     30* group by ck_no
    SQL> /
    
         CK_NO       AMT1       AMT2       AMT3       AMT4       AMT5       AMT6       AMT7       AMT8    AMT9
    ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ----------
             1       2000       1000       1000        500        500        100        200        700
    
  • How to pass parameters to Date on the data model

    Hi all
    I try to pass parameters of date on the data model and unable to pull all the data. When I tried hard-coded in the SQL query, it works. Here is the data model, can I pass parameters directly to the dataquery?
    I searched a lot but couldn't find it. Any help is greatly appreciated.

    <? XML version = "1.0" encoding = "WINDOWS-1252"? >
    < name of dataTemplate = "AIMS_VDIS_VALIDATION_REPORT" description = 'Invalid records in the GOALS and for the given date VDIS' version = "1.0" >
    < Parameters >
    < name of the parameter = "p_start_date" dataType = "date" / >
    < name of the parameter = "p_end_date" dataType = "date" / >
    < / Parameter >
    < dataQuery >
    < SQLStatement instance name = "T4" >
    <! [CDATA [SELECT pgw_custom. Account_Validate (acct_new) invalid,
    acct_new,
    DECODE (pgw_custom. Account_Validate (acct_new), 0, 'ACCOUNT OF OBJECTIVES not VALID', 'VALID OBJECTIVES ACCOUNT') message
    Of
    (SELECT DISTINCT SUBSTR (acct, 1, 3) |) JE_CAP | SUBSTR(ACCT,8) acct_new
    Of
    (SELECT the jav.jav_hours hours,
    ACCT GCC.concatenated_segments,
    GCC.code_combination_id ccid,
    $ (bua.hourly_rate * jav.jav_hours);
    CASE WHEN (um.class2 IN (' a ',' B', 'C', d ', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', ',' n, 'O', 'P', 'Q', 'R', 't')) THEN '3201'
    WHEN (um.class2 IN ('Z', "ZA", "ZA1', 'W', 'U', 'V', 'X', 'Y',"ZA2","ZB","ZC","ZD", the from ')) THEN '3301 '."
    END je_cap
    OF pgw_custom.jems_aims_vehicle jav,.
    Apps.mtl_generic_dispositions mg/d,
    Apps.gl_code_combinations_kfv gcc,
    mfour.unit_main@m4prg01 uh,.
    BUA mfour.bill_unit_acct@m4prg01
    WHERE jav.jav_glaccount = mgd.segment1 AND
    MGD.distribution_account = gcc.code_combination_id AND
    JAV.jav_vehicle = um.unit_no AND
    UM.unit_id = bua.unit_id AND
    JAV.jav_project IS NULL AND
    JAV.jav_task IS NULL AND
    JAV.jav_charge_date BETWEEN: p_start_date AND: p_end_date AND
    GCC.detail_posting_allowed = 'Y' AND
    GCC.enabled_flag = 'Y' AND
    NVL (gcc.end_date_active, TO_DATE('31-DEC-4720','DD-MON-YYYY')) > = SYSDATE AND
    SUBSTR (bua.billing_code, 1, 1) = "I" AND
    ((bua.eff_dt < = (SELECT date_fin)))
    OF apps.gl_periods
    WHERE period_name = (SELECT TO_CHAR(:p_end_date,'MON-RRRR') FROM DUAL)) AND
    BUA.end_dt IS NULL)
    OR
    (bua.end_dt >(SELECT start_date)
    OF apps.gl_periods
    WHERE period_name = (SELECT TO_CHAR(:p_end_date,'MON-RRRR') FROM DUAL)))
    ORDER BY valid, acct_new]] >
    < / sqlStatement >
    < / dataQuery >

    < dataStructure >
    < group name = "G_ACCTS" source = "T4" >
    < element name = "VALID" value = "valid" / >
    < element name = "NEW_ACCOUNT" value = "acct_new" / >
    < element name = "MESSAGE" value = "message" / >
    < / Group >
    < / dataStructure >
    < / dataTemplate >

    the parameter name must be

    p_start_date
    p_end_date

    And when the report is run, a value must be selected in the settings. Try this default sysdate.

  • How to associate a string value to the enumeration type in the binding of data under the direction of BPM Oracle 11 g

    I have the status value that is a string I have to map to the enum type STATUS in the linking of data, either through simple expr Editor, xpath


    Association of source data must be Xpath mode and destination in singles

    being supported your value in the source similar to the value of your Enum

Maybe you are looking for