Facility Control

 View Only
  • 1.  How to access the "Name" portion of a parameter...

    Posted 03-04-2025 10:03

    Hi All, I'm fairly new to DashBoard, so I'm hoping someone will have an easy answer for this.  I am using the "Value" of a parameter to select an image for preview.  My parameter and the script I am using are the upper 2 items in the attached image.  I am searching for the script that will return the "Name" from the selected item in the paramater at the bottom of the image.  None of my attempts have worked, so I am hoping the experts here can help me out.  My thanks for any info you can pass along.

    I'm looking for script to return value of the selected


    ------------------------------
    Kraig
    ------------------------------


  • 2.  RE: How to access the "Name" portion of a parameter...

    Posted 03-05-2025 04:59

    Hi Kraig, to get a name of an integer param use params.getValueAsString()

    var name = params.getValueAsString('IMAGE_PROMOS_IN', 0);

     



    ------------------------------
    Richard Crutwell
    Ross Video UK
    ------------------------------



  • 3.  RE: How to access the "Name" portion of a parameter...

    Posted 03-07-2025 13:29

    Thanks!



    ------------------------------
    Kraig
    ------------------------------