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:Ā 

User Profile Macro: Show Only Name and Email Fields

Marinda
Contributor
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

2 votes
Answer accepted
SMS
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

TAGS
AUG Leaders

Atlassian Community Events