FUXA
FUXA copied to clipboard
Get two parameters for a function from script system function
Hi, I have created and added a function on script system function. My function requires two parameters (two tag ids). So when I call the function on script editor, tag selection window is opening. Here I must select the parameters (the two tags), but I'm allowed to select only one. The second parameter I have to type manually or to call the $getTag function. What could I do to get both tags when calling my function?
Hi, sorry but I don't understand, can you send me an image that clarifies?
Hi,
My function requires 2 word tags as parameters. When I click on $WordsToReal
, tag selection window is opening.
In the below image, I can select only one tag. On tag selection window, I need to select both tags (WORD1 and WORD2).
What should I do to be able to select both tags from tag list?
The DeviceTagSelectionComponent receives as a parameter data: DeviceTagSelectionData, set the attribute multiSelection to true
Thanks for reply!
I have modified on scipt-editor.component.ts
multiSelection: true. Now I'm able to select both tags. But after selecting them, what I get is:
What should I get is:
I have modified on client\src\app\_models\script.ts
$WordsToReal's params in so many manners but I couldn't succeed.
What should I do to get both parameters called on $WordsToReal function?
The issue is not so simple, because I would also like to be able to define in which order they should be bound