Category Archives: CRM Dvelopment Series

Low-Code Plug-ins for Dataverse

Normally, writing a plug-in is a requirement when working on any Dynamics 365 CE implementation. The number of plug-ins written depends on the complexity of the implementation. In the early days, before the citizen developer era 🙂 , writing a plug-in required .NET knowledge. But now, even citizen developers can write plug-ins without any .NET knowledge and that what we… Read more »

Using Custom Value Rule with Promise

Requirement Sometimes we have requirement to hide/show command buttons in D365 CE UI based on a values of the fields and those fields are not part of the Entity form. Details When we want to hide/show fields based on the entity field, we have to following options: Value Rule – This is used for the simple logic and fields should… Read more »

Open Entity Form Dynamically from Web Resource

Details Sometimes we have requirement to open entity form or I will say refresh complete form from a custom dialog. Normally while we want to refresh complete form, we use Xrm.Navigation.openForm to open entity form. We can use following code to open entity form. In above code we can pass entity name and entity id, it will open entity records,… Read more »

Add attachment from MultipartContent Stream

Requirement Create attachment in Dynamics 365 CE from the stream which will be available in MultipartContent response. Details Let’s say are getting MultipartContent in HttpResponse. This response contains stream which we want to use to create and attach pdf file in notes. We can use following code: The code first checks if the HTTP response is not null and if… Read more »

Hiding Subreport Text box in Main Report

Requirement As a SQL Server Reporting Services (SSRS) developer, you often encounter scenarios where you need to customize the visibility of elements like text boxes within subreports based on certain parameters. This kind of dynamic behavior enhances the user experience and ensures that reports are tailored to specific requirements. In this blog post, we’ll explore how to hide a textbox… Read more »

Leveraging SendEmailFromTemplate to Send Emails to Unresolved Addresses

Introduction While working on Dynamics 365 CE we often need to streamline communication processes using Power Automate. While we want to send emails to our customer, one effective way to do this is by using email templates. Email templates streamline the communication process by providing users with a standardized framework for creating emails, ensuring brand consistency and saving time. These… Read more »

Getting Additional Fields from Lookup while using Email Template

Introduction In our previous post, we explored the utilization of email templates for custom entities, leveraging the capability to retrieve fields from the primary entity. However, suppose we have a scenario where we need to extract fields from a related entity and incorporate them into our emails. In this post, we will delve into the implementation of this specific use… Read more »

Creating Email Template for Custom Entities in Dynamics 365 CE

Introduction: In the dynamic landscape of modern business operations, effective communication stands as a cornerstone for achieving success. Within Dynamics 365 CE, various communication avenues are available to engage with customers through activities. While the platform offers several out-of-the-box options for sending notifications to customers, there are occasions when we must extend the capabilities of Dynamics 365 CE to meet… Read more »

Leveraging Power BI Parameters for Efficient Data Source Configuration

Introduction In a recent project involving Power BI, our focus was on establishing connections to an on-premise Business Central instance. To access the business sandbox, customer opened sandbox service port for us. Additionally, for production purposes, we configured a Data Gateway within the Power BI service. However, upon completion of development, we encountered an issue during the deployment of the… Read more »

D365 CE Integration – Shopify Webhook Registration Automatically Removed

Introduction In earlier blogs we discussed about Dynamics 365 CE and Shopify integration. While testing our integration which we implemented using Azure Function and Shopify Webhook, we found Shopify Webhook registrations are automatically removed after some time. In this blog post, we’ll delve into troubleshooting steps to address this challenge and ensure a stable and reliable integration between Dynamics 365… Read more »