Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

How can I custom UI from connector code

Hello all,   I'm developing a custom connector and it works good. The function Contents() takes 3 parameters: Environment (required), DateFrom (optional) and DateTo (optional): Then the fun...
  • artemus's avatar
    artemus
    6 years ago

    You should be able to refer to it if it is in scope. Just use a function which returns a function.

     

     

    DataFunction = (id as number) as function => (start, end) => // Use the id, start and end parameters

     

     

    And before you ask adding documentation to the function there is a bit buggy. Also if all parameters are optional, it will load the data automatically and then let the user modify them.