General downloads
Export selection of objects as separate textfiles
- Author
- Remco Reinking
- Category
- General downloads
- Date
- 03/03/2015
- Size
- 1,82 KB
- Downloads
-
1110
Detailed statistics
- Downloads today 1
- 30 day downloads 12
- Total downloads 1110
- Overall download rank #1337 / 2084
- Today page views 1
- 30 days page views 5
- Total views 2836
- Rating
- Popularity
- Downloaded 7 times in the last two weeks
While doing an upgrade from NAV2009R2 to NAV2015 I found that the powershell cmdlet Split-NAVApplicationObjectFile was very slow. (took more than 12 hours to run)
Maybe because of the setup of the virtual machine I was working on, but that's why I decided to make this small Powershell script that will export all selected objects as separated txt files, using the same naming convention as the Split-NAVApplicationObjectFile function.
It first queries the object table with a given filter and it uses the result set to show to the user.
The user then selects the objects he wants to export. All selected objects will be exported using a call to finsql.exe -exportobjects for each found record.
So it is actually quite simple.
Maybe because of the setup of the virtual machine I was working on, but that's why I decided to make this small Powershell script that will export all selected objects as separated txt files, using the same naming convention as the Split-NAVApplicationObjectFile function.
It first queries the object table with a given filter and it uses the result set to show to the user.
The user then selects the objects he wants to export. All selected objects will be exported using a call to finsql.exe -exportobjects for each found record.
So it is actually quite simple.