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 :
Microsoft Dynamics CRM (Archived)

Display two different fields in same column

(0) ShareShare
ReportReport
Posted on by

Hi experts,

I have two fields in the account entity: "Parent Code" and "Child Code". A parent account has a parent code and a child account has a child code. No one account has both codes.

My requirement is to create a view with both these columns. Normally, I can just add both fields as columns. However that would take unnecessary space because. 

Is it possible to combine both fields into a single column through Javascript etc? If not is there any other approach I can use?

Thanks,

Jon

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Mahendar Pal Profile Picture
    45,095 on at

    Hi,

    There is mulitple opion for this:

    1. You can create a third field and have JS code to concatenate these to field (can call your JS code on change of the field).

    2. You can do the same using workflow, where you can use append option to combine these fields.

    3. You can use Microsoft Flow , where you can combine these fields.

    4. Another option to have a plugin

    My suggestion will be to use non code solution and use workflow. If looking for steps this should help you: crmramblingsbysteven.wordpress.com/.../how-to-concatenate-two-fields-using-workflow-in-dynamics-crm-2011

    After field is concatenated you can add it to view.

    Hope it will help.

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

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans