Sunday, March 17, 2019

Merge Object Using Powershell (CU Update & NAV Upgrade)

Hello Friends,

Use the NAV Development Shell to auto merge the NAV Objects

It is very useful for

  • CU Upgrade
  • NAV Upgrade
  • Bug Fix Merge
  • Big/Small Functionality Merge
Suppose we take one example to install CU 17 to customer object having CU11

1) Create 4 Folder as shown in following snapshot.
















2) Open NAV Development Shell using administrator and following script

Cmdlet: Merge-NAVApplicationObject -OriginalPath C:\Users\nishit\Desktop\Temp\Shyam\1Original\*.txt -ModifiedPath  C:\Users\nishit\Desktop\Temp\Shyam\2Modified\*.txt -TargetPath C:\Users\nishit\Desktop\Temp\Shyam\3Target\*.txt -ResultPath C:\Users\nishit\Desktop\Temp\Shyam\4Result\
3) System auto merge targe file and show the result, You need to solve conflict files





































Done.

If you have query than write comments
Thank you for reading.

Keep Sharing..Keep Growing...

No comments:

Post a Comment