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)

BEST WAY to display records to a D365 form (including records not related to the current record)

(0) ShareShare
ReportReport
Posted on by 1,425

What is the BEST WAY to display records to a D365 form (including records not related to the current record).

I would like to display Activity records with a custom filter in my Account form. My custom filter includes activity records that are not related to the current account record.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Rawish Kumar Profile Picture
    13,758 on at

    Hi Marjorie,

    You would need a bit of javascript to achieve this.  All you have to do is create a subgrid for the activities and then create a javscript web resource, you essentially need to pass your custom fetch xml to the subgrid filter. few references :

    community.dynamics.com/.../254441  

    nishantrana.me/.../filter-subgrid-in-dynamics-365-with-new-form-rendering-or-turbo-form  

    you can easily build the fetch xml from advanced find

    look for :  actitvities

    where regarding not equal to "pass your current record(accountid)".

    hope this helps!

  • MRVIX Profile Picture
    1,425 on at

    Thanks Rawish! The Javascript works well!

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 April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans