Facility Control

 View Only
  • 1.  Can no longer paste code from DashBoard into this forum?

    Posted 07-18-2019 00:08

    So that's a major fail I guess?
    I can no longer paste code copied from DashBoard source into the forums...

    Somewhat useless as a forum for DashBoard then...



  • 2.  RE: Can no longer paste code from DashBoard into this forum?

    Posted 07-18-2019 17:56

    Hi Aleksander.

    I went through the steps to copy/paste custom panel code into  the editor and can verify that there is a problem. I have escalated  this to our forum team so it can get resolved as soon as possible.

     

    James


    #DashBoard


  • 3.  RE: Can no longer paste code from DashBoard into this forum?

    Posted 07-18-2019 19:09

    Hi James! Sounds good!

    Feel free to delete this post once it's fixed then.


    #DashBoard


  • 4.  RE: Can no longer paste code from DashBoard into this forum?

    Posted 07-19-2019 18:06

    Pasting some test code in - appears to be working again!

     

    <abs contexttype="opengear">
    <meta>
    <params>
    <param access="1" constrainttype="INT_CHOICE" name="ME1 Buses" oid="ME1_Buses" precision="0" type="INT32" value="0" widget="radio-toggle">
    <constraint key="0">Src 1</constraint>
    <constraint key="1">BK</constraint>
    <constraint key="2">BK</constraint>
    <constraint key="3">BK</constraint>
    <constraint key="4">BK</constraint>
    <constraint key="5">BK</constraint>
    </param>
    <param access="1" constrainttype="INT_CHOICE" name="ME1 Background Selection" oid="ME1_Background_Selection" precision="0" type="INT32" value="0" widget="radio-toggle">
    <constraint key="0">Src 1</constraint>
    <constraint key="1">Src 2</constraint>
    <constraint key="2">Src 3</constraint>
    </param>
    </params>
    </meta>
    <param expand="true" height="113" left="120" oid="ME1_Buses" style="style:toggleButton" top="72" width="1026"/>
    <param expand="true" height="127" left="65" oid="ME1_Background_Selection" style="style:toggleButton;" top="253" width="952">
    <task tasktype="ogscript">var labels = [];
    labels[0] = params.getValueAsString('ME1_Background_Selection', 0);
    for (var i = 1; i &lt; 6; i++)
    {
    labels[i] = 'BK';
    }

    params.replaceConstraint('ME1_Buses', params.createIntChoiceConstraint(labels));
    </task>
    </param>
    </abs>

    #DashBoard


  • 5.  RE: Can no longer paste code from DashBoard into this forum?

    Posted 07-19-2019 20:59

    Goodie! Thanks James!
    Feel free to delete this post if you want. No need for it anymore now then.


    #DashBoard