Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

I want to open up another form when I click on a chart using Drill Through

(1) ShareShare
ReportReport
Posted on by
I want to open up another form when I click on a below chart using Drill Through method.
 
I tried to apply below code, but it's not working.
[Control("Container")]
    class SummaryChart
    {
        /// <summary>
        ///
        /// </summary>
        /// <param name = "_contextObject"></param>
        public void DrillThrough(str _contextObject)
        {
            //super(_contextObject);
            Args    args;
            FormRun formRun;


            //Call the form using a Menu Item
            args = new Args();

            formRun = new menufunction(menuItemDisplayStr(PendingPayrollEmployment), MenuItemType::Display).create(args);

            formRun.init();
            formRun.run();
        }

    }
 
  • Abdul Ghani Shahid Profile Picture
    on at
    I want to open up another form when I click on a chart using Drill Through
    Have you set the Menu item name and type?
  • Ashraf Hussain Khan Profile Picture
    on at
    I want to open up another form when I click on a chart using Drill Through
    Yes, I have checked but did not work.
  • Hana Xue Profile Picture
    Microsoft Employee on at
    I want to open up another form when I click on a chart using Drill Through
    Hi,
    Have you checked this blog?How in Dynamics365: Use Drill Through to send parameters in Chart Design | by Mateen Ahmed | Medium It mentions a similar method. If it doesn't work, please wait for support from the developer who has experience with this.
    Best Regards,
    Hana

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 601 Most Valuable Professional

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 416

#3
Adis Profile Picture

Adis 384 Super User 2025 Season 1

Product updates

Dynamics 365 release plans