Facility Control

 View Only
  • 1.  Parameter - Hide from DataLinq/Streaming

    Posted 05-05-2019 18:55

    This might be a wierd one, and I dont THINK it's in DashBoard allready, if so I have yet to stumble across it.

    Is it possible to somehow hide/disable a parameter from streaming to DashBoard?
    I get that it should be "on" by default, but having a little checkbox in the parameter setup that just says "hide from DataLinq" that would be perfect.

    Reason I want this is because I have hundreds of parameters making up different tables etc in my DashBoard, and while naming gets me where I need when going through DataLinq in Xpression, being able to hide all the parameters I am NOT interested in getting at that moment would be very helpfull...

    So, if not possible, maybe a future feature request? :)



  • 2.  RE: Parameter - Hide from DataLinq/Streaming

    Posted 05-06-2019 17:43

    There is no UI to expose this property but it does exist. You will need to modify the parameter definition XML (where you set the parameter type, constraint, etc.) and add the attribute:

     stream="false"


    For example:

    <param stream="false" access="1" maxlength="0" name="My Parameter" oid="My_Parameter" type="STRING" value="" widget="text"/>

    #DashBoard


  • 3.  RE: Parameter - Hide from DataLinq/Streaming

    Posted 05-06-2019 20:21

    Well looky there! Perfect! I can definetly add those myself to the parameters in question.


    #DashBoard


  • 4.  RE: Parameter - Hide from DataLinq/Streaming

    Posted 05-08-2019 11:59

    Follow up question... Is there a way to set this to be false by default?
    I know.. I could like disable the streaming of data, but in my case, setting it as false default, but then enabling when needed would be an easier approach...


    #DashBoard


  • 5.  RE: Parameter - Hide from DataLinq/Streaming

    Posted 05-08-2019 13:14

    Presently, no. Once streaming is enabled for a panel, all parameters will stream except for those explicitly set to "false".  Happy to add a feature request to provide a way to set the default state for parameters inside a particular panel.


    #DashBoard


  • 6.  RE: Parameter - Hide from DataLinq/Streaming

    Posted 05-08-2019 13:25

    Ahhh, well, ok!

    As for what to ask for, setting a default state would be usefull in some cases, but adding a "hide from Streaming" checkbox in the parameter list would be more usefull in most cases. So if I gotta choose one of them, adding the UI element to expose this would be more usefull.

    ----

    Now, thinking a bit to our other post, two part-question followup:

    1. Can I set the "stream=false/true" like we set the access with the example you provided here:
      https://support.rossvideo.com/hc/en-us/community/posts/360043350151-Change-parameter-widget-attribute

      Something like:
      params.setStream('My_Parameter', 0); //0 = read only, 1 = read/write 
    2. And if there is... Is there a way in DashBoard to query ALL OIDs from the DashBoard and then iterate through each and every one of them to add this? I mean That is a function I could run onLoad, and I could even add an array to set a list of parameters that I WANT to be streamed.

    #DashBoard