Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Xrm-Ex is a TypeScript framework that simplifies the usage of Dynamics 365 Client API. It provides intuitive wrappers for formContext and Xrm Object, helping developers reduce the amount of code, increase maintainability, and decrease errors. Ideal for de
Welcome to XrmEx, a powerful TypeScript framework designed for Dynamics 365 Client API. This library is intended to ease the usage of the formContext and the Xrm Object, reducing the amount of code you have to write, thus enhancing maintainability and minimizing errors.
With XrmEx, you'll find a set of intuitive and robust TypeScript wrappers that bring the power of Dynamics 365 Client API into the TypeScript ecosystem in a developer-friendly way. This library is designed to boost your productivity, allowing you to focus on what matters most: creating amazing applications.
Install devDependencies
npm install
To get started with XrmEx, you'll first need to reference the library in your TypeScript project and create an early bound fields Class. Create a variable which is going to hold the instance of your fields Class. Assign the executionContext OnLoad to XrmEx.Form.formContext and create a new instance of your fields class and you're good to go: Reference script
/// <reference path="XrmEx.d.ts" />
let Form = XrmEx.Form;
class Fields {
Firstname = new XrmEx.Field("firstname"),
Lastname = new XrmEx.Field("lastname")
};
var fields: Fields;
export async function OnLoad(executionContext:Xrm.Events.EventContext){
fields = new Fields();
XrmEx.Form.formContext = executionContext;
}
You can then use the library to interact with the Dynamics 365 Client API. Here's a simple example:
export async function OnLoad(executionContext:Xrm.Events.EventContext){
fields = new Fields();
XrmEx.Form.formContext = executionContext;
if(Form.IsCreate) return;
fields.Firstname.Value = "Joe";
fields.Lastname.setVisible(false).setDisabled(false).setRequired(true);
}
XrmEx can be easily installed via npm:
npm install --save xrmex
For a comprehensive guide to using XrmEx, please check out the full documentation.
We welcome contributions from the community! If you're interested in contributing, please follow these steps:
For more information, please see our contribution guide.
XrmEx is released as an open-source project. We welcome contributions from the developer community. Whether it's a bug report, new feature, or a correction, we greatly appreciate any help you can provide.
Leverage the power of Dynamics 365 Client API with less code and fewer errors. Get started with XrmEx today!
FAQs
Xrm-Ex is a JavaScript framework that simplifies the usage of Dynamics 365 Client API. It provides intuitive wrappers for formContext and Xrm Object, helping developers reduce the amount of code, increase maintainability, and decrease errors. Ideal for de
The npm package xrm-ex receives a total of 15 weekly downloads. As such, xrm-ex popularity was classified as not popular.
We found that xrm-ex demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.