Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.
I'm trying to use the .net sdk to list the variables of a particular App.
I have no problem in connecting and getting the app reference, but when I use the GetVariableList() I get a Qlik.Engine.SuspendedLayoutException.
How can I disable or fix SuspendedLayout?
I need variableName, variable expression and description.
This is my very simple code, what's wrong?
Is that really all the code? As far as I know, the only way to trigger that exception in combination with this method:
Either directly or through a use clause like this:
myObj.Properties.Prop = x;
That's quite interesting. I did some variable inspection in visual studio debugger, trying to find the right properties and I some way I turned on suspendedLayout.
But for sure I did not call suspendLayout method in code.
The app itself stopped working and I got a "Qlik internal engine error" if I tried to oper the script editor.
I fixed it by duplicating the app and now the code works perfectly.
Glad you were able to make progress! Though you should not get "Internal engine error" thrown at you. Must be some corner case the engine is not handling well.