Releases: hso-nn/d365-cli
Target set to ES6
Internet Explorer 11 not supported any more by power-platform. That was the only browser using ES5.
In tsconfig.json the target is set to ES6. This will result in better tree-shaking and smaller bundle size.
You can change this in your project manual or do it by update command.
FormContext fixes
Fix: multiple sections having same name resulted in duplicate methods
Fix: When form name was equal to entity, the formContext extending failed
formContext duplicate getXControl fix
When having duplicate fields on a form, the formContext does not generate duplicate methods for it.
Global OptionSets
In previous versions enums were generated for OptionSet fields using a global OptionSet. This resulted in duplicate enum's.
Now global OptionSets will be skipped in the Entity.enum.ts file and you need to generate a global OptionSet file by following cli command:
hso-d365 generate GlobalOptionSets
A src/OptionSets/OptionSets.ts file will be generated.
Entity.enum.ts Views fix
In the Entity.enum.ts the Views had to replace non-Word characters
DateTime Control support
DateTime Control will be generated for formContext
MultiSelectPicklist support
MultiSelectPicklist supported
Fixed entityViews: savedqueryidunique => savedqeryid
Entity.enum.ts Views (Saved Queries) support
The generated Entity.enum.ts now contains the Views (Saved Queries)
Enum generation for NavigationPropertyNames
Entity.enum.ts will contain generated enum for NavigationProperties.
export enum AccountNavigationPropertyNames {
Primarycontactid = 'primarycontactid',
...
}
Service Class logicalName public
Service Class logicalName made public
eslint-disable-next-line @typescript-eslint/no-unused-vars on Entity.model.ts