Update PAW action buttons to point to new folder after deployment

Post Reply
CRP0021
Posts: 35
Joined: Mon Aug 21, 2017 2:14 pm
OLAP Product: TM1
Version: 10.3
Excel Version: 2016

Update PAW action buttons to point to new folder after deployment

Post 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!
Attachments
Screenshot_1.png
Screenshot_1.png (100.05 KiB) Viewed 1648 times
Wim Gielis
MVP
Posts: 3222
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1, Jedox
Version: PAL 2.1.5
Excel Version: Microsoft 365
Location: Brussels, Belgium
Contact:

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

Post 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.
Best regards,

Wim Gielis

IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
CRP0021
Posts: 35
Joined: Mon Aug 21, 2017 2:14 pm
OLAP Product: TM1
Version: 10.3
Excel Version: 2016

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

Post by CRP0021 »

Thank you Wim.
Appreciate the feedback. Will give that a try.
Cheers!
Post Reply