Skip to main content

Notifications

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 98
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
    2 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
    98 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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,095 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,866 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans