Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Not applicable

Struct variables in Qlik Sense

Hello!

I am exploring ways to use variables in Qlik Sense. Is there a way to create struct variables in the data load editor on this form?

SET playerPos = {

     x: 1,

     y: 2

};

Obviously I tried the above code which when referred to (=playerPos) just returns { x: 1, y: 2 };

As you may understand I'm trying to achieve the possibility to access the x and y attribute by playerPos.x and playerPos.y.

Thanks!

Daniel Odenbrand

1 Solution

Accepted Solutions
Not applicable

Re: Struct variables in Qlik Sense

As what I've heard up until now is that it's not possible as of today. Of course you can do workarounds like representing structs via string and create parser functions for setting and getting attributes, but this is indeed quite tedious. Maybe it will be implemented some day.

Regards,

Daniel

1 Reply
Not applicable

Re: Struct variables in Qlik Sense

As what I've heard up until now is that it's not possible as of today. Of course you can do workarounds like representing structs via string and create parser functions for setting and getting attributes, but this is indeed quite tedious. Maybe it will be implemented some day.

Regards,

Daniel

Community Browser