Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

ISV Model update

(0) ShareShare
ReportReport
Posted on by 30

Hi,

I have received a new version of an ISV model (axmodel file). I deleted the old model and imported the new model in a development environment. I need to update the model on source control (VSTS/Devops). My question is: Do I delete the existing model folder in Source control before adding the new model?

  • cdgriffin Profile Picture
    cdgriffin 2 on at
    ISV Model update
    For others that wind up here trying to find the answer, I think the original asker of the question was physically deleting the file and expecting the deletions to show up in Pending Changes. This is not how it works. To delete from the repo, you must right click the objects in Source Control Explorer and select "Delete" from there.  Then you will see a Pending Change of the deletions that can be checked in.  After you check it in, you can come back and verify that the folders are gone/empty.  Afterwards, you can work on installing the new model and adding it to source control.
  • Macara T Profile Picture
    Macara T 30 on at
    RE: ISV Model update

    Yes, there are changes as it's a new version. I will check with the vendor about the proper way to update source control.

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,622 Super User 2024 Season 2 on at
    RE: ISV Model update

    Hi Macara,

    I understand that the current way of installing your ISV updates is different compared to the recommended approach. Have you verified with the ISV vendor if there are any changes in the new model compared to your previous model?

  • Macara T Profile Picture
    Macara T 30 on at
    RE: ISV Model update

    Correction to my previous reply:

    However, when I delete the model in the development environment I am NOT seeing the changes to check in.

  • Macara T Profile Picture
    Macara T 30 on at
    RE: ISV Model update

    Thanks André Arnaud de Calavon.

    We are on the new deployment model for D365 v10 and the deployment package should include all current models. I need to delete the old model from source control and add the updated model so our build agent can pull the right models to do the deployment package build. I will need to check in a changeset to delete the old model from source control before adding the updated model. However, when I delete the model in the development environment I am seeing the changes to check in.

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,622 Super User 2024 Season 2 on at
    RE: ISV Model update

    Hi Macara,

    Distributing ISV solutions with help of model files is not recommended. The distribution of code with deployable package is the better method. 

    Create deployable packages of models - Finance & Operations | Dynamics 365 | Microsoft Docs

    Apply updates to cloud environments - Finance & Operations | Dynamics 365 | Microsoft Docs

    I do hope the ISV is using a source control system themselves.

  • Macara T Profile Picture
    Macara T 30 on at
    RE: ISV Model update

    Thanks Mariano!

    For step 1, I deleted the model using ModelUtil.exe and then deleted the model folder in PackagesLocalDirectory and refreshed models in VS. But I don't see any "pending changes" to check in.

  • Verified answer
    RE: ISV Model update
    1. Delete the model and check-in the delete in the source control.
    2. Install the new model and check-in in the source control.
    3. Once in the development branch everything is updated as expected, merge the two check-in your next branch.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,622 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,354 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans