Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
oadamovs
Partner - Contributor
Partner - Contributor

Replace app using qlik-cli

Hi,

I'm trying to import app using replace mode, in saas.

My goal is replace an existing app with a new version of the existing app.

I'm trying: qlik app import --name $appName --file $appFilePath --mode AUTOREPLACE but dows not work.

Can you help me?

 

Labels (1)
  • SaaS

3 Replies
Akshesh_Patel
Support
Support

If you want to publish the app by replacing the existing app using QLIK CLI then I guess this might help: 

Connect-Qlik
$new = Get-QlikApp -filter "name eq 'Operations Monitor(1)'"
$old = Get-QlikApp -filter "name eq 'Operations Monitor'"
Invoke-QlikPut -path /qrs/app/$($new.id)/replace?app=$($old.id) -Verbose

 

oadamovs
Partner - Contributor
Partner - Contributor
Author

Thank you for reply.

i'm using qlik-cli for SAAS (cloud)

Can you help me?

Mahmudh
Contributor II
Contributor II

Hello,

I confirm this is not working when the app is in personal 

.../apps/import?fileId={fileId}&mode=AUTOREPLACE" (that not working)

But you if you tried to AUTOREPLACE  an app in a shared space, it work fine.

/apps/import?fileId={fileId}&spaceId={SharedSpaceID}&mode=AUTOREPLACE&NoData=true"  (that one is working)

 

I failed to understand why for personal, its not working!!!

 

Kind regards