How do I lookup from a phone directory?

Hi all,

I am going to have a phone directory in Confluence. I am thinking that this directory will have a tabular format. That is, it may have 2 columns; one with name and the other with telephone.

In the same space I will have separate pages with the users, each user will have a separate page. I want to look up their telephone number and add it in their page.

Any ideas how to start?

Thank you very much,

Dimitris

1 answer

1 accepted

This widget could not be displayed.

You could use the Metadata plugin for this. It even offers a users-report macro that lets you generate a report of all the users, showing any metadata attached to the user. For users with personal spaces, the metadata is fetched from the space, while for regular users the metadata is fetched from their profile.

Thank you for your quick reply! My requirements, though, are quite different. Users won't add their detailes, e.g. telephone or email to their profile. There will be a page in a space called Phone Direcotry. Then I will have a page in this space with separate pages for each department of the company. In each department there will be tha personel. In these separate pages of the personel I want to look up the telephone numbers in the Phone Directory Page and show them in each page.

Any thoughts on that?

Thank you!

With the Metadata plugin you would usually do it like this:

1. Add a page for every person with the following wiki markup:

{metadata-list}
|| Name | John Doe |
|| Phone | 012 345 67 89 |
{metadata-list}

2. Then on the parent page you could create a report of the metadata like this:

{metadata-report:Name,Phone}

I know this is the other way around as you want it, but it should give you an example on how to use the metadata macros. You can find lots of other examples in the documentation.

Hope this helps

It worked great! Thanks for the guidance and inspiration!

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

575 views 7 6
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you