Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
manuelslv
Contributor
Contributor

Issue with Add a field on the fly in Qlik Engine JSON API

I'm following this simple three steps example from Qlik help about Add a field on the fly in Qlik Engine JSON API

Add a field on the fly | Qlik Sense for developers Help

I'm not sure is there is a bug in the system, in the steps or if I didn't understood something properly:

Step 1: I create a field using AddFieldFromExpression and seems to be ok:

step1.jpg

 

 

 

 

 

 

 

 

 

 

 

 

 

Step 2: Create a session list object pointing this new field

manuelslv_1-1692710052697.png

Step 3: GetListObject data pointing to previous handle (2)

manuelslv_2-1692710147589.png

Original field called test is properly filled and has values.

 

Which is also weird for me (don't know if related), is if I get field description for the new inserted field is the value and not the given name:

manuelslv_4-1692710589649.png

 

I'm using QS Enterprise Nov 2022 

Thanks in advance

Labels (1)
  • API

1 Reply
ajaykakkar93
Specialist III
Specialist III

Hi,
instead of Step 3: GetListObject data pointing to previous handle (2) try using getlayout()

Please mark the correct replies as Solution. Regards, ARK
Profile| GitHub|YouTube|Extension|Mashup|Qlik API|Qlik NPrinting