Wednesday, February 26, 2014

Caching display method


ON AX 2009 :

Add this line code in the FORM method init
Source :

Public void init()



), [_updateOnWrite]);  



ON AX 2012 :

Add this line code in the DISPLAY method before the declaration


Display type DisplayMethodname(Parameter)

You can also use FormDataSource.cacheAddMethod(..) that support also Edit Method.

More info on :

Optimizing display methods in AX 2012
Display/Edit method caching

That's it!


1 comment:

Leslie Lim said...

This is really interesting and knowledgeable. Thanks for sharing. I really appreciate it a lot. Please do more blogs in the future. Thank you and God bless to the blogger!