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.

         C:\Users\youruserid\AppData\Local

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

@Rahul Talasila

No comments:

Post a Comment

Adding a newline into a string in C# and X++

Below is the sample code we can use for  adding a newline after every occurrence of "@" symbol in the string in C#   using System...