Warning | ||
---|---|---|
| ||
This is preliminary work, and is not ready for review or feedback. |
...
- <Name>.<Type>.json
For example:
- Grand Bend 2019 Sample State ELA Assessment Results.datamap.json
Issues with persisting the asset name as a filename? NEED INPUT
...
Forbidden Characters (Windows): <>:"/\|?*
We will either need to decide on a substitution scheme or declare them as invalid for exporting. NEED INPUT
...
Code Block | ||||
---|---|---|---|---|
| ||||
Export-DataImportAssets -FolderPath <String> -ConnectionString <String> [-Filter <String>] [-FolderPerAssetType] [-NoClobber] Import-DataImportAssets -FolderPath <String> -ConnectionString <String> [-Filter <String>] [-FolderPerAssetType] [-NoClobber] |
Description
The Export-DataImportAssets cmdlet exports assets from Data Import as individual files.
...
Examples of exported files:
- Grand Bend 2019 Sample State ELA Assessment Results.datamap.json
- CA-IREADY_AssessedGradeLevel.lookuptable.json
- Default API Connection.connection.json
The AssetType value is used in three contexts:
- The filename segment (as demonstrated above).
- The folder name if -FolderPerAssetType is specified.
- Values for the AssetType attribute in the -Filter expression.
The Import-DataImportAssets cmdlet works similarly but in reverse. It imports assets into Data Import from individual files.
Parameters
-FolderPath
- A required parameter that specifies the location of the transferred Data Import assets.
...
- Use this parameter so that the command does not overwrite an existing asset. By default, if the asset exists, the command overwrites without warning.
Examples
Code Block | ||||
---|---|---|---|---|
| ||||
Export-DataImportAssets -FolderPath . -ConnectionString "Data Source=MYSERVER;Initial Catalog=EdFi_DataImport;Integrated Security=True;ApplicationIntent=ReadOnly" |
...