web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Power Pages - Using Cu...
Power Apps
Unanswered

Power Pages - Using Custom Contact Name Field in Profile Button

(0) ShareShare
ReportReport
Posted on by 36

We would like to change how the Profile name button on the main header in Power Pages to instead be a custom field on the Contact record. We found the following code in the Header web template, but it appears as though this will actually pull from the Contact Full Name if one exists instead of the User Full Name as the code indicates. Is there a way to switch this code to reference our custom Contact field (e.g. contact.custom_name)?

 

Thanks in advance! 

 

 

{% assign username = user.fullname | escape %}

 

 

Categories:
I have the same question (0)
  • DF-29082254-0 Profile Picture
    36 on at

    {% assign username = user.custom_name | escape %}

    I found out you can reference directly to Contact fields and was able to get this to work. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,074

#2
Valantis Profile Picture

Valantis 639

#3
11manish Profile Picture

11manish 606

Last 30 days Overall leaderboard