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)

Party List lookup field!

(0) ShareShare
ReportReport
Posted on by

Hi friends,

I have a requirement where "required attendees" field under Appointments should setdefault view to contacts entity which i have achieved using Fetchxml J script.

But the lookup field still shows organisations drop down list when i click the magnifying glass and when i select "Look Up More Records" it shows contacts as default view as per J script.

how can i change the lookup field to show contacts in the drop down when the magnifying glass is selected.

can some one please help.

Thanks

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Sayhaitokumar Profile Picture
    7,042 on at

    Hi Raghu,

    All you need to config using "Related Record Filtering"

    Read the below blog you will get some idea

    www.powerobjects.com/.../fix-for-filtered-related-lookup-not-working-in-crm-mobile-apps

  • Aileen Gusni Profile Picture
    44,524 on at

    Raghuveer,

    You tried this doesn't work?

    missdynamicscrm.blogspot.sg/.../crm-20112013-filter-look-for-lookup-activity-party.html

  • Raghuveer Profile Picture
    on at

    Hi Aileen,

    Yes, I tried that code..... doesn't work.

    Can you please suggest me how to achieve this.

    Thanks for your time.

  • Raghuveer Profile Picture
    on at

    Hi Friends,

    Code to set Partylist lookup view to default.

    this code works!

    $("#requiredattendees").focus(function () {

       var reqatt = $("img[attrName='requiredattendees']");

       if (reqatt.length > 0)    

       {

           reqatt[0].setAttribute("lookuptypes","2");

           reqatt[0].setAttribute("defaulttype","2");

           regatt[0].setAttribute("DefaultViewId","00000000-0000-0000-00AA-000010001004");

       }

    });

    Thanks and Regards,

    Raghu

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