Export (0) Print
Expand All

How to: Move the Contents of a Model to a New Model [AX 2012]

Updated: January 13, 2014

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

This topic describes how to move the contents of one model to another model in the same layer. You can use either Windows PowerShell cmdlets or the AXUtil command-line utility to perform this task.

NoteNote

To move only a few elements of a model, see How to: Move AOT Elements between Models.

Prepare the system and validate permissions

  1. Drain the client connections that are connected to the Application Object Server (AOS) instance that you are working with. For more information, see Drain users from an AOS.

  2. Validate that you have appropriate permissions to work with the model store:

    • Administrative permissions on the local computer

    • System Administrator rights in Microsoft Dynamics AX

    • In Microsoft SQL Server:

      • Membership in the Securityadmin server role on the SQL Server instance

      • Membership in the db_owner role in the Microsoft Dynamics AX database

Move the contents of one model to another model in the same layer (Windows PowerShell)

  1. On the Start menu, point to All Programs, point to Administrative Tools, and then click Microsoft Dynamics AX Management Shell.

  2. At the Windows PowerShell command prompt, PS C:\>, type the following command, and then press ENTER.

    Move-AXModel -Model Model -TargetModel Model2
    

    This command replaces the contents of Model2 with the contents of Model.

    For more information, see Move-AXModel.

Move the contents of one model to another model in the same layer (AXUtil)

  1. On the Start menu, click Command prompt.

  2. Navigate to the directory for the management utilities. Typically, the location of this directory is %ProgramFiles%\Microsoft Dynamics AX\60\ManagementUtilities.

  3. At the command prompt, type the following command, and then press ENTER.

    axutil move /model:model /targetModel:Model2
    

    This command replaces the contents of Model2 with the contents of Model.


Announcements: To see known issues and recent fixes, use Issue search in Microsoft Dynamics Lifecycle Services (LCS).
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft