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

(1) ShareShare
ReportReport
Posted on by 7
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();
        }

    }
 
  • 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

Community Spotlight of the Month

Kudos to Mohamed Amine Mahmoudi!

Blog subscriptions now enabled!

Follow your favorite blogs

TechTalk: How Dataverse and Microsoft Fabric powers ...

Explore the latest advancements in data export and integration within ...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 284,876 Super User

#2
Ludwig Reinhard Profile Picture

Ludwig Reinhard Microsoft Employee

#3
Martin Dráb Profile Picture

Martin Dráb 225,425 Super User

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans