Quantcast
Channel: Confluence – Communardo Techblog
Viewing all articles
Browse latest Browse all 64

Communardo add-on Metadata for Confluence – structure your wiki in a better way

$
0
0

We have recently launched our new add-on metadata for Confluence. In this blog post I would like to show you how you can display personalized metadata fields.  

The add-on Metadata for Confluence enables you to structure and categorize Confluence-systems. It also allows Confluence area administrators to set metadata fields and sets for each area. Depending on the template that the administrator has created, users can later add content to the site. The pages that have been filled with metadata can now be found and displayed through additional macros.

Let’s assume we would like to define a contact person for every page in your area. Area administrators can easily create new fields in the area administration. Name the first field “Contact Person”, so the person in charge can later add his/her name. If you would like to enable your employees to type in further information then create a second field named “Contact Person Message”, for instance.

Metadata for Confluence

Overview of metadata fields in the space administration

 

However, you cannot use single metadata fields. You have to combine the fields into metadata sets in order to assign them to different pages or templates.  For example, name your metadata set “Help Desk” and add the fields you have created. The metadata set is now defined as a standard set for all your pages within that area.

 

Metadata for Confluence

Overview of metadata sets in the space administration

 

Every page that is added in that area will automatically contain the “Help Desk” set. Users can add and maintain the necessary information directly on the page just by using the metadata field.

Metadata for Confluence

Editing page metadata

 

In order to display the person in charge, we can create a user macro called “HelpDeskPanel”. Within this macro, we can use the assistant “metadataHelper”, offered by the add-on Metadata for Confluence. It helps you to display the designated person in charge and to integrate this in an appropriate way in HTML. For this we have rendered a macro panel and a macro profile and at the same time prepared an optional text template for the person in charge.

## @noparams
#set($metadataField=$metadataHelper.loadMetadataFieldByKey("metadatafield.contact.person",$content.space))
#set($metadataValue=$metadataHelper.loadContentMetadataValue($content,$metadataField))
#set($user=$action.userAccessor.getUserIfAvailable($metadataValue))
<ac:structured-macro ac:name="panel">
 <ac:parameter ac:name="title">Contact Person</ac:parameter>
 <ac:rich-text-body>
 #if($metadataValue && $metadataValue.trim() != "")
 <ac:structured-macro ac:name="profile">
 <ac:parameter ac:name="user"><ri:user ri:userkey="$user.key" /></ac:parameter>
 </ac:structured-macro> 
 #set($metadataFieldMessage=$metadataHelper.loadMetadataFieldByKey("metadatafield.contact.person.message",$content.space))
 #set($metadataValueMessage=$metadataHelper.loadContentMetadataValue($content,$metadataFieldMessage))
 <br>
 $!metadataValueMessage
 #else
 Please define a contact person
 #end
 </ac:rich-text-body>
</ac:structured-macro>

If you incorporate it into a page then the person in charge will automatically be selected and presented.

Metadata for Confluence

integrated macro

Because the metadata add-on allows complete access to the data for macro / user macro developers, this results in an almost endless amount of possible applications to structure your own Confluence more efficiently and to obtain information more quickly.

Get your 30 day trial license now!

You want to learn more about Confluence or how to get it? Watch out our product site and call our specialist consulting license.

The post Communardo add-on Metadata for Confluence – structure your wiki in a better way appeared first on Communardo Techblog.


Viewing all articles
Browse latest Browse all 64

Trending Articles


Girasoles para colorear


mayabang Quotes, Torpe Quotes, tanga Quotes


Tagalog Quotes About Crush – Tagalog Love Quotes


OFW quotes : Pinoy Tagalog Quotes


Long Distance Relationship Tagalog Love Quotes


Tagalog Quotes To Move on and More Love Love Love Quotes


5 Tagalog Relationship Rules


Best Crush Tagalog Quotes And Sayings 2017


Re:Mutton Pies (lleechef)


FORECLOSURE OF REAL ESTATE MORTGAGE


Sapos para colorear


tagalog love Quotes – Tiwala Quotes


Break up Quotes Tagalog Love Quote – Broken Hearted Quotes Tagalog


Patama Quotes : Tagalog Inspirational Quotes


Pamatay na Banat and Mga Patama Love Quotes


Tagalog Long Distance Relationship Love Quotes


BARKADA TAGALOG QUOTES


“BAHAY KUBO HUGOT”


Vimeo 10.7.0 by Vimeo.com, Inc.


Vimeo 10.7.1 by Vimeo.com, Inc.