cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
TesDA
Continued Contributor
Continued Contributor

CDS Entity Auto-Generated Fields

I noticed when I create an entity that it auto-generates the following fields:

Created By

Modified By

 

Do you know if there is a way to change the user based data being pulled into those fields? I would like it to pull the MailNickname since that's the employee ID for my firm.

 

1 ACCEPTED SOLUTION

Accepted Solutions
HSheild
Super User
Super User

Hi @TesDA 

 

The Created By and Modified By fields are lookups to the User entity and show the Full Name from the User entity (as defined in Active Directory when the user is created in CDS).  You can't change which field from the User entity that is shown in the lookup.  However, you could change the Full Name on the User record if you wanted to.  This would change the Users display name throughout the entire system though so you'd want to think carefully about that.

 

Annotation 2020-03-04 054338.png

 

I hope that helps.

 

-----
 
If this post has answered your question please consider it for "Accept as Solution" or if it has been helpful give it a "Thumbs Up".

View solution in original post

3 REPLIES 3
HSheild
Super User
Super User

Hi @TesDA 

 

The Created By and Modified By fields are lookups to the User entity and show the Full Name from the User entity (as defined in Active Directory when the user is created in CDS).  You can't change which field from the User entity that is shown in the lookup.  However, you could change the Full Name on the User record if you wanted to.  This would change the Users display name throughout the entire system though so you'd want to think carefully about that.

 

Annotation 2020-03-04 054338.png

 

I hope that helps.

 

-----
 
If this post has answered your question please consider it for "Accept as Solution" or if it has been helpful give it a "Thumbs Up".

To add to the previous post, you could create a workflow on the User entity to automatically overwrite the Full Name with the MailNickname when the user is created and/or updated. However, as per the previous post, this will affect any lookup field on the User entity throughout the system (for example the Owner)

TesDA
Continued Contributor
Continued Contributor

I dont want to change it for everything so looks like I need to go in a different direction. Appreciate the expertise.

Helpful resources

Announcements
October Events

Mark Your Calendars

So many events that are happening this month - don't miss out!

Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Users online (2,770)