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.

Connect and upload in azure blob with azure key vault using x++

 Today, I will be sharing details about file upload in azure blob using azure vault that includes pre requisite and code snippet used to it....