How to access a value of "List of values" by giving a name?

I have a "list of values" defined in my report of BI. It includes a list of pairs of value of the label.

I've defined a parameter: p_Value for the definition of "List of values" above. This parameter is used in the definition of sql data source to filter the query results. I set up a model that has a table which shows all the parameters used for filtering the results of the query. If I give <? $p_Value? > in the model, then the value parameter is returned to this subject. But I want the 'name' of the setting, not the value. Can someone tell me how to access the name of the parameter that refers to a value in the definition of "value list"?

option 1:
You can get the value of the DB in the sql report?

You have the code inside the report query, if you can get the decoded form of value which

option 2:
create another parameter, LOV and query, make the most hidden and use the first: param_1_value in the lov query in the second param and decoding the value.

Now you can check the: PARAM_2_value in the model that will be decoded value.

Tags: Business Intelligence

Similar Questions

  • How to access the value of the point of application in javascript

    How to access the value of the point of application in javascript?

    Hello

    A way

    var myVariable = '&MY_APP_ITEM.';
    

    BR, Jari

  • How to access the values of the object View Other or objects entities

    HelloW.
    I need help, I have the validation of the IUCN IUCN impl methods, I need to access the values of other objects in view o entities to validate.
    How do I?
    Help, please

    Go you to other entities via binding accessors when entities you will access are related by an association. Otherwise to access other objects in the view definition of your needs through accessors from view in the connected user reviews section.

    http://download.Oracle.com/docs/CD/E17904_01/Web.1111/b31974/bcentities.htm#insertedID12

  • How to access the value of a group of radio in javascript

    Definition of radio as a group below:
    STATIC2:mango; 1: 5; 3, grapes, Apple; 4, pineapple; 2, orange

    We need to access the value of a group of radio in javascript. Please let us know how to reach?

    Hello

    You can use the API javascript Apex as $v

    var l_my_value = $v('Px_MY_RADIO');
    

    http://download.Oracle.com/docs/CD/E14373_01/apirefs.32/e13369/javascript_api.htm#CHDEJEIG

    BR, Jari

  • How to access the values in column fron a report (region)

    Hello

    In the region of report footer section, I want to access the value of a column (e.g. name col = COL01) for first place. I know that I can access total number of rows using #TOTAL_ROWS #. Is it possible to do this?

    Thanks in advance,
    Paresh

    Hello

    I did not have a v2 to try this out, but try this:

    1. in your report, add the following in the header of the region:

    <div id="TheReport">
    

    2 - in the foot of the region:

    </div>
    <script type="text/javascript">
    var t = document.getElementById("TheReport");
    var r = t.getElementsByTagName("TABLE")[1];
    var rows = r.rows;
    var tds = rows[0].cells;
    var k;
    if (tds)
    {
     for (k = 0; k < tds.length; k++)
     {
      if (tds[k].id == 'ENAME')
      {
        alert(rows[1].cells[k].innerHTML);
      }
     }
    }
    </script>
    

    Remove your old javascript code and replace line alert() with all you need to do with the value of .cells [k] .innerHTML lines [1].

    This includes in your report in a div tag The JavaScript find it and gets the second table (the table report is a table of the area which is now within the DIV tag). As older versions of the Summit has not used the attribute "headers" on cells, we check the ID values for the column headings in row [0] - once we found the right column, we retrieve the corresponding value according to the data in row of lines [1].

    Andy

  • How to access the values of the properties file

    Hello

    I use Jdeveloper 11.1.2.2

    I need to get some of the values of the properties file to use in a java class.

    How can I access the .properties file and the values in them.

    Thank you
    Nigel.

    Nigel,
    If you are using FileReader, you must specify the actual path where the file is located. In your sample, the file must be in "/ foundation/model/am/view/Test.propeties". I guess that you don't have this access path on your system as it look like the path to your source folder.

    I use the ResourceAsStream like this:
    Create a file de.hahn.testproxy.backingbeans.test.properties with the following content:

    Test=hallo
    Test2=world
    

    the path is relative my source in the test project path.

    Then, I implemented a listener like:

        private static ADFLogger _logger =
            ADFLogger.createADFLogger(XxyyzzBean.class);
        public void propertiesTestListner(ActionEvent actionEvent) {
            // instead of using the de.hahn.testproxy.backingbeans.test.properties you have to use de/hahn/testproxy/backingbeans/test.properties
            InputStream asStream =
                this.getClass().getClassLoader().getResourceAsStream("de/hahn/testproxy/backingbeans/test.properties");
            if (asStream == null) {
                // file not found
                _logger.info("file not found");
                return;
            }
            Properties p = new Properties();
            try {
                p.load(asStream);
            } catch (IOException e) {
                e.printStackTrace();
            }
            if (!p.isEmpty()) {
                _logger.info("Properties: " + p.toString());
            }
        }
    

    and get the result if I bind the listener to a button in the user interface:

    Properties: {Test = hallo, Test2 = world}

    And make sure that the Test.properties file is copied to the output directory.

    Timo

  • How to access the value of the 'createTime', or any other property root?

    I would like to focus on the value of the property Root 'createTime' in a custom property so that when I load and edit the file, I can still see when the original file was created. I'm sure there is a simple solution, but I can't make it work.

    My code of the use is so far along the lines of:

    Test_Date var: Test_Date =?  (In other posts I've seen code ith "RootElements ("createTime")" and a mention of "Value.VariantDate", but I don't know how to operate).

    Call Root.Properties.Add ("Test_Date", Test_Date)

    Thanks for any help.

    Kevin


  • How to access the value of form element in Database Trigger

    Hello
    Is it possible to access value of form element in triggering the database?
    I have the form that at the table base another element called P14_Insert_to_waiting_list, I want to check the value of this question in the trigger Before Insert deletion of update of TABLE1 and take measures to insert, update, delete record in TABLE2.

    Thanks in advance
    Aali

    Hello

    You can do it with the v function.

    v('P14_Insert_to_waiting_list')
    

    I think the name of the element is case sensitive, in order to verify that

    Edit
    You can also use APEX_UTIL. GET_SESSION_STATE
    http://download.Oracle.com/docs/CD/E14373_01/apirefs.32/e13369/apex_util.htm#CHDEJEJE
    V is just smaller

    You can also use the shortcut function V, instead of APEX_UTIL. GET_SESSION_STATE.

    BR, Jari

    Published by: jarola on October 27, 2009 11:03

  • How to access the value of component

    Hi I wan to show/hide a panelBox according to the value in a box (a database in a table field).
    I want to render... or something like that to #{expression that gets the current value of the line of the field chechbox}
    It was simply: BLOCDONNEES. On the GROUND... but here I am naïve how to get

    Thank you kquizak

    Hello

    in forms, it gave you the current data of the selected line. Do the same thing in ADF (always keep in mind that it is a web application and either a thick client)

    -Assuming you're on JDeveloper 10.1.3 (because you do not explicitly), set to the tableSingleSelect component autosubmit = true
    -on the table, define a ValueChange listener that you create in a managed bean. Ideally this managed bean has the pair Set/getter accessor that
    is used by the panelBox
    -define a PartialTrigger on the panelBox to reference the id of the table
    -In the valueChange relaxation, retrieve the data of table cell you want to use for the evaluation

        public void onRowChange(SelectionEvent selectionEvent) {
    
           // keep the default functionality
           FacesContext fctx = FacesContext.getCurrentInstance();
           MethodBinding mb = fctx.getApplication().createMethodBinding("#{bindings.DepartmentsView1.collectionModel.makeCurrent}",new Class[]{SelectionEvent.class});
           mb.invoke(fctx,new Object[]{selectionEvent});   
    
           //add your functionality
    
            JUCtrlValueBindingRef wrappedRowData = (JUCtrlValueBindingRef)((CoreTable)selectionEvent.getComponent()).getSelectedRowData();
            Row rw = wrappedRowData.getRow();
    
            ... = rw.getAttribute("name_of_attribute");
    
            //set the variable to the cell value
            ...
    
        }
    

    -set the managed bean variable that is referenced by the panelBox to true/false

    Frank

    PS. : JDeveloper 11 is almost similar: there is no such thing as the tableSelectOne component and the EL changed ;-)

  • How to access attribute value of an another VO using groovy?

    Hello, I am using JDeveloper 11.1.2.3.0

    I read a lot of information about it, but still miss me something. I'm trying to set the value of a variable of liaison through the Groovy expression in my VO. I want that this variable binding

    for the value of an attribute of an another VO. I tried "adf.object.MyAppModuleImpl.findViewObject('Users1').currentRow.Iduser"

    I'm ' oracle.jbo.expr.JISyntaxError: MyAppModuleImpl Variable not recognized. " I tried with "MyAppModule" only, but the result is the same.

    Can anyone help please?

    Thank you

    In the t where variable binding is defined, add accessor seen at the second VO (from anywhere make profitable) and name it "SecondVO" for example.

    Then, for the binding variable, set more expression:

    SecondVO.currentRow.Iduser

  • access the value in the document class

    Hello I am trying to access a value in the document class. but I can't make it work.

    what I have is:

    can someone tell me how to access the value of myArray?

    Bomberman.As:

    package {}

    import flash.display.MovieClip;

    public class bomberman extends MovieClip {}

    public var myArray:Array = []; trying to access this value

    public void bomberman() {}

    init();

    trace (document.docClass);

    }

    private void init() {}

    var square: Array = [];

    for (var i: Number = 0; i < 11; i ++) {}

    for (var j: Number = 0; j < 11; j ++) {}

    var temp: grassSquare;

    If (i == 0 |) I == 10) {}

    Temp = new grassSquare (i * 50, j * 40);

    addChild (temp);

    Square.push (temp);

    } Else if (i %2! = 0) {}

    If (j == 0 | j == 10) {}

    Temp = new grassSquare (i * 50, j * 40);

    addChild (temp);

    Square.push (temp);

    myArray.push (false);

    } else {}

    myArray.push (true);

    }

    } else {}

    If (j %2 == 0) {}

    Temp = new grassSquare (i * 50, j * 40);

    addChild (temp);

    Square.push (temp);

    myArray.push (false);

    } else {}

    myArray.push (true);

    }

    }

    }

    }

    }

    }

    }

    Bomberman.fla:

    import flash.events.KeyboardEvent

    var User1:Player1 = new Player1;

    stage.addEventListener (KeyboardEvent.KEY_DOWN, User1.fl_SetKeyPressed);

    User1.x = 75;

    User1.y = 60;

    addChild (User1);

    Player1.as:

    package {}

    import flash.display.MovieClip;

    import flash.events.Event;

    import flash.events.KeyboardEvent

    import flash.ui.Keyboard

    SerializableAttribute public class extends MovieClip {Player1

    private var upPressed:Boolean = false;

    private var downPressed:Boolean = false;

    private var leftPressed:Boolean = false;

    private var rightPressed:Boolean = false;

    private var currentSquare:uint = 12;

    public void Player1() {}

    this.addEventListener (Event.ENTER_FRAME, fl_MoveInDirectionOfKey);

    stage.addEventListener (KeyboardEvent.KEY_DOWN, fl_SetKeyPressed);

    }

    public void fl_MoveInDirectionOfKey(event:Event)

    {

    If (upPressed & & this.y > = 100 /* & & document.myArray [currentSquare-1] * /)

    {

    This.y-= 40;

    upPressed = false;

    currentSquare-= 1;

    }

    If (downPressed & & this.y < = 340 / * & & this.myArray [currentSquare + 1] * /)

    {

    This.y = 40;

    downPressed = false;

    currentSquare += 1;

    }

    If (leftPressed & & this.x > = 125 / * & & /*this.myArray[currentSquare-11]*/)

    {

    This.x-= 50;

    leftPressed = false;

    currentSquare = 11;

    }

    If (rightPressed & & this.x < = 425 / * & & /*this.myArray[currentSquare+11]*/)

    {

    This.x += 50;

    rightPressed = false;

    currentSquare += 11;

    }

    trace (currentSquare);

    }

    public void fl_SetKeyPressed(event:KeyboardEvent):void

    {

    switch (event.keyCode)

    {

    case Keyboard.UP:

    {

    upPressed = true;

    break;

    }

    case Keyboard.DOWN:

    {

    downPressed = true;

    break;

    }

    case Keyboard.LEFT:

    {

    leftPressed = true;

    break;

    }

    case Keyboard.RIGHT:

    {

    rightPressed = true;

    break;

    }

    }

    }

    }

    }

    any class that is added to your list of display:

    MovieClip (root) .myArray

  • Could not access the value of the component off ValueChangeListener

    In many cases, I need to use the value of some UIComponent during execution in many places in the application. But the problem is that I could not access the value of the component outside the ValueChangeListener of this component. I tried to store this value in a temporary local variable, I also tried to use the opportunity to link , but it did not work.

    This thread changes made on the ValueChangeListener can't think where else

    said I should go ahead everything in the ValueChangeListener but is not useful in my case and it's really limit my choice later.

    So question is: How to access the value of the element external ValueChangeListener?

    I use Jdeveloper with ADF 11.1.2.3 technology

    Hello

    You can create a bean (depending on the application, choose the scope), add a variable with accessors and then use it in the 'value' property of the component.

    Arun-

  • ASD service - how to get the values of Description and reason in the workflow

    Hi all

    I've created a workflow-based service of ASD. When the catalog of the ASD is requested, the first tab is 'Request information' which has the field description and reason. How to access these values to the underlying stream.

    Thank you

    Hello

    Here's a simple solution:

    ASDRequestId = System.getContext () .getParameter ("__asd_catalogRequestId");

    ASDRequest = vCACCAFEEntitiesFinder.getCatalogItemRequest(vRA_CAFEHost,ASDRequestId);

    Request_Reason = ASDRequest.reasons;

    Request_Description = ASDRequest.description;

    Request_Owner = ASDRequest.requestedFor;

  • To access the values in the multidimensional tables

    Hello, I created a table sized 2, don't know if it's done properly, but it works like this:

    var arrLines:Array = new Array(new Array());
    arrLines.pop(); // because it creates an empty value to begin with
    

    Anyway, I don't know how to access individual values in this table.

    arrLines.push([100, 200],[300, 400]); // creates 2 compartments each with 2 sub compartments
    trace(arrLines[0]); //displays 100, 200
    

    How would I trace it only to 100 or 200?

    Thank you.

    use:

    var arrLines:Array = new Array();
    //arrLines.pop(); // because it creates an empty value to begin with
    
    
    arrLines.push([100, 200],[300, 400]); // creates 2d array
    trace(arrLines[0][0]); //displays 100trace(arrLines[0][1]); //200trace(arrLines[1][0]); //300trace(arrlines[1][1]); //400 
    

    Thank you.

  • How to access custom in the .vm file properties

    Hello

    I have created custom property for the screen using file-> project properties.

    This property applies to one of my screen.

    If I want to access the value of the custom property in .vm.

    How to access this value. I tried to use screen.getTest (), but it returns nothing for me.

    For custom controls properties, you can use:

    #set ($value = "")
    #set ($value = $control.getProperties () .get ("PropertyName"))

    So I think for the screen, it should be something like:

    #set ($value = $screen.getProperties () .get ("PropertyName"))

Maybe you are looking for

  • Complete e-mail storage, no email

    Hello Last a few weeks, I was on holiday and in the Middle a vacation, I received an email that my credit card no longer works and I couldn't buy new storage iCloud, unable to solve the problem on vacation I had to go 7 days without upgrade. Now I fi

  • My App Store icon disappeared. I use a 6splus iPhone. How can I get that back?

    The App Store icon on my phone disappeared. How can I get that back?

  • How to know which anti-virus software is installed on the computer

    want to find the State of the computer so I can see what antivirus software is on my computer

  • Webcam compatibility issue-

    I have a quickcam Logitech V-UAP41, I connected it to my computer but my computer says that it will not work with the operating system.  Is there a patch or download it, that I can use to make this webcam work on my new computer?

  • ProBook 6570 manual b

    Hi guys I just got the HP probook 6570b and would like a link to find the operators good instruction book, who is available on the web searches seem to be the configuration of samekeyboard that mine, too, he doesn't have the ability to screen capture