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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How do I create a field with "FirstName LastName" formatting based on another field that has "LastName, FirstName" formatting"?

(0) ShareShare
ReportReport
Posted on by

I have a field called SalesRep that gets populated from QuoteWerks and is read-only.  How do I create another field with "FirstName LastName" formatting that gets populated based on the SalesRep field?  Is it possible to do this with a calculated field?  If not, any workaround suggestions?

Thank you.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    T.I.A Profile Picture
    1,760 on at

    Composite fields can only be used with the name fields and the address fields. Creating custom fly out field isn't possible. You could follow guide's advice if you need an alternative

    [View:https://community.dynamics.com/crm/f/117/t/213958]

  • Verified answer
    Kokulan Profile Picture
    18,054 on at

    You might have already seen my response on your other post but in case you have not seen that, please try the updated CWA to get the User by new name format

    github.com/.../releases

    Update: You can pull the latest code as well now, I have pushed it to master branch

    https://github.com/Kokulan365/GetUserByName/tree/master/Workflows

  • kunalks2003 Profile Picture
    315 on at

    if you are on 9.1 you can use PCF framework to create a Control

    Some example :

    community.dynamics.com/.../pcf-control-countdowntimer

  • Martin Donnelly Profile Picture
    1,030 on at

    I'm not sure what the others have read into this question but, I guess it depends what's in the SalesRep field and its data type.  If it's a string with more than first name last name then, you have to parse it.  Otherwise, you already have a what you want -- the SalesRep field.  If it's a lookup it's (EntityReference)SalesRep.Name -- which you will still have to parse.  On the client side it's something like formContext.GetControl("salesrep").GetAttribute()[0].name.

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 Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
AS-17030037-0 Profile Picture

AS-17030037-0 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans