Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

How can I call a form from a MenuItemButton without filter datasource?

Posted on by Microsoft Employee

I have a Form with datasource PurchTable. When I called a second form from a MenuItemButton the form called is filtered.

How can I get the second form without filtering?

regards,

Sergio Sepúlveda Montealegre
MCP/MCPS

 

 

*This post is locked for comments

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: How can I call a form from a MenuItemButton without filter datasource?

    I tried to do that, but I didn't get good results.

    Best results were modifing clicked method of MenuItemButton and write this.menufunction().run(new Args()). This clear any parameter from first form.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: How can I call a form from a MenuItemButton without filter datasource?

    If you can, clear the 'Datasource' property on the button on the calling form. This makes sure the form is not called with a reference record, preventing Dynalinking / filtering. Otherwise follow Klaas' suggestion.

  • Verified answer
    Klaas Deforche Profile Picture
    Klaas Deforche 2,431 on at
    Re: How can I call a form from a MenuItemButton without filter datasource?

    Hi Sergio,

    I think the clearDynalinks() method will do the trick (put in in you second form).

    Example: www.gangsta.se/.../technetPost.asp

    Regards,

    Klaas Deforche

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,188 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,030 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans