Skip to main content

Notifications

Announcements

No record found.

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

  • Verified answer
    Mahendar Pal Profile Picture
    45,095 on at
    RE: Display two different fields in same column

    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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans