web
You’re offline. This is a read only version of the page.
close
Skip to main content
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();
        }

    }
 
I have the same question (0)
  • 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
  • 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.
  • 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?

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

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

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

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans