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 / What is the best metho...
Power Apps
Suggested Answer

What is the best method to update the primary name column?

(0) ShareShare
ReportReport
Posted on by 2
I have some tables where the primary name column has to be generated to be human-readable and a useful encapsulation. e.g. A Student table has first and last name columns. The name column gets set to 'first last'.
 
I have experimented with different methods of updating the name column, but wonder which is considered best practice.
  1. Hide the name column on the entry form. Update the column with an OnSave event. (I can imagine this being more difficult if more forms are added, or an editable grid is used.)
  2. Use a business rule to Set Value.
  3. Use a cloud flow to Update a Dataverse Row on addition/modification/deletion
What is considered best practice? What are the possible consequences or pitfalls to avoid? 
Categories:
  • Suggested answer
    MichaelFP Profile Picture
    2,008 Moderator on at
    I would recommend to create a plugin in Dataverse whenever a record is created and update. In that case you will cover all scenarios: Forms, Excel Import, Sdk, javascript. No matter the place that you apply the create or the update the plugin will run for you to fill primary field of the table.
     
     
     
    If my answer helped you, please give me a thumbs up (👍). If solve your question please mark as answer ✔️. This is help the community.
     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 221 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 120

Last 30 days Overall leaderboard