Posts

Showing posts with the label D365

Dynamics 365 - Xrm WebAPI

Microsoft has come up with latest Client APIs for Customer Engagement V9.0. These APIs stream line a lot of stuff we used to do with Javascript in earlier versions. Let’s look in depth into the APIs now. Create Record Update Record Delete Record Retrieve Record Retrieve Multiple Records Execute   Each function has callback functions to handle success and failures. Create Record Syntax: Xrm.WebApi.createRecord(entityLogicalName, data).then(successCallback, errorCallback); Parameters: entityLogicalName – logical name of the entity data – JSON data successCallback - success function with parameters entityType and id(entityId) errorCallback – error function with parameters errorCode and message(errorMessage) Example: var data =     {         "name" : "Chandrahas" ,         "address1_address" : "Chandrahas Address" ,     ...

Dynamics 365 - Portals - Custom Domain

Image
There could be various scenarios where it is required to use a custom domain for our Dynamics portals instead of the out-of-box Microsoft hosted domain i.e. *.microsoftcrmportals.com. Considering this requirement, Microsoft provided a feature in portal management to set up Custom Domain with SSL certifications Before we get into the details, we have couple of pre-requisites. Licensed Organization Dynamics account is required. We will not be able to use custom domain  for a trial version. Custom Domain and SSL Certificate. Assuming you have the first pre-req covered, we can buy a custom domain and an SSL certificate is generated by the vendor who provided the custom domain. But for SSL, we need to provide the vendor a .CSR file. So how do we generate the .CSR file?  Below are simple steps to follow. Download the popular DigiCertUtil from here . Choose option Create CSR, provide the needful information and click on Generate. Note that certificate t...