Tuesday, 14 October 2014

How To Refresh elements in the AOT

If several developers modify elements simultaneously in the same installation of AX 2012, each
developer’s local elements might not be synchronized with the latest version. To ensure that the local
versions of remotely changed elements are updated, an auto refresh thread runs in the background.
This auto refresh functionality eventually updates all changes, but you might want to force the refresh
of an element explicitly. You do this by right-clicking the element, and then clicking Restore. This
action refreshes both the on-disk and the in-memory versions of the element.

Typically, the general integrity of what’s shown in the AOT is managed automatically, but some
operations, such as restoring the application database or re installing the application, can lead to
inconsistencies that require manual resolution to ensure that the latest elements are used. To perform
manual resolution, follow these steps:

1. Close the AX 2012 client to clear any in-memory elements.
2. Stop the Microsoft Dynamics Server service on the Application Object Server (AOS) to clear
any in-memory elements.
3. Delete the application element cache files (*.auc) from the Local Application Data folder
(located in %LocalAppData%) to remove the on-disk elements.


Note : Make sure show hidden files,folders,and drivers option enabled

@Rahul Talasila

No comments:

Post a Comment

Sorting data in a form datasource in Dynamics Ax 2012 / D365F&O X++

In Microsoft Dynamics AX, you can sort a form datasource when the form is loaded. On the form, override the init method. After the call...