Releases: hso-nn/d365-cli
MultiSelectOptionSet
Support added for MultiSelectOptionSet in getAttribute and getControl.
7.0.7
Features
- WebApi.executeFunction (e.g. WhoAmI)
- Deploy will add the onLoad method to the responding form
- Build.js will default to false
- Update package.json to latest versions
Fixes
- Generator removes non word characters from name
- SetFormCustomizable missed forms
- Skip Quick View forms
- Postfix duplicate enum keys
- Postfix duplicate view keys
- Default type without value to 'never'
- Generate AttributeType Boolean without the '| EnumAttribute'
Fix generate Webresource using --template
Fix for: hso-d365 generate Webresource x --template HTML
Command Line parameters
The command line now supports more parameters to prevent questions by the command prompt.
- Entity
- --entityLogicalName x
- Model
- --entityLogicalName x
- Webresource
- --template x (type x: 'React' | 'HTML')
- New (Project)
- --environment
- --solution_deploy
- --solution_generate (optional)
- --solution_pcf (optional)
- --publisher_name
- --publisher_prefix
- --namespace
Entity name remove special characters
When generating an Entity the special Characters will be removed
Fix regenerate timeout
Fix for regenerate timeout
Regenerate regenerates all Entities in the solution
The CLI command hso-d365 regenerate will now regenerate all Entities in the solution. Missing ones will be added. This command is now very usefull to start your project.
It will not look for added entities from other solutions anymore. For that you have to use the hso-d365 generate Entity name command for every external Entity.
Breaking change (only when using the hso-d365 regenerate)
- Existing folder names and files inside should match the Table display name without spaces
Migration
- Execute the hso-d365 regenerate
- Port mismatching folder name code to new generated one
- Replace onLoad function in forms/ribbons
crm.json setting 'only_solution_forms'
In Webresources/crm.json a setting 'only_solution_forms' can be added as boolean.
When true, only the entity forms within the solution will be generated.
When false, all entity forms in the environment will be generated.
Default will be true for new projects.
Custom API support
Custom API support added by generating a CustomApis.ts file containing all Custom API's of the solution
Base Entity.form.ts
Entities will get an Entity.form.ts in the root, which will be extended by the form specific form.ts.
The Entity.form.ts can be used for generic logic for the entity excluded logic with 'controls'.