Share via


Customization analysis in Lifecycle Services (LCS)

Important

This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.

In Microsoft Dynamics Lifecycle Services, Customization analysis offers Microsoft Dynamics AX 2012 customers an automated tool that validates the customer’s model files against Microsoft Dynamics AX best-practice rules for tables, classes, forms, and enums. It then generates reports, including a summary report display on the site, a detailed Microsoft Excel report that lists all issues, and a developer report that the developer can load in the Microsoft Dynamics AX development environment.

Prerequisites

You must have Microsoft Dynamics AX 2012 model files to be analyzed. For more information about model files, see How to: Export and Import a Model.

Getting started

To use Customization analysis, you must upload model files and then evaluate the reports to determine what changes you want to make.

Upload model files

  1. Go to Lifecycle Services.
  2. Open a project, and then click the Customization analysis tile.
  3. Click Add, and then, on the Customization analysis: Create job page, enter a name, the appropriate version of Microsoft Dynamics AX, and the appropriate build.
  4. Click Create.
  5. Click Add files, browse to the model that you want to analyze, and click Upload. You can upload multiple model files to analyze.
  6. Click Analyze Code. The site processes the files, and then generates reports. During processing, status indicators update. Note: You can leave the page while processing continues. Processing may take 10 minutes or longer.

Evaluate reports

Customization analysis checks your model files against the Microsoft Dynamics AX best-practice rules for tables, classes, forms, and enums. It then generates detailed reports of instances where your code deviates from those rules. After processing is complete, you can select the reports that you would like to review. Customization analysis provides the following types of reports:

  1. An HTML Customization Analysis report that you can view in a browser.
  2. An Excel file that you can use to review the errors that are generated. To view this report, click View, and then open the file.
  3. An HTML developer report that you can open in a Microsoft Dynamics AX developer environment. To view this report in the Microsoft Dynamics AX development environment, perform the following steps:
    1. Click View. The file will open in a browser window.
    2. Save the report to a computer in your development environment.
    3. In the Compiler output window, click Import, and select the file to open it.
    4. You can double-click any line within the report to open the object and line with the reported issue.

Remove a customization job

To remove a job from the list of customizations for a project, hover over the job name, then click the box to the left, and click the Remove button.

Additional resources

Best Practices for Microsoft Dynamics AX Development