Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keeping Modified VersionList on ApplyDelta #61

Open
barandeniz opened this issue Nov 13, 2019 · 2 comments
Open

Keeping Modified VersionList on ApplyDelta #61

barandeniz opened this issue Nov 13, 2019 · 2 comments

Comments

@barandeniz
Copy link

Hi, is there a way to use http://www.waldo.be/2014/10/28/powershell-script-to-merge-nav-versionlist/
this script during Apply-NAVDelta command? I have different functionality modifications on an object like INF.033,INF.037 etc. When i use Apply-NAVDelta, it overrides all different version list with a constant one that i enter on parameter?

@barandeniz
Copy link
Author

Any news about the issue? @waldo1001

@waldo1001
Copy link
Owner

I can't test this, but ... the only thing you need to do is making sure you have original objects (the ones you apply the deltas to), where you applied the deltas to and target (also the ones you applied the deltas to). When you have all these folders: loop the files in the targetfolders, get all the versionlists, and create a new one with the "merge"-function .. and write that to the target?

Something like this, but by looping files in your folders.. :
https://github.com/waldo1001/Cloud.Ready.Software.PowerShell/blob/master/PSModules/Cloud.Ready.Software.NAV/ModelTools/Merge-NAVApplicationObjectProperty.ps1

Hope it helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants