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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
jroc26
Partner - Contributor II
Partner - Contributor II

Qlik Sense ODAG API Developers rename app

I am trying to see if there’s a way to set the Odag template app names dynamically using a variable or field that’s present in the sheet. 

I are using the ODAG Qlik Sense API,  but I have to make 2 API calls before I call generateApp in order to dynamically set the app name everytime.

I found this info https://help.qlik.com/en-US/sense-developer/June2019/apis/ODAGserviceAPI/index.html?page=53

that I was trying to use to set the properties initial when the sheet is loaded that would populate the name from a field or variable.
But I can’t seem to get the syntax working.

Here’s my code, see below.

What I would like is an expression in that second params such as ‘$(variable_name)’ or $(‘fieldName1’), the API

says you can use expressions for the values, https://help.qlik.com/en-US/sense-developer/June2019/apis/ODAGserviceAPI/index.html?page=26 

but I keep getting the following error

 

  1. errType: "Calling Application"
  2. message: "Validation failed on the property: 'genAppName'. Reason: The parameter specified for the link property at genAppName.params[1] is not valid: $(Upper('JOJOJO')).."
  3. msgCode: "ODAG-ERR-1010"
  4. statusCode: 400

 

Labels (1)
0 Replies