Open Steven-Bale opened 4 years ago
I don't know what happened to that blog post - it was somehow deleted. I do not have a local copy, sorry.
The following page brought me here, maybe that helps: https://github.com/microsoft/ALAppExtensions/blob/master/FAQ.md
You can renumber objects in several ways. The following steps describe one of them.
Get the RenumberNavObjectIds tool from https://github.com/NAVDEMO/RenumberNavObjectIds. Clone the project and open it in Visual Studio 2015. Build the project, and you are off to a good start. Run the following PowerShell Script in PowerShell ISE:
Import-module "C:\...\RenumberObjectIds.dll" $RenumberList = @{} 0..1000 | % { $RenumberList += @{ (1800+$_) = (80000+$_) } } 0..20 | % { $RenumberList += @{ (136630+$_) = (82000+$_) } } Renumber-NavObjectIds -SourceFolder "C:\...\C52012DataMigration\" -DestinationFolder "C:\...\C52012DataMigrationReID" -RenumberList $RenumberList -Verbose```
So, what is done in the example is the following:
Renumber-NavObjectIds
from the RenumberObjectIds.dll
DLL.RenumberList
) that maps original object IDs to new object IDs, e.g., 1800 -> 80000, 1801 -> 80001, 1802 -> 80002, and so on for 1001 successive IDs, but also 136630 -> 82000, 136631 -> 82001, and so on for 21 successive IDs.SourceFolder
) and the destination folder for the new renumbered files (DestinationFolder
).
Hello, I tried to make your tool works but I can't anf the link is broken. Could you explain please ?
Thanks Steven