All Projects → crisfervil → DynamicsNode

crisfervil / DynamicsNode

Licence: MIT License
Create simple scripts to interact with Dynamics CRM using Node.js

Programming Languages

typescript
32286 projects
C#
18002 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to DynamicsNode

development-hub
A continuous integration solution for Power Apps.
Stars: ✭ 21 (-22.22%)
Mutual labels:  dynamics, dynamics-crm, dynamics-365, dynamics-crm-online
powerapps-specflow-bindings
A SpecFlow bindings library for model-driven Power Apps.
Stars: ✭ 19 (-29.63%)
Mutual labels:  dynamics, dynamics-crm, dynamics-365, xrm
Microsoft.Xrm.DevOps.Data
This library provides an easy way to generate filtered data compatible with the Configuration Data Migration Tool. These zip files can be used to push specific records between Dynamics 365 environments using the Dynamics 365 Package Deployer.
Stars: ✭ 20 (-25.93%)
Mutual labels:  dynamics, dynamics-crm, dynamics-365, dynamics-crm-online
generator-nullfactory-xrm
Yeoman generator for Dynamics 365 Solutions. It generates a project structure that facilitates the quick creation builds and automated release strategies with minimal effort.
Stars: ✭ 15 (-44.44%)
Mutual labels:  dynamics, dynamics-crm, dynamics-365, xrm
xrm-mock-generator
📖  Generates a mock Xrm.Page object. Commonly used by xrm-mock to test Dynamics 365 client-side customisations.
Stars: ✭ 15 (-44.44%)
Mutual labels:  dynamics-crm, dynamics-365, xrm
Advanced-MultiSelect-for-Dynamics
Advanced MultiSelect for Dynamics 365 / Dynamics CRM is a multi-select / multi-checkbox control on a form. It represents a set of related data items (based on N:N relations + FetchXml) and gives a user an ability to associate/disassociate records of related entities in a quick and convenient way.
Stars: ✭ 14 (-48.15%)
Mutual labels:  dynamics-crm, dynamics-365, dynamics-crm-online
cds-for-code
VSCode extension for working with Microsoft Common Data Service (CDS)
Stars: ✭ 22 (-18.52%)
Mutual labels:  dynamics-crm, dynamics-365, dynamics-crm-online
xrm-mock
📚 A fake implementation of the Xrm object model. Written in TypeScript against @types/xrm definitions.
Stars: ✭ 64 (+137.04%)
Mutual labels:  dynamics-crm, dynamics-365, xrm
Xrm-Quick-Edit
A Dynamics CRM Add-In for speeding up tasks such as translating or toggling field security on or off
Stars: ✭ 13 (-51.85%)
Mutual labels:  dynamics-crm, dynamics-365, xrm
Dynamics365BulkSolutionExporter
[Work In Progress] Take backup of whole D365 organization or export multiple solutions.
Stars: ✭ 30 (+11.11%)
Mutual labels:  dynamics-crm, dynamics-365
Daxif
A framework for automating a lot of xRM development processses. By using simple F# script commands/files one can save a lot of time and effort during this process by using Delegates DAXIF# library.
Stars: ✭ 37 (+37.04%)
Mutual labels:  dynamics-crm, dynamics-365
integration-dynamics
The easiest way to connect Dynamics 365 with WordPress.
Stars: ✭ 17 (-37.04%)
Mutual labels:  dynamics-crm, dynamics-365
powerapps-packagedeployer-template
Enhanced deployment capabilities when deploying with the Power Apps Package Deployer.
Stars: ✭ 18 (-33.33%)
Mutual labels:  dynamics, dynamics-crm
Innofactor.Crm.CI
DevOps tools for Microsoft Dynamics 365
Stars: ✭ 23 (-14.81%)
Mutual labels:  dynamics-crm, dynamics-365
php-crm-toolkit
Dynamics CRM Toolkit for PHP
Stars: ✭ 94 (+248.15%)
Mutual labels:  dynamics-crm, dynamics-365
crm-powerbi-viewer
Embed tiles and reports from Power BI into Dynamics CRM Forms and Dashboards.
Stars: ✭ 24 (-11.11%)
Mutual labels:  dynamics-crm, dynamics-365
webpack-aws-lambda
AWS Lambda that runs webpack and output the bundle.js file
Stars: ✭ 12 (-55.56%)
Mutual labels:  node-js
TODO-List-Tech-Module
TODO List (in C#, Java, JS and PHP) - Exam Preparation for the Tech Module @ SoftUni (August 2017)
Stars: ✭ 13 (-51.85%)
Mutual labels:  node-js
MERN-BUS-APP
This is a MFRP (My first Real Project) assigned to me during my internship at Cognizant. Made with MERN Stack technology.
Stars: ✭ 92 (+240.74%)
Mutual labels:  node-js
express-mvc-generator
Express' Model View Controller Application Generator.
Stars: ✭ 46 (+70.37%)
Mutual labels:  node-js

Windows Build Coveralls npm npm downloads dependencies ghit.me Package Quality

Project description

DynamicsNode is a library built on node.js that allows you to quickly create scripts to interact with Microsoft Dynamics CRM using JavaScript.

The main goal of DynamicsNode is to make you very productive when it comes to automate small tasks in Dynamics CRM. Just create a .js file, add a few lines and execute it.

No more .net console applications with all the boilerplate code just for creating one record. Go productive!

Github project: https://github.com/crisfervil/DynamicsNode

Review the changelog to see the latest changes.

If you want to receive notifications about new releases, you can star this project in GitHub and use https://sibbell.com

How to use it

Create a new directory to store your scripts and cd into it

$ mkdir MyScripts && cd MyScripts

Install DynamicsNode

$  npm install dynamicsnode

Writing code

Create a new js file named myscript.js and start adding code

var dn = require("dynamicsnode");

// update this with your CRM url and credentials if needed
var crm = new dn.CRMClient("Url=http://crm.contoso.com/xrmContoso"); 

// retrieve current user information
var who = crm.whoAmI();
var myUserInfo = crm.retrieve("systemuser",who.UserId);
console.log(myUserInfo.fullname); // prints your user name

// retrieve a user named John Doe
var anotherUser = crm.retrieve("systemuser",{fullname:"John Doe"});
console.log(anotherUser); // prints all the attributes of the user

Save the file and run the script.

In order to run the script use node

$ node myscript

Further information: API

How to compile and test the code: Compile and Testing

Use it as a command line tool: Commands and Repl

Requirements

Requires Node.js

This tool is based on Edge and requires .NET Framework 4.5 to be installed.

It has been tested in Windows environments only, but could potentially work in Linux too using Mono.

Supported CRM versions

Tested on CRM 2011, 2013 and CRM Online so far.

Volunteers to run the integration tests on other versions are more than welcome :)

Backlog

(Ordered by priority)

  • Get 85%+ code coverage
  • Refactor to minimize .net code
  • Add paging support in queries
  • Add async support
  • Improve Exception handling and Show errors thrown in the CRM side
  • Add support for .net core
  • Make it work in Mono and Linux
  • Add functions to work with solutions
  • Add an Assert object to allow create integration tests
  • Add examples page
  • Add a commands to work with connections
  • Add more commands to repl mode
  • Add support for missing operators in condition objects
  • Add d.ts file to Typings repository
  • Add functions to create performance tests
  • Add functions to allow Continuos Integration tools
  • Add extensibility
  • Add integration tests for activities
  • Improve documentation
  • Add DataTable functions
  • Improve testeability and integration tests
  • Add import/export commands
  • Add test coverage reports
  • Upload npm package
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].