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,


1 answer

1 accepted

1 vote
Answer accepted

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:

|| Name | John Doe |
|| Phone | 012 345 67 89 |

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


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
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

891 views 2 13
Read article

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