Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dear colleagues
I want to update a json file dinamically which is inside an extension.
I've seen there is a method to update files in extensions:
This is the method :
/qrs/extension/{extensionName}/uploadfile?externalpath={externalpath}&overwrite={overwrite}
I can't find any example about how to use it.
I've use other qrs methods successfully but I'm having issues with that. When I send
qlik.callRepository('/qrs/extensions/lui-example/uploadfile?externalpath=test.txt&overwrite=false').success(function(reply) {...
It always responds 404 (Not found)
So my questions are:
Does this method really overwrite files inside extensions ?
If yes, can you send any valid example, more explicit than the help one?
Thanks for your help
Yes, it does. But you need to do a POST, not a get, and provide the file content.