Condividi tramite


How to: Add Rules for Elements

Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

When you enable the Version Control System (VCS) in Microsoft Dynamics AX, you can add rules that determine which element names and element types developers can check in. You must restart the Microsoft Dynamics AX client after you change the element rules for the changes to take effect.

Note

The system settings might be protected from changes so that only the VCS administrator can perform this task. We recommend that your development team follows the Best Practices for Microsoft Dynamics AX Development.

Specify Unwanted Element Names

  1. Click Version control > System settings.

  2. Click the Object rules tab.

  3. In Unwanted object names, type the element names or parts of element names that you do not want developers to check in to the VCS.

For example:

  • If you do not allow for element names that start with AAA, type <AAA, where the less-than sign means "starts with".

  • If you do not allow for form names such as 'Form1', 'Form45', or something similar, type <Form:d+, where :d+ represents one or more numeric characters.

Note

For more information about the special characters that you can use when you specify unwanted element names, see the remarks section for the match Function.

Specify Unwanted Element Types

  1. Click Version control > System settings.

  2. Click the Object rules tab.

  3. In Unwanted object types, select the element types that you do not want developers to create and check in to the VCS.

  4. Press CTRL+N to add more element types to the list.

See also

Best Practices for Microsoft Dynamics AX Development

match Function