Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / I want to open up anot...
Finance forum
Unanswered

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

Posted on by 12
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 want to open up another form when I click on a chart using Drill Through
    Have you set the Menu item name and type?
  • 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
    Hana Xue 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

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,955 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,987 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans