Page 1 of 1

Update PAW action buttons to point to new folder after deployment

Posted: Thu Aug 22, 2024 5:07 pm
by CRP0021
Hi all,
I'd like to see if there is a way to re-point the path of a PAW action button after creating a snapshot and deploying.

Here are some details:

-I've created a snapshot using existing PAW assets
-Some of these assets contain PAW action buttons with links to other PAW books
-When I proceed with the snapshot I get a warning message (see screenshot 1 below)
-After deploying this snapshot and renaming and changing the folder location, all the existing PAW action buttons maintain the source asset links

I have tried creating a snapshot with only one paw book that contains links to other paw books and have added all the books as part of the snapshot but I still see this warning message and the links are not updating.

If anyone has any advice on how to accomplish automatically updating links to other PAW books when deploying a snapshot it would be very much appreciated!

Another question....I have read and actually observed on the snapshot that websheets are not migrated and must be done manually but have also tested this with a book containing a websheet and it seemed to work correctly. Wondering if anyone is coming across manually moving websheets over and how to handle that when the volume of websheets isn't necessarily practical to manually move.

Thanks again!

Re: Update PAW action buttons to point to new folder after deployment

Posted: Thu Aug 22, 2024 8:47 pm
by Wim Gielis
Pending a real PAW API solution, it will be a manual work.

First there is the Book Specification in PAW. In this JSON representation of a full book, you can find/replace strings to whatever you want it to refer to.

Next there is the LCM or Lifecycle manager. When the assets are exported, you can unzip the gz file. Then you apply changes using Notepad++ or similar tools. Lastly you zip again to a gz file.

Re: Update PAW action buttons to point to new folder after deployment

Posted: Thu Aug 22, 2024 9:48 pm
by CRP0021
Thank you Wim.
Appreciate the feedback. Will give that a try.
Cheers!