cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Olivier
Advocate V
Advocate V

CDS: person name vs. full name

Looking at the standard entities in CDS/CDM, I am trying to understand the significance of the various fields.  In particular, there is the FullName field which is of type "text" with the "searchable" box checked;  Then there is the PersonName which is of type "person" with the "searchable" box unchecked.

What is the recommended use of these entity fields?  When would you use PersonName vs. FullName?

Thanks,

 

Olivier

3 REPLIES 3
v-yamao-msft
Community Support
Community Support

Hi Olivier,

 

In a custom entity, I created a Text field for FullName, and a Person field for PersonName.
Then I opened the entity in Excel, I found that the PersonName includes Given name, Middle name, Surname. While FullName is just a text field.

1.png

When I created an app based on this entity, I was asked to enter Given name, Middle name, Surname for each field. While Fullname is only one field.

3.PNG

So my understanding is that if you want your user to enter the exact name with Given name, Middle name, Surname, a Person field type might be your choice.

 

Please try this on your side, hope it can be a reference for you.

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Olivier
Advocate V
Advocate V

Hi Mabel,
I was aware of the difference between Person and Text field types, my question was more about the reason for which Microsoft designs their contact entities with both types. When do they use one vs. the other? When would someone leverage one vs the other? Are there cases where both are used within a record and why?
Thanks

Hi Olivier,

 

The Full name is a calculated field, based on the indidivual components. If your Party Type on the entity is set to "Person" then you can enter values in First, Middle and Last and Full name will be calculated to combine those fields.

 

Thanks,

Thanks,
Clay.

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (20,966)