Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I'm trying to export app from qlik sense using QRS
1, at first call it returns an token ID when I used the follow url
Hi Saranrajk ,
For as far i know, the QRS won't save the .qvf for you on a specific folder, but will return de App itself (in form of a stream)
I use the same API and the response from this call (qrs/download/app/{appid}/{tokenid_returned _from_ the _first_call}/{qppname}.qvf) is a "Stream".
So with example in C#, you can save this stream as a file somewhat like:
servercall:
HttpWebResponse response = (HttpWebResponse)req.GetResponse();
Stream str = response.GetResponseStream();
and Saving file to system:
using (System.IO.FileStream output = new System.IO.FileStream(@"" + txtFolder + "\\" + fileName + ".qvf", FileMode.Create))
{
str .CopyTo(output);
}
regards Boycke
Hi Boycke,
thank you for your response as you said I wrote it as stream in to a file with QVF extension using node js, but when I',m trying to import that file through qmc it throw me an error as invalid app.
Hey guys.
I generated the download path for the qlik app by calling the qrs API, but unable to download the qvf by appending it with the host url, any thoughts on how to fix it?