hso-nn / d365-cli Goto Github PK
View Code? Open in Web Editor NEWDynamics 365 Command Line Interface for TypeScript projects for Dataverse
License: MIT License
Dynamics 365 Command Line Interface for TypeScript projects for Dataverse
License: MIT License
Add support to read/write attributes of type File in the generated models.
Microsoft documentation: https://docs.microsoft.com/en-us/powerapps/developer/data-platform/file-attributes
css files arent build during dev build
Reproduction:
Generate model for Incident entity -> View My Team Members' Resolved Cases
Wiki: Fiddler installation/configuration update.
Make sure texts are correct (especially the *). Also add screenshots to make clear.
Types in Model files should be prefixed.
Too often equal names in different entities. Example: Account, Contact
Support regenerate command
Create an option to force updates, even when there is nothing changed...
Support separate solution to generate from
In crm.json something like
'solution_name_generate'
and current 'solution_name' or rename to 'solution_name_deploy'
Make it possible to use command line options for alle commands
The FormContext already supports getAttribute. Please support getControl as in example below.
export class AccountForm extends AccountFormContext {
static async onLoad(executionContext: Xrm.Events.EventContext): Promise<void> {
const formContext = executionContext.getFormContext();
// Already supported
const accountNameAttribute = AccountForm .getAccountNameAttribute(formContext);
// Not supported yet / Enhancement
const accountNameControl = AccountForm .getAccountNameControl(formContext);
}
}
Please provide util Entity for 'environmentvariabledefinition' like there is for 'Annotation'.
More info:
Mention at the deploy wiki part that npm run build:prod is needed before deploy can be done (just like is mentioned on README page)
Support form typings as in XrmDefinitelyTyped
const formContext: Account.Form.Main = executionContext.getFormContext();
Deploy command should check for dist folder
Validate dependencies like NodeJS 14 (LTS)
Create should make clear that 'D365 Solution name' is the unique name ('Name' column)
Support FormattedValue in Model
// hds.dm.SharePointStorageConfiguration.SharePoint Storage Configuration Info.Form.onLoad
contains whitespaces
When creating a new project using the CLI you will get several warnings for outdated/deprecated packages. Please keep the required packages up to date.
Let's try to keep away from vulnerabilities.
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated [email protected]: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated [email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated @babel/[email protected]: ๐จ This package has been deprecated in favor of separate inclusion of a polyfill and regenerator-runtime (when needed). See the @babel/polyfill docs (https://babeljs.io/docs/en/babel-polyfill) for more information.
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: This SVGO version is no longer supported. Upgrade to v2.x.x.
npm WARN deprecated [email protected]: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
added 1196 packages, and audited 1197 packages in 60s
103 packages are looking for funding
run `npm fund` for details
51 vulnerabilities (2 low, 42 moderate, 7 high)
To address issues that do not require attention, run:
npm audit fix
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
FormContext should return Enum type instead of number for OptionSets
Translation not working in HTML Webresources where form has nog translation
Please add support for generating, publishing and debugging PCF Controls.
executeAction using generic type for return.
Update wiki example as well (no unknown needed anymore)
public static async executeAction<D>(actionName: string, data?: unknown, entityLogicalName?: string, id?: string): Promise<D> {
if (entityLogicalName) {
return this.executeBoundAction(actionName, data, entityLogicalName, id);
} else {
return this.executeUnboundAction(actionName, data);
}
}
Ignore .map files while deploying dev build
Create should validate user input
Please support same query logic for WebApi offline
Set build option standard to false. Set to true manually if you want to build specfic webresource.
Please support SavedQueries.
Storing all metadata is too much. Programmer most times want to have the savedqueryidunique
filter by returnedtypecode
/api/data/v9.1/savedqueries
https://docs.microsoft.com/en-us/powerapps/developer/data-platform/webapi/retrieve-and-execute-predefined-queries
Please support NavigationPropertyNames in Entity.enum.ts.
Now AccountAttributeNames.name is available, but not AccountNavigationProperties.masterid
Please add a check for version.
The project is generated/updated by/to a specific version.
The current cli version should match that one.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.