UtilFile.reindex Method [AX 2012]

Lets you create, read, update, and delete X++ code and metadata.

public void reindex()

Run On

Server

Make sure that the user has access to the development security key (SysDevelopment) before you call this API.

The following example calls the UtilFile.reindex method. It checks whether the user has the required security key before you perform a modification.

server static public void Main(Args _args) 
{ 
    UtilFile u; 
  
    u = new UtilFile("util"); 
    if (u) 
    { 
        u.reindex(); 
    } 
}

Community Additions

ADD
Show: