Category Archives: Dynamics 365

Dynamics 365 CE and Azure Function Part 2

DynamicsAzure

Introduction This is our second article in the Dynamics 365 and Azure series, in first article we discussed basic introduction about azure function and set azure function app. In this article we are going to discuss how we can read CSV file from blob storage and process it to create/update contact record in Dynamics 365. Let’s say we have following… Read more »

Page Redirect options in entity form Dynamics 365 Portals

DynamicsPortal

Introduction This is common while working with Dynamics 365 Portals we need to setup page redirection. Sometimes we want to use existing query string parameter sometime we need to use a different parameter. Today I am going to discuss different options which can be used to set page redirection in entity form through configurations. Details Page redirection can be configured… Read more »

Dynamics 365 CE and Azure Function Part 1

DynamicsAzure

Introduction This is our first article in the series, of Dynamics 365 and Azure function integration. We will be discussing how we can import data from CSV file to Dynamics 365 using an Azure function, during these series we will be discussing the following options, 1. Introduction to Azure Function 2. Connecting Azure function to Dynamics 365 3. Setup Server to… Read more »

Executing workflow from command button using Web API

WebAPI

Introduction In our earlier sample, we discussed how to call actions using Web API, today we are going to share sample code to execute workflow from command button using Web API. Requirement Let’s say we got some requirement to validate some logic on click of the command button and need to send email using workflow. Let’s see how we can do that…. Read more »

SystemUserAccessMode is not either of (NonInteractive, SetupUser)

While creating work order record, I got following error: “Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: The user with SystemUserId=2….. in OrganizationContext=5…… is not licensed, and its SystemUserAccessMode is not either of (NonInteractive, SetupUser)……..” First thing I checked if the current user Access Mode is not set to Administrative or non-interactive as the error message was saying, but it was… Read more »

Comparing dates in Dynamics 365 Portals using liquid

DynamicsPortal

Introduction In this article, we are going to discuss how we can compare two dates using liquid in Dynamics 365 portal web template. If you are new to Dynamics 365 portals, Please refer our earlier article for setting up Dynamics 365 trial  and you can refer this KB to provision portal in your trial. Requirement Let’s say we have one customer appointment entity where… Read more »

Fixing Dynamics 365 Portals Page Template Issue

DynamicsPortal

While creating Page Template (If you are new to Dynamics 365 portal, you can check about Page Template here) in Dynamics 365 portal, I noticed the type validation was not working (It should hide Rewrite Url field when Web Template is selected under Type field). Please refer our earlier article for setting up Dynamics 365 trial if you want to set up… Read more »

Access Entity based on N:N relationship for Dynamics 365 Portal

DynamicsPortal

Introduction In this article we are going to discuss how we can configure Dynamics 365 portal Web Roles and entity permission to access entity data based on the system N:N relationship. We are using Dynamics 365 trial and provisioned portal trial. Please refer our earlier article for setting up Dynamics 365 trial if you want to setup a Dynamics 365… Read more »

Change “The form could not be submitted..” message in Dynamics 365 Portal

DynamicsPortal

In my earlier article, we discussed how to implement custom javascript validation message, now let’s say we want to change the title of the validator. So first thing I tried to check it’s element using inspect. And used following code But even though this label was changed, but validator title was same Then I tried following code, in console And… Read more »

Adding date validation in Dynamics 365 Portal

DynamicsPortal

Introduction This article is about implementing custom java script validation in Dynamics 365 portal web page. We will discuss how we can show our own custom validation message to portal user. Requirement Let’s say we have following web page in portal where portal customer can enter their preferred date for appointment. But in case customer selects Saturday or Sunday, we… Read more »