Hello folks,
I'm trying the plugin PowerScripts and I have a weird issue following the usage of the addLabelsToChildren.sil macro.
When I use it, I got an error with the rendering of the page. The stacktrace shows that the referred label has no associated ID.
The script is :
string [] pages = {"Page Title 1", "Page Title 2", "Page Title 3"};
string newLabel = "newLabel";
for(string p in pages) {
number parentID = getPage("PKEY", p);
setLabels(parentID, newLabel);
for(number child in getChildPages(parentID)) {
setLabels(child, newLabel);
}
}
return "Done";
I use the latest version of the plugin on my Confluence server installation 6.7.0
When I use addLabels routines, there are no add of the label to the page, but the label is added to the list of used labels.
Any clue?
Regards
Watching this. I installed and tested the same in my dev environment with the same result. What I noticed is the problem affects the direct children of the parent page, but not the children of the children. Confluence Server 6.15.4
I also tried the variants of the script found here with the same behavior:
https://www.youtube.com/watch?v=nM0a8JM2T2E&feature=youtu.be&list=PLKTAla3ZrW8mMmYvgOVf3UPXU8V4nc-xj
https://confluence.cprime.io/display/CTR/Add+a+new+label+to+the+children+of+a+page
I contacted the support, and they gave me a new version if the plugin.
I gonna try this new one.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.