<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Qlik Sense ODAG API Developers rename app in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-ODAG-API-Developers-rename-app/m-p/1752525#M57978</link>
    <description>&lt;P&gt;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.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I are using the ODAG Qlik Sense API,&amp;nbsp; but I have to make 2 API calls before I call generateApp in order to dynamically set the app name everytime.&lt;/P&gt;&lt;P&gt;I found this info &lt;A href="https://help.qlik.com/en-US/sense-developer/June2019/apis/ODAGserviceAPI/index.html?page=53" target="_blank"&gt;https://help.qlik.com/en-US/sense-developer/June2019/apis/ODAGserviceAPI/index.html?page=53&lt;/A&gt;&lt;/P&gt;&lt;P&gt;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.&lt;BR /&gt;But I can’t seem to get the syntax working.&lt;/P&gt;&lt;P&gt;Here’s my code, see below.&lt;/P&gt;&lt;P&gt;What I would like is an expression in that second params such as ‘$(variable_name)’ or $(‘fieldName1’), the API&lt;/P&gt;&lt;P&gt;says you can use expressions for the values, &lt;A href="https://help.qlik.com/en-US/sense-developer/June2019/apis/ODAGserviceAPI/index.html?page=26" target="_blank"&gt;https://help.qlik.com/en-US/sense-developer/June2019/apis/ODAGserviceAPI/index.html?page=26&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but I keep getting the following error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;errType:&amp;nbsp;"Calling Application"&lt;/LI&gt;&lt;LI&gt;message:&amp;nbsp;"Validation failed on the property: 'genAppName'. Reason: The parameter specified for the link property at genAppName.params[1] is not valid: $(Upper('JOJOJO')).."&lt;/LI&gt;&lt;LI&gt;msgCode:&amp;nbsp;"ODAG-ERR-1010"&lt;/LI&gt;&lt;LI&gt;statusCode:&amp;nbsp;400&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 17:58:11 GMT</pubDate>
    <dc:creator>jroc26</dc:creator>
    <dc:date>2024-11-16T17:58:11Z</dc:date>
    <item>
      <title>Qlik Sense ODAG API Developers rename app</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-ODAG-API-Developers-rename-app/m-p/1752525#M57978</link>
      <description>&lt;P&gt;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.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I are using the ODAG Qlik Sense API,&amp;nbsp; but I have to make 2 API calls before I call generateApp in order to dynamically set the app name everytime.&lt;/P&gt;&lt;P&gt;I found this info &lt;A href="https://help.qlik.com/en-US/sense-developer/June2019/apis/ODAGserviceAPI/index.html?page=53" target="_blank"&gt;https://help.qlik.com/en-US/sense-developer/June2019/apis/ODAGserviceAPI/index.html?page=53&lt;/A&gt;&lt;/P&gt;&lt;P&gt;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.&lt;BR /&gt;But I can’t seem to get the syntax working.&lt;/P&gt;&lt;P&gt;Here’s my code, see below.&lt;/P&gt;&lt;P&gt;What I would like is an expression in that second params such as ‘$(variable_name)’ or $(‘fieldName1’), the API&lt;/P&gt;&lt;P&gt;says you can use expressions for the values, &lt;A href="https://help.qlik.com/en-US/sense-developer/June2019/apis/ODAGserviceAPI/index.html?page=26" target="_blank"&gt;https://help.qlik.com/en-US/sense-developer/June2019/apis/ODAGserviceAPI/index.html?page=26&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but I keep getting the following error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;errType:&amp;nbsp;"Calling Application"&lt;/LI&gt;&lt;LI&gt;message:&amp;nbsp;"Validation failed on the property: 'genAppName'. Reason: The parameter specified for the link property at genAppName.params[1] is not valid: $(Upper('JOJOJO')).."&lt;/LI&gt;&lt;LI&gt;msgCode:&amp;nbsp;"ODAG-ERR-1010"&lt;/LI&gt;&lt;LI&gt;statusCode:&amp;nbsp;400&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:58:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-ODAG-API-Developers-rename-app/m-p/1752525#M57978</guid>
      <dc:creator>jroc26</dc:creator>
      <dc:date>2024-11-16T17:58:11Z</dc:date>
    </item>
  </channel>
</rss>

