<?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 Re: Qlik Reporting API with selections in SenseExcelTemplate in Reporting Service &amp; Alerting</title>
    <link>https://community.qlik.com/t5/Reporting-Service-Alerting/Qlik-Reporting-API-with-selections-in-SenseExcelTemplate/m-p/2546413#M2757</link>
    <description>&lt;P&gt;Yes, the &lt;A href="https://www.google.com/search?q=Qlik+Reporting+API&amp;amp;oq=This+works+and+it+gives+me+the+right+report%2C+now+I+want+to+add+selections+during+this+API+call+but+i+am+struggling+with+the+right+syntax+for+SenseDataTemplate.+When+i+make+a+similar+request+with+sense-image%2C+the+selections+are+applied+as+described+in+the+documentation.+Can+it+be+that+the+combination+of+SenseDataTemplate+and+selections+does+not+work%3F+Does+anyone+know+how+to+add+fieldselections+in+this+API+call%3F&amp;amp;gs_lcrp=EgZjaHJvbWUyBggAEEUYOdIBCDEyNjRqMGo3qAIAsAIA&amp;amp;sourceid=chrome&amp;amp;ie=UTF-8&amp;amp;mstk=AUtExfB_HA09rblWT8hhq-SxULTTDSU5PyGuo4W4IzKEHlQ5V_6zwwohb2AHQZShO3E1kDCUjdRceaMO2N-JB8BbfbvkuUsLRgXDde1wkNAzSdA08Q0Qpkn02Ylu3vVqDULHV149I2rTjXo6fJbIUrNDccg2vKZoBMppmiph6CUnorgEYMmnB5eW1v1OhjUlh8sWF7SGOzrz3qil_VFGD4F2iERagQ&amp;amp;csui=3&amp;amp;ved=2ahUKEwjdtbWT-N6TAxULv4kEHS0_Fu8QgK4QegQIARAB" target="_blank"&gt;Qlik Reporting API&lt;/A&gt; supports selections with SenseDataTemplate (often used in Excel reporting), but the syntax is stricter than sense-image. Ensure selections are applied inside the templateSelections array within the request body. If the field is a string, use double quotes, and ensure the appId is correct.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Correct Syntax Example&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To apply selections, include the templateSelections structure at the same level as your SenseDataTemplate definition:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/5fa166d3-7f9d-4c2b-9dce-ec978ce28c14.default/image.png" /&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Troubleshooting Steps&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
 &lt;LI&gt;&lt;STRONG&gt;Field Type:&lt;/STRONG&gt; Ensure numerical values are passed without quotes and string values are quoted.&lt;/LI&gt;
 &lt;LI&gt;&lt;STRONG&gt;Case Sensitivity:&lt;/STRONG&gt; Field names are case-sensitive.&lt;/LI&gt;
 &lt;LI&gt;&lt;STRONG&gt;Field Selection API:&lt;/STRONG&gt; If templateSelections fails, ensure you are not missing an "s" in fieldName/values, as API structure is strict.&lt;/LI&gt;
 &lt;LI&gt;&lt;STRONG&gt;Inspect Request:&lt;/STRONG&gt; If it still fails, use the browser developer console to inspect the API call being made by the Qlik Reporting Service.&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Wed, 08 Apr 2026 19:05:15 GMT</pubDate>
    <dc:creator>Greg_Taffer</dc:creator>
    <dc:date>2026-04-08T19:05:15Z</dc:date>
    <item>
      <title>Qlik Reporting API with selections in SenseExcelTemplate</title>
      <link>https://community.qlik.com/t5/Reporting-Service-Alerting/Qlik-Reporting-API-with-selections-in-SenseExcelTemplate/m-p/2507178#M2226</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I have been busy with requesting excel reports from Qlik Saas using the API's using this endpoint:&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://yourtenant.yourlocation.qlikcloud.com/api/v1/reports" target="_blank" rel="noopener nofollow noreferrer"&gt;https://yourtenant.yourlocation.qlikcloud.com/api/v1/reports&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;with this body:&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"type"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"sense-excel-template-1.0"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"output"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"type"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"xlsx"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"outputId"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"xlsx1"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"excelOutput"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"outFormat"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"xlsx"&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;},&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;SenseExcelTemplate&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"appId"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"b555f8b3-c8b4-678e-77aa-30281315a06f"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"id"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"rZbjLrt",&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"templateLocation"&lt;/SPAN&gt;&lt;SPAN&gt;:{&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"path"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;"https://&lt;A href="https://yourtenant.yourlocation.qlikcloud.com/api/v1/reports" target="_blank" rel="noopener nofollow noreferrer"&gt;yourtenant.yourlocation&lt;/A&gt;.qlikcloud.com/api/v1/report-templates/appid"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"format"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;"url"&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This works and it gives me the right report, now I want to add selections during this API call but i am struggling with the right syntax for SenseDataTemplate.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;When i make a similar request with sense-image, the selections are applied as described in the documentation. Can it be that the combination of SenseDataTemplate and selections does not work?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Does anyone know how to add fieldselections in this API call?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 07:02:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Reporting-Service-Alerting/Qlik-Reporting-API-with-selections-in-SenseExcelTemplate/m-p/2507178#M2226</guid>
      <dc:creator>HenkTenk</dc:creator>
      <dc:date>2025-02-25T07:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Reporting API with selections in SenseExcelTemplate</title>
      <link>https://community.qlik.com/t5/Reporting-Service-Alerting/Qlik-Reporting-API-with-selections-in-SenseExcelTemplate/m-p/2507185#M2227</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi!&lt;BR /&gt;What if you utilize bookmarks within your Qlik Sense app? Bookmarks capture a specific selection state, and you can reference them in your API request to apply those selections to your report.&lt;/P&gt;
&lt;P&gt;When you create a bookmark, note the bookmarkId and modify your API request body, to include the bookmarkId&lt;BR /&gt;Here's an example of how your API request body might look:&lt;/P&gt;
&lt;P&gt;{&lt;BR /&gt;"type": "sense-excel-template-1.0",&lt;BR /&gt;"output": {&lt;BR /&gt;"type": "xlsx",&lt;BR /&gt;"outputId": "xlsx1",&lt;BR /&gt;"excelOutput": {&lt;BR /&gt;"outFormat": "xlsx"&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;"SenseExcelTemplate": {&lt;BR /&gt;"appId": "b555f8b3-c8b4-678e-77aa-30281315a06f",&lt;BR /&gt;"id": "rZbjLrt",&lt;BR /&gt;"templateLocation": {&lt;BR /&gt;"path": "&lt;A href="https://yourtenant.yourlocation.qlikcloud.com/api/v1/report-templates/appid" target="_blank"&gt;https://yourtenant.yourlocation.qlikcloud.com/api/v1/report-templates/appid&lt;/A&gt;",&lt;BR /&gt;"format": "url"&lt;BR /&gt;},&lt;BR /&gt;"bookmarkId": "your-bookmark-id"&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;By referencing the bookmarkId, the report will generate based on the selections saved in that bookmark.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 07:30:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Reporting-Service-Alerting/Qlik-Reporting-API-with-selections-in-SenseExcelTemplate/m-p/2507185#M2227</guid>
      <dc:creator>diegozecchini</dc:creator>
      <dc:date>2025-02-25T07:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Reporting API with selections in SenseExcelTemplate</title>
      <link>https://community.qlik.com/t5/Reporting-Service-Alerting/Qlik-Reporting-API-with-selections-in-SenseExcelTemplate/m-p/2507187#M2228</link>
      <description>&lt;P&gt;Hi Diego,&lt;/P&gt;
&lt;P&gt;Thank you for your reply. However, I want to make dynamic selections using the API, based on CustomerID for example. Can I also send a variable value with this API call ?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 07:32:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Reporting-Service-Alerting/Qlik-Reporting-API-with-selections-in-SenseExcelTemplate/m-p/2507187#M2228</guid>
      <dc:creator>HenkTenk</dc:creator>
      <dc:date>2025-02-25T07:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Reporting API with selections in SenseExcelTemplate</title>
      <link>https://community.qlik.com/t5/Reporting-Service-Alerting/Qlik-Reporting-API-with-selections-in-SenseExcelTemplate/m-p/2507199#M2229</link>
      <description>&lt;P&gt;Hi!&lt;BR /&gt;It is not clear for me in docs so this is a try, add a "selections" object inside your request body, similar to how selections work for sense-image reports.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;{&lt;BR /&gt;"type": "sense-excel-template-1.0",&lt;BR /&gt;"output": {&lt;BR /&gt;"type": "xlsx",&lt;BR /&gt;"outputId": "xlsx1",&lt;BR /&gt;"excelOutput": {&lt;BR /&gt;"outFormat": "xlsx"&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;"SenseExcelTemplate": {&lt;BR /&gt;"appId": "b555f8b3-c8b4-678e-77aa-30281315a06f",&lt;BR /&gt;"id": "rZbjLrt",&lt;BR /&gt;"templateLocation": {&lt;BR /&gt;"path": "&lt;A href="https://yourtenant.yourlocation.qlikcloud.com/api/v1/report-templates/appid" target="_blank"&gt;https://yourtenant.yourlocation.qlikcloud.com/api/v1/report-templates/appid&lt;/A&gt;",&lt;BR /&gt;"format": "url"&lt;BR /&gt;},&lt;BR /&gt;"selections": [&lt;BR /&gt;{&lt;BR /&gt;"field": "CustomerID",&lt;BR /&gt;"values": ["12345"]&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;You can pass multiple field selections like this:&lt;/P&gt;
&lt;P&gt;"selections": [&lt;BR /&gt;{&lt;BR /&gt;"field": "CustomerID",&lt;BR /&gt;"values": ["12345"]&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"field": "Region",&lt;BR /&gt;"values": ["Europe"]&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;This should apply the selections dynamically before generating the report. If this doesn’t work, check the Qlik API documentation to confirm whether sense-excel-template-1.0 supports direct field selections&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 07:53:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Reporting-Service-Alerting/Qlik-Reporting-API-with-selections-in-SenseExcelTemplate/m-p/2507199#M2229</guid>
      <dc:creator>diegozecchini</dc:creator>
      <dc:date>2025-02-25T07:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Reporting API with selections in SenseExcelTemplate</title>
      <link>https://community.qlik.com/t5/Reporting-Service-Alerting/Qlik-Reporting-API-with-selections-in-SenseExcelTemplate/m-p/2507201#M2230</link>
      <description>&lt;P&gt;Hi Diego,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately this syntax does not work, it seems to ignore the values in the selections part.&lt;/P&gt;
&lt;P&gt;The documentation states that&amp;nbsp;&lt;SPAN&gt;selectionChain is a possibility for&amp;nbsp;senseExcelTemplate but i have not been able yet to figure out the right syntax. When I apply this selectionChain property for the image generation part, it does apply the selections as requested.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I hope anyone is able to assist to find the right syntax&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 08:06:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Reporting-Service-Alerting/Qlik-Reporting-API-with-selections-in-SenseExcelTemplate/m-p/2507201#M2230</guid>
      <dc:creator>HenkTenk</dc:creator>
      <dc:date>2025-02-25T08:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Reporting API with selections in SenseExcelTemplate</title>
      <link>https://community.qlik.com/t5/Reporting-Service-Alerting/Qlik-Reporting-API-with-selections-in-SenseExcelTemplate/m-p/2546361#M2756</link>
      <description>&lt;P data-end="90" data-start="80"&gt;Hi Henk,&lt;/P&gt;
&lt;P data-end="255" data-start="92"&gt;I’m currently implementing this reporting in a mashup, and it’s working well overall. However, I’m facing the same issue when it comes to passing the selections.&lt;/P&gt;
&lt;P data-end="354" data-start="257"&gt;Were you able to find a fix for this? If so, could you please share the working selection syntax?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2026 11:24:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Reporting-Service-Alerting/Qlik-Reporting-API-with-selections-in-SenseExcelTemplate/m-p/2546361#M2756</guid>
      <dc:creator>Ajay_S1</dc:creator>
      <dc:date>2026-04-08T11:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Reporting API with selections in SenseExcelTemplate</title>
      <link>https://community.qlik.com/t5/Reporting-Service-Alerting/Qlik-Reporting-API-with-selections-in-SenseExcelTemplate/m-p/2546413#M2757</link>
      <description>&lt;P&gt;Yes, the &lt;A href="https://www.google.com/search?q=Qlik+Reporting+API&amp;amp;oq=This+works+and+it+gives+me+the+right+report%2C+now+I+want+to+add+selections+during+this+API+call+but+i+am+struggling+with+the+right+syntax+for+SenseDataTemplate.+When+i+make+a+similar+request+with+sense-image%2C+the+selections+are+applied+as+described+in+the+documentation.+Can+it+be+that+the+combination+of+SenseDataTemplate+and+selections+does+not+work%3F+Does+anyone+know+how+to+add+fieldselections+in+this+API+call%3F&amp;amp;gs_lcrp=EgZjaHJvbWUyBggAEEUYOdIBCDEyNjRqMGo3qAIAsAIA&amp;amp;sourceid=chrome&amp;amp;ie=UTF-8&amp;amp;mstk=AUtExfB_HA09rblWT8hhq-SxULTTDSU5PyGuo4W4IzKEHlQ5V_6zwwohb2AHQZShO3E1kDCUjdRceaMO2N-JB8BbfbvkuUsLRgXDde1wkNAzSdA08Q0Qpkn02Ylu3vVqDULHV149I2rTjXo6fJbIUrNDccg2vKZoBMppmiph6CUnorgEYMmnB5eW1v1OhjUlh8sWF7SGOzrz3qil_VFGD4F2iERagQ&amp;amp;csui=3&amp;amp;ved=2ahUKEwjdtbWT-N6TAxULv4kEHS0_Fu8QgK4QegQIARAB" target="_blank"&gt;Qlik Reporting API&lt;/A&gt; supports selections with SenseDataTemplate (often used in Excel reporting), but the syntax is stricter than sense-image. Ensure selections are applied inside the templateSelections array within the request body. If the field is a string, use double quotes, and ensure the appId is correct.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Correct Syntax Example&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To apply selections, include the templateSelections structure at the same level as your SenseDataTemplate definition:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/5fa166d3-7f9d-4c2b-9dce-ec978ce28c14.default/image.png" /&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Troubleshooting Steps&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
 &lt;LI&gt;&lt;STRONG&gt;Field Type:&lt;/STRONG&gt; Ensure numerical values are passed without quotes and string values are quoted.&lt;/LI&gt;
 &lt;LI&gt;&lt;STRONG&gt;Case Sensitivity:&lt;/STRONG&gt; Field names are case-sensitive.&lt;/LI&gt;
 &lt;LI&gt;&lt;STRONG&gt;Field Selection API:&lt;/STRONG&gt; If templateSelections fails, ensure you are not missing an "s" in fieldName/values, as API structure is strict.&lt;/LI&gt;
 &lt;LI&gt;&lt;STRONG&gt;Inspect Request:&lt;/STRONG&gt; If it still fails, use the browser developer console to inspect the API call being made by the Qlik Reporting Service.&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 08 Apr 2026 19:05:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Reporting-Service-Alerting/Qlik-Reporting-API-with-selections-in-SenseExcelTemplate/m-p/2546413#M2757</guid>
      <dc:creator>Greg_Taffer</dc:creator>
      <dc:date>2026-04-08T19:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Reporting API with selections in SenseExcelTemplate</title>
      <link>https://community.qlik.com/t5/Reporting-Service-Alerting/Qlik-Reporting-API-with-selections-in-SenseExcelTemplate/m-p/2546550#M2761</link>
      <description>&lt;P&gt;Hi Grey,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thankyou for the support.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is slight change in my payload.&lt;/P&gt;
&lt;P&gt;My template is&amp;nbsp;sense-excel-template-1.0&lt;/P&gt;
&lt;P&gt;and my output should be pdf.&lt;/P&gt;
&lt;P&gt;The report is downloading in mashup. but the selection is not applying&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;      {
        "type": "sense-excel-template-1.0",
        "meta": { 
          "exportDeadline": "P0Y0M0DT1H0M0S", 
          "tags": ["sense-ondemand.download"] },
        "output": {
          "outputId": "pdf_file",
          "pdfOutput": {},
          "type": "pdf"
        },
        "senseExcelTemplate":
        {
          "jsOpts": {
            "language": "en",
            "theme": "Dark Text"
          },
           "selectionChain": [
            {
              "selectionType": "selectionFilter",
              "selectionFilter":
              {
                "fieldName": "List_",
                "values": [
                  {
                    "text": "Latest",
                    "isNumeric": false
                  }
                ],
                "defaultIsNumeric": false
              }

            }
          ],
          "templateLocation": {
            "format": "url",
            "path": "https://tenant.region.qlikcloud.com/api/v1/report-templates/&amp;lt;templateid&amp;gt;"
          }
        }
        }
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note: The payload template was taken from the Developer Tools when the ‘Download On-Demand Report’ button was clicked in Qlik.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2026 17:47:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Reporting-Service-Alerting/Qlik-Reporting-API-with-selections-in-SenseExcelTemplate/m-p/2546550#M2761</guid>
      <dc:creator>Ajay_S1</dc:creator>
      <dc:date>2026-04-09T17:47:22Z</dc:date>
    </item>
  </channel>
</rss>

