Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

how to change default lookin value

Posted on by Microsoft Employee

82722.Capture.PNG

As you can see there is a default value coming in the Look in field. Is there any way that I could change it with some other view and make that as default .

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: how to change default lookin value

    Thanks for your help. I was able to find it , I have another very urgent need, here is the link ---

    community.dynamics.com/.../821213

    Can you please help

  • Suggested answer
    Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: how to change default lookin value

    Hi,

    You can use the field setting as shared earlier, go for JS if you want to change the "Look in" in condition. 

    You can get the id by following the below method. 

    6521.51.png

    Open customization, select the entity, open the correct view and look for the url.

    6521.51.png

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: how to change default lookin value

    Appreciate your help Wei. I was thinking if you could please help me by sharing knowledge of how to acquire this -- defaultViewId = "{00000000-0000-0000-00AA-000010001019}

    how do i get that information, that would be helpful.

  • Suggested answer
    sandeepstw Profile Picture
    sandeepstw 4,601 on at
    RE: how to change default lookin value

    Hi,

    Yes you can set default view using look up property in Form Editor.

    1830.Default-View.png_2D00_550x0.png

    If you are looking for more specific then you can create js resource and setup option set value as selected.

  • Verified answer
    Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: how to change default lookin value

    Hi,

    you can write JS or field setting to achieve this.

    field setting

    https://community.dynamics.com/crm/f/117/t/128263

    JS

    howto-mscrm.com/.../dynamics-365-v9-0-show-lookup-dialog-is-here.html

    docs.microsoft.com/.../lookupobjects

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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans