Facility Control

 View Only
  • 1.  Function execution limitations?

    Posted 01-25-2019 17:05
    I've got a button with a function defined inside it. Works great. If I move that function elsewhere and then try to call it then it doesn't work at all. Am I doing something wrong or is this a limitation? I'd like to perform the work that this function does from multiple locations so using a function is obviously better than maintaining multiple copies of the same code.

    Thanks!
    Erik


  • 2.  RE: Function execution limitations?

    Posted 01-25-2019 17:12
    Figured it out, I needed to wrap the function in API tags inside the META section. Now it's working as expected.
    #DashBoard