Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

JavaScript – Lookup Filtering using addCustomFilter

(0) ShareShare
ReportReport
Posted on by 287

Hi All,

I have 2 entities 1. action(Has lookup of subtask) 2.Subtask, (under subtask i added users sub grid).

now what i am trying to achieve is i need to show only those record in sub task lookup which has a user attached to it under action entity.

Thanks in advance.

Prashant

*This post is locked for comments

  • Prashnat Verma Profile Picture
    Prashnat Verma 287 on at
    RE: JavaScript – Lookup Filtering using addCustomFilter

    Hi Arpit,

    I found the resolution. Basically I wanted to filter the records on Action entity with users filtered by subtask lookup.

    Thanks

  • Arpit Shrivastava Profile Picture
    Arpit Shrivastava 7,518 User Group Leader on at
    RE: JavaScript – Lookup Filtering using addCustomFilter

    Hey Prashant,

    Sorry, the requirement is a bit confusing.

    In the first line, you said: under subtask, i added users subgrid

    In the second line, you said: which has a user attached to it under action entity.

    How are the users being used on both the entity?

    Do you want to show only those records in Subtask lookup (on action entity), which is being displayed in subgrid on subtask entity?

    Please elaborate your requirement further.

    Cheers
    Arpit
    https://arpitmscrmhunt.blogspot.com

  • Prashnat Verma Profile Picture
    Prashnat Verma 287 on at
    RE: JavaScript – Lookup Filtering using addCustomFilter

    Hi Goutam,

    thanks for the reply but this is not what I want to achieve.

    I basically need to check on Sub Task entity that what users are assigned & on that basis I need to show the data on Action entity.

    Thanks

  • Suggested answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: JavaScript – Lookup Filtering using addCustomFilter

    Hi Prashant ,

    You can go through my video or the blog to implement dependent lookup without any code.

    www.youtube.com/watch

    www.powerobjects.com/.../how-to-use-dependent-lookups-for-dynamics-crm-201320152016

    Let me know if this helps.

    Thanks

    Goutam

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,466 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans