Friday, September 28, 2018

AX 2012 - How to avoid to restart AOS for cache refresh on deployment of new objects e.g. SSRS


Sometimes on deployment of new objects, one has to restart AOS to refresh the cache on Server. This one is not good on production server. In order to avoid it, there are four Action menu items, which can be duplicated and set to RunOn: Server in property and then run to cause cache refresh on server. The names of menu items are as below:


\Menu Items\Action\SysFlushAOD
\Menu Items\Action\SysFlushData
\Menu Items\Action\SysFlushDictionary
\Menu Items\Action\SysFlushReportServer

The property RunOn: Called from, can be changed to Server on all of these menu items.