Creating a record from JavaScript using the Xrm.WebAPi in Dynamics 365 V9

Create Record:

Let’s see how we can create a “Lead” record using newly introduced
 Web API calls in Dynamics 365 V9
// This line of code is required if you are creating from HTML webresource.

<script src="ClientGlobalContext.js.aspx" type="text/javascript"></script>

var entityData =

                    "subject": “leadFromWebApi”,
                    "lastname": “Ram”

Xrm.WebApi.createRecord("lead", entityData).then(
                    function success(result)
                        alert("Record Created successfully and Id is: " +;
                        console.log("Account created with ID: " +;
                    function (error)

How to Download Plugin Registration Tool from nuget Using Power Shell Script in Dynamics 365 Version 9.x

Summary :  How to Download Plugin Registration Tool Using Power Shell Script in Dynamics 365 Version 9.x 

1. Start menu, Search for Windows Powershell and open.
2. Navigate to the folder you want to install the tools to. For example (d:/Tools)
3. Execute the following Script

$sourceNugetExe = ""
$targetNugetExe = ".\nuget.exe"
Remove-Item .\Tools -Force -Recurse -ErrorAction Ignore
Invoke-WebRequest $sourceNugetExe -OutFile $targetNugetExe
Set-Alias nuget $targetNugetExe -Scope Global -Verbose

##Download Plugin Registration Tool
./nuget install Microsoft.CrmSdk.XrmTooling.PluginRegistrationTool -O .\Tools
md .\Tools\PluginRegistration
$prtFolder = Get-ChildItem ./Tools | Where-Object {$_.Name -match 'Microsoft.CrmSdk.XrmTooling.PluginRegistrationTool.'}
move .\Tools\$prtFolder\tools\*.* .\Tools\PluginRegistration
Remove-Item .\Tools\$prtFolder -Force -Recurse

Virtual Entity feature in Dynamics 365 V9.x Part 2

Create a Virtual Entity Data Source
Login to Dynamics 365 click Settings -> Administration and then Virtual Entity Data Source to open the Data Sources grid.

In the Data Sources grid click on New, to open the Select Data Provider window

In Select Data Provider window select OData v4 Data Provider and then click OK to open the New OData v4 Data Source dialog

Create a Virtual Entity

Now, let’s create a virtual entity to bring data from the OData Source. Click Settings -> Administration -> Customize the System

Create a virtual entity like custom entity and select the Virtual Entity checkbox.

RPA: Blue Prism Training Course Content

                                              RPA: Blue Prism Training Content

Introduction to Blue Prism
  • Blue Prism’s Robotic Automation
Process Studio
  • Running a Process
  • Basic Skills
  • Process Validation
  • Decision Stage
  • Calculation Stage
  • Data Items
  • Review
Process Flow
  • Circular Path
  • Controlling Play
  • Set Next Stage
  • Break Points
  • Collections and Loops
  • Layers Of Logic
  • Pages For Organization
  • Review 
Inputs and Outputs
  • Input Parameters
  • Stepping and Pages
  • Data Item Visibility
  • Data Types
  • Output Parameters
  • Startup Parameters
  • Control room
  • Process Outputs
  • Review
Business Objects
  • Object Studio
  • Business Objects
  • Action Stage
  • Inputs and Outputs
  • The Process Layer
  • Review 
Object Studio
  • Creating a Business Object
  • Application Modeller
  • Spying Elements
  • Attributes
  • Attribute Selection
  • Launch
  • Wait
  • Timeouts
  • Terminate
  • Write
  • Press
  • Attach and Detach
  • Read
  • Actions
  • Action Inputs and Outputs
  • Data items as inputs
  • Review
Overview of Error and Case Management
Error Management
  • Exception Handling
  • Recover and Resume
  • Throwing Exceptions
  • Preserving the current exception
  • Exception Bubbling, Blocks and Exception handling in practice
  • Review
Case Management
  • Work Queues
  • Queue items
  • Work queue configuration’
  • Defer
  • Attempts
  • Pause and Resume
  • Filters
  • Reports
  • Review 
Additional Features
  • Collection Actions
  • Choice stage
  • Logging
  • Log viewer
  • System Manager
  • Process Groping
  • Export and import
  • Release Manager –Packages and Releases
Consolidation Exercise
  • Order system process
  • Consolidation exercise checklist
  • Submitting your completed solution
Advanced Features
  • Undefined collections
  • Data item initialization
  • Data item Exposure
  • Casting
  • Code stage
  • Run mode
  • Initialize and cleanup
  • Attribute Match Types
  • Dynamic Attributes
  • Active Accessibility
  • Application manager mode
  • Global clicks and keys
  • Credentials
  • Environment Locking
  • Command Line
  • Resource PC
Further Application Types
  • Mainframe Applications
  • Java Applications
  • Match index and Match Reverse
  • Surface Automation

Popular Posts