Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

New and override method not available in new control

Posted on by Microsoft Employee

Hello everyone

Can anyone explain why New and override method not available in new control in CustTableListPage

filtermethod.png

also i can't add Add a filter pane group i think there are some inheritances  prevent adding !!!!

*This post is locked for comments

  • Verified answer
    Zain Bokhari Profile Picture
    Zain Bokhari 3,208 on at
    RE: New and override method not available in new control

    Well I haven't read anywhere by definition it not being best practice, but would definitely not be best practice if you're supposed to use EP as well. 

    So take a look at how to register an override method in a listpage interaction class for instance. It will show you how to register an override method for a form control on listpage without changing the Display Control property.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: New and override method not available in new control

    Can you tell me how i can add these code in class the CustTableListPageInteractionClass

    msdn.microsoft.com/.../hh745335.aspx

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: New and override method not available in new control

    but is that the best practice to change the display target

  • Verified answer
    Zain Bokhari Profile Picture
    Zain Bokhari 3,208 on at
    RE: New and override method not available in new control

    Although there is a way.

    If you only have to show this Filter in AX Client and not in Enterprise Portal.

    You can go to the properties of the filter Group in which you added this field and change the Property value for Diaplay Target from "Auto" to "Client". Then you will be able to override the control methods.

    Captureh.PNG

    and then:

    Captureh.PNG

    Please note that you will not be able to use this Control on Enterprise Portal if you make this change.

  • Verified answer
    Zain Bokhari Profile Picture
    Zain Bokhari 3,208 on at
    RE: New and override method not available in new control

    That is because it is a ListPage form and you can not directly add or override methods for any controls on forms developed using the ListPage template. Any changes required need to be made in the specified ListPage Interaction Class that can be specified on the form's properties. In this case the class would be CustTableListPageInteractionClass.

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,219 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,056 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans