The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

Labelling multiple pages in a single action (thru UWC or confluence)

Lis Riba
Contributor
July 27, 2011

I'm using the UWC converter to import several hundred pages (a glossary) and I want to assign the same tag to them all.

The documentation on UWC's Label Framework seems primarily guided towards coding and editing the JAR - something I'd rather not do.

Is it possible to do this through modifications to the .properties file, or even independently of UWC?

I see several ways something like this could be done, but don't know how to implement it:

  • Add a line to the properties file which assigns label "foo" to all imported pages
  • Add some kind of label field to all the to-be-converted files which says "label:foo" and add a line to the properties file which converts that string to the label
  • Import/convert all the pages without labels, and then run some macro within Confluence to label all the pages. [I will be importing all the pages to a new dedicated space, but will then move them to an existing space which will contain other pages.]

Any suggestions for how to do this?

4 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

2 votes
Answer accepted
Lis Riba
Contributor
October 4, 2011

I ended up using the Confluence CLI (Command-Line Interface) - extremely useful tool, that.

1 vote
Mert Karadağlı _ Köstebek Teknoloji _
Contributor
May 1, 2014

Hi,

You could do it with Label Manager for Confluence plug in.https://marketplace.atlassian.com/plugins/com.kostebekteknoloji.plugins.confluence.confluence-label-manager
You could search for similar labels in a space and then merge them into one standard label.
You could also do bulk operations like appending , adding and removing labels.
Documentation is here:http://www.confluence.kostebekteknoloji.com/display/PLUG/Label+Manager+for+Confluence
Regards,

0 votes
Martin Cleaver
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
July 2, 2013

Check out Ad hoc Canvas' List functionality.

http://www.adhoccanvas.com/features/

Disclosure: I work with Comalatech.

0 votes
Laura Kolker
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
September 19, 2011

There isn't a facility in place (in the UWC) to automatically add a label to every page using a property only. That being said, you could try leveraging a combination of a UWC property with adaptavist's add-label macro .

Something like:

mywiki.1234.addalabel.java-regex=(.)${replace-with}$1NEWLINE{add-label:foo}

This would add a newline and your addlabel macro to the end of every page

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events