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: 
lwp89
Contributor III
Contributor III

Application export error - Application automation

Hello experts,

I have apps in managed spaces, I am the owner of the app and the space.

I am using this block 'Export App To Base 64 Encoded File' but its throwing export error

lwp89_0-1649093603979.png

Does it mean that I do not have the export permission? Its confusing because I am the owner of the app and space.

Thanks

 

Labels (2)
17 Replies
Frank_S
Support
Support

New Article regarding this discussion topic:

Please remember hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
lwp89
Contributor III
Contributor III
Author

Sorry but this does not make sense to me.. NOTE that Qlik SaaS has an Application Automation Templates for exporting published apps to Git.  (We know that app can only be published into Managed space and not a shared space) so Why does Qlik provide this template if it does not have the export function for apps published into managed space?

 

lwp89_0-1649178253951.png

 

Emile_Koslowski
Employee
Employee

@lwp89

That template was originally built to store the source app (the app that gets published) instead of the published app. 

But you make a fair point that the template has the option to use the ID of the published app, this functionality was added in a later version of that template. We might have been too quick with dismissing your question, apologies. I'll get together with the team that owns the Export App API functionality to make sure no changes were made on their side. 

Emile

Emile_Koslowski
Employee
Employee

I confirmed that exporting a published app was never possible.

The description of the template and the template itself need to be updated.

AlexOmetis
Partner Ambassador
Partner Ambassador

In that template I think you're meant to select the originAppId in the "Get App Information" block rather than the AppId. That way you're exporting the unpublished app - which at that point is identical to the published one. That also means accessing things like the data load script to export would be expected to work.

Qlik Partner Ambassador 2024
lwp89
Contributor III
Contributor III
Author

Thanks all,

 

So here is my app published block

 

lwp89_3-1649196518841.png

 

Now on the next block 'Get App Information' I am looking for original app ID as shown below

lwp89_1-1649196455177.png

 

But it fails at this step and throws the 404 error

 

lwp89_2-1649196481773.png

 

 

 

Do note that the app I am publishing to this test managed space is originally sitting in the shared space and I am the owner of all the spaces and this app

 

 

 

Emile_Koslowski
Employee
Employee

@lwp89 ,

It looks like you're using the webhook example payload instead of triggering a real app published event.

If you manually execute a webhook triggered automation (by clicking Run), the example payload is used.

Emile_Koslowski_1-1649252917622.png

 

Can you try to publish an app instead of clicking run or can you update the example payload so the originAppId is a real app from your tenant?

Emile

 

lwp89
Contributor III
Contributor III
Author

Thank you, I just cold not figure out where that exampleID was coming from.. but now it all makes sense.

 

I have fixed it, tested and its all working now 🙂 Thank you very much for all your help.