Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
sangeetha_m
Partner - Contributor II
Partner - Contributor II

Start a Reload Task from an Extension

Hi, 

I'm new to Extensions. We have a requirement to start a reload task from a Button in an Application. This should not reload the application, it has to just start a task from qmc.

Can you please guide me or give me some pointers on how to go about it.

 

Thanks,

Sangeetha

Labels (3)
1 Solution

Accepted Solutions
DaveChannon
Employee
Employee

Hi @sangeetha_m 

I see you've specifically asked to start a task chain and not just reload the app the user is in - a number of Qlik partners used to produce extensions that did this, however examples such as https://github.com/inphinityapp/ReloadTaskButton use deprecated APIs.

That said, the same principles should apply to any extension you wish to build,  in that the call will be sent to the QRS API (to either https://help.qlik.com/en-US/sense-developer/February2023/APIs/RepositoryServiceAPI/index.html?page=1... or https://help.qlik.com/en-US/sense-developer/February2023/APIs/RepositoryServiceAPI/index.html?page=3...) using the context of the logged in user and that user therefore needs to have appropriate access to that task & application.

View solution in original post

2 Replies
DaveChannon
Employee
Employee

Hi @sangeetha_m 

I see you've specifically asked to start a task chain and not just reload the app the user is in - a number of Qlik partners used to produce extensions that did this, however examples such as https://github.com/inphinityapp/ReloadTaskButton use deprecated APIs.

That said, the same principles should apply to any extension you wish to build,  in that the call will be sent to the QRS API (to either https://help.qlik.com/en-US/sense-developer/February2023/APIs/RepositoryServiceAPI/index.html?page=1... or https://help.qlik.com/en-US/sense-developer/February2023/APIs/RepositoryServiceAPI/index.html?page=3...) using the context of the logged in user and that user therefore needs to have appropriate access to that task & application.

ajaykakkar93
Specialist III
Specialist III

hi,

NOTE: To do this activity you need to have a developer token assigned to you i.e End User/Stakeholder with analyzer token cannot reload the application.

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