-
Notifications
You must be signed in to change notification settings - Fork 3
Home
Albanian Solution Packager is a tool for XrmToolBox that extracts and packs Solutions from your environment in Dataverse.
Albanian Solution Packager contains three main tabs: Extract, Pack, and Settings. The extract tab helps with extracting a Solution from the connected environment. Pack helps with packing the Solution you have locally and exporting it as a Solution on Dataverse. Settings include the settings of the app. These are explained in detail below.
The configurations are exposed on the tool's left panel. This is an example of version (v1.2022.9.57):
Configuration | Description |
---|---|
Solution Path | The folder where Solution .zip file exists |
Output Folder | Required* The path to a folder. When extracting, this folder is populated with the Solution. |
Package Type | The type of package to process Unmanaged, Managed, or Both. The default value is Unmanaged. When extracting and Both is specified, managed and unmanaged solution .zip files are processed into a single folder. |
Allow Write | By default is left checked |
Allow Delete | Default is Prompt. When Yes is specified, any files present in the folder that are not expected are automatically deleted. When No is specified, no deletes will occur. When Prompt is specified, the user is prompted through the console to allow or deny all delete operations. |
Clobber | When clobber is checked, files that have the read-only attribute set are overwritten or deleted. When unchecked, files with the read-only attribute aren’t overwritten or deleted. |
Error Level | The default value is Info. This argument indicates the level of logging information to output. |
Map File | The path and name of an .xml file containing file mapping directives. |
Suppress Banner | Suppress the banner at runtime. |
Log File | A path and name to a log file. If the file already exists, new logging information is appended to the file. |
Arguments | A path and name to a file that contains command-line arguments for the tool. |
Source Locale | Possible values are code for the language you want to export. When this argument is used, the string resources from the given locale are extracted as a neutral .resx file. If auto or just the long or short form of the switch is specified, the base locale or the solution is used. |
Localize | Extract or merge all string resources into .resx files. The localize option supports shared components for .resx files. |
Format XML | Default is checked. If checked the .xml files are formatted which makes the code more readable and when a change occurs the changed line is located easily. On uncheck, the .xml files are not formatted. |
Extract Button | Press to start the extracting process. |
In case you want the extract to start from a Solution in your Dataverse environment, check the Download from the Organization checkbox on top. You also need to connect to your organization first and sign in with one of the connection methods the Albanian Solution Packager uses. Then if checked an Export Solution window appears at the bottom left. Press the folder button on the right of the CRM Solution dropdown and then choose one of the Solutions that appear and extract it to your Output Folder. Also, you can choose Export Solution Request from the list.
To learn more about the Export Solution requests refer to ExportSolutionRequest Class.
Configuration | Description |
---|---|
Input Folder | |
Solution Path | When packing, this folder must already exist and contain previously extracted component files. |
Package Type | The type of package to process. The default value is Unmanaged. This argument may be omitted on most occasions because the package type can be read from inside the .zip file or component files. When packing and Both is specified, managed and unmanaged solution .zip files will be produced from one folder. |
Error Level | The default value is Info. This argument indicates the level of logging information to output. |
Map File | The path and name of an .xml file containing file mapping directives. |
Suppress Banner | Suppress the banner at runtime. |
Log File | A path and name to a log file. If the file already exists, new logging information is appended to the file. |
Arguments | A path and name to a file that contains command-line arguments for the tool. |
Localize | Extract or merge all string resources into .resx files. The localize option supports shared components for .resx files. For more information check Using RESX web resources. |
Import Solution into CRM? checkbox if checked allows you to import Solution to the CRM. Also, you can choose Import Solution Request from the list. To learn more about the Export Solution requests refer to ImportSolutionRequest Class.
Configuration | Description |
---|---|
Core Tool Version | The version of Core tools being used. |
NuGet Feed | NuGet packages Api |
Language | The Albanian Solution Packager language. You can either keep the features in English or Italian |