Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

MS CRM Customization

Posted on by 55

Hi

i am tying to add a drop down in that instead of showing default entity value, i need to display some other column as selection. 

can anyone help me in this. 

ex: First screen is showing "New" as material name as selection, but i need to show "PH2" as product hierarchy on selection. 

6747.pastedimage1567696530932v1.png  1641.pastedimage1567696530932v2.png

*This post is locked for comments

  • Suggested answer
    Dilip Verma Profile Picture
    Dilip Verma 10 on at
    RE: MS CRM Customization

    Hi Yogesh,

    If I understood your requirement - you want to show some other column value on lookup from same record.

    Through normal configuration you can only achieve this via proper design for entity

    So it will look like this:

    3603.pastedimage1568456832847v1.png

    5504.pastedimage1568456852580v2.png

    With Customization you need to write javascript on onload/onChange event -

    Retrieve this field create lookup value with display name as that column

     const object = new Array();
                                object[0] = new Object();
                                object[0].id = id;
                                object[0].name = column name you want to display;
                                object[0].entityType = entityName;

    and then set on that lookup

  • Suggested answer
    Temmy Wahyu Raharjo Profile Picture
    Temmy Wahyu Raharjo 2,914 on at
    RE: MS CRM Customization

    This is product design already. Dynamic CRM will show primary field attribute as a bigger text. The other will based on the default view order. If you want to switch it. Then you need to switch the primary field.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans