Info |
---|
You need to install the Power Scripts for Confluence app in your Confluence Server/DataCenter instance to implement the below. |
The below SIL script will delete all labels from a page in a Confluence Server/DataCenter instance:
Code Block | ||
---|---|---|
| ||
//get page number page = getPage("TST", "This is a demo page"); //set the labels to empty string -> which deletes all labels of the page %page%.labels = ""; |
...
Note |
---|
Note: If you have utilized these labels in any macro that involves labels (for example, the Content by Label macro), deleting those labels may cause the above page to be excluded from the macro-generated results. |
...