Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Facing issue while setting Custom View on Party list field for Dynamics 8.2 On-Premise

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

I am facing the issue while setting Custom View on Party list field on Service Activity.

The custom view works if there is data in partylist ("resources" field) field and if this party list field is null then the custom view is not set.

Please suggest.

Thanks!

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Facing issue while setting Custom View on Party list field for Dynamics 8.2 On-Premise

    The same code is working fine on D365 V9.0, the issue is with Dynamics 8.2 On-Premise.

    If the field  has value in that  custom look view set perfectly, but the issue is with if we clear this field value/null

    When resource field is null :

    Xrm.Page.getControl("resources") , it return null

    we can achieve this using below code but I am looking for supported one:  

    document.getElementById("resources").setAttribute("lookuptypes", "8");

    Thanks

  • Kokulan Profile Picture
    Kokulan 18,048 on at
    RE: Facing issue while setting Custom View on Party list field for Dynamics 8.2 On-Premise

    Could you please share some screenshots if possible?

    Are you using Quick View form?

  • RE: Facing issue while setting Custom View on Party list field for Dynamics 8.2 On-Premise

    Did you pass the Entity Name as well in the addCustomFilter method?

    addCustomFilter(filter, entityLogicaName)

    docs.microsoft.com/.../addcustomfilter

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,253 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans