How do I rewrite parameter values after migrating from server to cloud
Purpose
While functionality is the same, Prefix and Postfix parameters accept different values in server and cloud.
You may need to re-write the values for these parameters after migrating to Cloud.
Answer
In Cloud, go to the page that contains migrated Add page / Add page via form macros
Edit the page, and edit the macro. This will open up a macro editor
Check the following table for values that are unsupported in Cloud, and see if you have any in the macro editor. Replace them with its cloud counterpart according to the table
Parameter name | Server value | Details | Cloud value | Details |
---|---|---|---|---|
Prefix / Postfix |
| Child Counter Supplier injection |
| To assign incremental IDs e.g. |
%global:current date>date:MMM d, yyyy% | $date(<date-format>) | To output the current time and date e.g. | ||
'%space:key% | Current space key injection |
| Use the targeted page's Confluence space key | |
'%space:name% | Current space name injection |
| Use the targeted page's Confluence space |