Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
How do I get a list of tasks in the properties of an extension ?
I wrote the following code but I am getting a syntax error when running the extension :
... return { definition: { type: "items", component: "accordion", items: { MyTaskID: { type: "string", component: "dropdown", label: "Task ID", ref: "taskid", options: [ qlik.callRepository( '/qrs/task', 'GET' ).success( function ( reply ) { $.each(reply,function() {'{value:"'+JSON.stringify(reply.id)+',label:"'+JSON.stringify(reply.name)+'"},'});} ] }} }, ...
Expected result in attachment.
Thank you.