Tuesday, 10 July 2018

Cannot override method on list page form

Today, I will be discussing about the reason for which we cannot override method on list page form.
Lets take the example of RetailStatementListPage. On this form if any one want to override delete command button click method but it won't be possible. As in below given screen shot the override method option is not available.

 






















Reason : In AX 2012 list pages can be directly deployed to Enterprise portal (EP). So, overriding controls of method is not allowed because they may be used in Enterprise portal.

If you really want to override the method then you need to change displayTarget property of the button to client and after this action you will be able to override it.
Please note that in this case you won't be able to use that method on EP. So, first be sure about your requirements.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.

Custom Business events Part 3 - (Activate custom business event) in D365 F&O

 In this blog we will discuss about the steps to activate a custom business in D365 F&O. As we know that business event catalog does not...