locked
Deploy model with Sync Entities MDS 2016 RRS feed

  • Question

  • Hello,

    I have two models on MDS 2016, and they both have Sync Entities referring to the other model.

    I already succeeded to deploy those models to an other environment (from dev to QA).

    I would to update the model in QA as I have done some small modifications in Dev on the two models.

    But when I try to deployupdate, I have this error message :

    "Deploying package C:\XXXXXX.pkg, updating version VERSION_1 of the master data in model XXXX.

    MDSModelDeploy operation failed. Elapsed time: 00:00:02.7057660

    Error:

    The model cannot be updated.

    200213: The entity change cannot be saved. It is the target of a sync relationship. You use the sync process to change the target entity of a sync relationship.

    Correlation Id: 81c38496-4d48-4545-9bbe-e12f53243416

    Package deployment failed with 1errors"

    Is it possible to use deployupdate with Sync Entities ? Or just if only one model refers to the other ? Is there a specific process for that ? Anything else ?

    I used this command line : mdsmodeldeploy.exe deployupdate -package %packageName% -version %modelVersion%

    I am in the right directory and the variables are well defined.

    Thank you for your help.

    Tuesday, May 19, 2020 11:21 PM