Hi
I'm trying to set the datasource for a gallery based on the function Table()
This is working as the datasource for the gallery:
Table( { text: "Google"; url: "https://www.google.dk" } )
BUT
If I instead use this approuch an created the gallery-datasource based on a variable it is not working.
sourceText.Text = "{ text: "Google"; url: "https://www.google.dk" }";
Table(sourceText.Text)
Why is that not possible, what do I do wrong? Do I have to convert somehow? Please help.
Best regards, Jan