User Profile Macro: Show Only Name and Email Fields

Marinda December 19, 2018

Does anyone know how to edit the User Profile macro so it only shows the user's name and email address? Some of my users have entered in their phone numbers and positions, but I don't want those to show up. Can I hide the Phone, Website, Position, Department, and Location fields so I only see what's in green? (see image below. Code is posted below as well).Macro_userprofile.png

<p>
<ac:structured-macro ac:macro-id="af8daa0c-9849-47eb-8cde-0d5a774001a5" ac:name="profile" ac:schema-version="1">
<ac:parameter ac:name="user">
<ri:user ri:userkey="..."/>
</ac:parameter>
</ac:structured-macro>
</p>

Using Confluence Server 6.9.1. Thank you!

1 answer

1 accepted

2 votes
Answer accepted
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 21, 2018

Hello Marinda,

There are a few things you can try for this.

Otherwise, a few users have worked around it in other ways. Have a look at @Stephen Deutsch's user macro below for an example of how you can get started:

Do let us know if you have any trouble or questions.

Regards,

Shannon

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events