Microsoft Dynamics CRM

Create a HTML table dynamically from Entity List in Dynamics 365 portals/ powerapps portals using liquid

Follow my blog for more interesting topics on Dynamics 365, Portals and Power Platform. For training and consulting, write to us at info@xrmforyou.comAfter my recent posts on Dynamics 365 portal, I came across a question on how to dynamically load an entity list in a web-page. For people knowing on how to use Liquid, basically the …

Create a HTML table dynamically from Entity List in Dynamics 365 portals/ powerapps portals using liquid Read More »

toggle entity forms in Dynamics 365 portals / powerapps portals using liquid

Follow my blog for more interesting topics on Dynamics 365, Portals and Power Platform. For training and consulting, write to us at info@xrmforyou.com As I have been working mostly on Dynamics 365 portals, here goes another D365 portal post. So here is the requirement. The portal customer applies for loan and then views the status of …

toggle entity forms in Dynamics 365 portals / powerapps portals using liquid Read More »

Learn about invitations in Dynamics 365 portals/ Powerapps portals

Follow my blog for more interesting topics on Dynamics 365, Portals and Power Platform. For training and consulting, write to us at info@xrmforyou.comIt’s been sometime that I have written a blog. Has been a lot for the past 2 months, personally and professionally and finally I am delighted to pen this down. Has been working on …

Learn about invitations in Dynamics 365 portals/ Powerapps portals Read More »

disable external authentication in Dynamics 365 portals/ Power apps portals

Follow my blog for more interesting topics on Dynamics 365, Portals and Power Platform. For training and consulting, write to us at info@xrmforyou.com In my previous blog posts, I have explained on how to enable custom authentication for your Dynamics 365 portals (ADX portals) with Identity providers like Azure Active Directory & Google/ facebook. Link for  …

disable external authentication in Dynamics 365 portals/ Power apps portals Read More »

Dynamics 365 Portal/ powerapps portal Authentication with with Google Account

Follow my blog for more interesting topics on Dynamics 365, Portals and Power Platform. For training and consulting, write to us at info@xrmforyou.com In my previous blog, I have explained on how to authenticate your Dynamics 365 portals with Azure Active Directory. You can read it here – https://debajmecrm.com/dynamics-365-portal-authentication-with-external-identities-part-i-authentication-with-azure-active-directory/ However these days it’s common to come …

Dynamics 365 Portal/ powerapps portal Authentication with with Google Account Read More »

Dynamics 365 Portal/ powerapps portal Authentication with Azure Active Directory

Follow my blog for more interesting topics on Dynamics 365, Portals and Power Platform. For training and consulting, write to us at info@xrmforyou.com Lately I have been working a lot on Dynamics 365 portals a lot and also delivering some trainings on the same. Don’t get much of a chance to work on Dynamics 365 portals …

Dynamics 365 Portal/ powerapps portal Authentication with Azure Active Directory Read More »

on change event in dynamics 365/ CDS editable sub-grid.

Follow my blog for more interesting topics on Dynamics 365, Portals and Power Platform. For training and consulting, write to us at info@xrmforyou.comIt’s been some time that I wrote a blog. Been busy with the deliverable and tied up in loads of personal stuffs. However finally took out the time to pen down this small post …

on change event in dynamics 365/ CDS editable sub-grid. Read More »

Error: Object does not support property or method “setSrc” in Dynamics CRM outlook client

Follow my blog for more interesting topics on Dynamics 365, Portals and Power Platform. For training and consulting, write to us at info@xrmforyou.com Recently my customer integrated their Dynamics CRM with outlook client. Everything was going fine until they reported that reported that when the CRM fields for Email entity are loading in Outlook client, they …

Error: Object does not support property or method “setSrc” in Dynamics CRM outlook client Read More »

flexible autonumber solution for Dynamics 365/ CDS with uniqueness guaranteed

Follow my blog for more interesting topics on Dynamics 365, Portals and Power Platform. For training and consulting, write to us at info@xrmforyou.com I am pleased to announce the new Auto Number tool from the stable of XrmForYou.com. Before I walk you through all the features and how you can use the tool to your benefit, …

flexible autonumber solution for Dynamics 365/ CDS with uniqueness guaranteed Read More »

Update rollup field in dyanmics 365 form on-deman

Follow my blog for more interesting topics on Dynamics 365, Portals and Power Platform. For training and consulting, write to us at info@xrmforyou.com Could not explain much about this utility with the title, so let me detail out the requirements here. Roll-up fields are great and here I am not going to talk about how it …

Update rollup field in dyanmics 365 form on-deman Read More »

Use Opportunity and leads in Interactive Service Hub in Dynamics 365

Follow my blog for more interesting topics on Dynamics 365, Portals and Power Platform. For training and consulting, write to us at info@xrmforyou.com As a dynamics CRM consultant, you come up with variety of requirements from customers. Some we achieve easily using the OOB ways with some customizations, some others need a complex workaround and then …

Use Opportunity and leads in Interactive Service Hub in Dynamics 365 Read More »

debug javascript webresource in Dynamics 365 mobile and tablet app

Follow my blog for more interesting topics on Dynamics 365, Portals and Power Platform. For training and consulting, write to us at info@xrmforyou.com No I am not going to put any MSDN link or try to explain how can you debug your scripts in tablet forms efficiently. After all we are in the world of interesting …

debug javascript webresource in Dynamics 365 mobile and tablet app Read More »

Delete all child records when a parent record is deleted in Dynamics 365 using Power Automate/ Microsoft Flows

Follow my blog for more interesting topics on Dynamics 365, Portals and Power Platform. For training and consulting, write to us at info@xrmforyou.comHere comes another requirement and here comes Microsoft flows again to bail me out. So let’s see what the requirement was and let’s see how can we implement Microsoft flows to achieve these easily …

Delete all child records when a parent record is deleted in Dynamics 365 using Power Automate/ Microsoft Flows Read More »

Delete attachments from SharePoint folder when a record is deleted in Dynamics 365 using Power Automate/ Microsoft Flow

Follow my blog for more interesting topics on Dynamics 365, Portals and Power Platform. For training and consulting, write to us at info@xrmforyou.comOff late, I have been working with Microsoft flow and boy! I am liking it. It is cool and specially considering the fact that it simplifies whole lot of stuffs that you would normally …

Delete attachments from SharePoint folder when a record is deleted in Dynamics 365 using Power Automate/ Microsoft Flow Read More »

Refresh Quick View form control using client/ XRM API in dynamics 365/ CDS

Follow my blog for more interesting topics on Dynamics 365, Portals and Power Platform. For training and consulting, write to us at info@xrmforyou.com Recently I came across a requirement where the customer needed to refresh the quick view form on an entity on change of the related field programmatically. So let me explain the requirement here. …

Refresh Quick View form control using client/ XRM API in dynamics 365/ CDS Read More »

Multiselect Picklist control in Dynamics CRM with support for editable grids and Data import feature

Follow Debajit’s Power Apps & Dynamics 365 Blog on WordPress.com Thanks for your overwhelming response to our Multiselect control for Dynamics CRM. Thanks to everyone for your queries for the tool and liking it as well. In case you have missed our earlier post regarding the multi select control for Dynamics CRM, you can jump to …

Multiselect Picklist control in Dynamics CRM with support for editable grids and Data import feature Read More »

How to configure Multi-select picklist control in Dynamics CRM.

Follow Debajit’s Power Apps & Dynamics 365 Blog on WordPress.com Very happy new year to all of my blog readers. This is my first post of the year and it could not have started in a better way. I am delighted to announce the new “Multi-Select Picklist control” from XrmForYou.com tools library. Showing a picklist attribute …

How to configure Multi-select picklist control in Dynamics CRM. Read More »

{Dynamics CRM/ 365 + Clone/Copy} Clone/ Copy your records and relationships in one click–Record cloner for Dynamics

I am delighted to introduce to you our new tool from XrmForYou.com. The tool allows you to configure and clone records in Dynamics with just a few clicks. Apart from the main record you can clone associated relationships as well (1:N) and (N:N). No customizations needed set up cloning. All in few clicks. So let’s …

{Dynamics CRM/ 365 + Clone/Copy} Clone/ Copy your records and relationships in one click–Record cloner for Dynamics Read More »

{Dynamics 365 + Microsoft Apps} In-depth walkthrough on how to build and configure your own app using the App Designer

I have exploring the features of Dynamics 365 for sometime now and was just exploring this. Initially I was not some what reluctant to start getting hands on with this. But with time, as I started exploring, I started liking it more & more & more. And the reason? Well, it’s just configuration. You do …

{Dynamics 365 + Microsoft Apps} In-depth walkthrough on how to build and configure your own app using the App Designer Read More »

{Dynamics 365 + Editable Grids} Rearrange columns on the fly and maintain view groupings and switch display mode in Dynamics 365 editable grids.

Editable grids are here and how and it’s WOW. Probably the most awaited feature of the Dynamics CRM since its inception. The entire community is going gaga over it and why not? No this is not a blog post which tells you how to enable and configure editable grids. There has been lot of great …

{Dynamics 365 + Editable Grids} Rearrange columns on the fly and maintain view groupings and switch display mode in Dynamics 365 editable grids. Read More »

{Dynamics 365 New Features} Explore the new OOB Actions available with Dynamics 365

Some more research and yet another blog post to highlight another excellent feature of Dynamics 365. I have been extoling Dynamics 365 and I am tired as the more I explore, the more I get amazed by it. So without wasting much time, let me straight get to the point here. With Dynamics 365, a …

{Dynamics 365 New Features} Explore the new OOB Actions available with Dynamics 365 Read More »

{Dynamics CRM/365 + WebAPI} Get the created object after creating a record using Web API in Dynamics 365

Another blog post and with it another great feature of Web API enhancements in Dynamics 365 that I will be sharing it. A small enhancement but a really handy one I would say. So let’s understand what this feature I am talking about. If you just saw the header and jumped into this post without …

{Dynamics CRM/365 + WebAPI} Get the created object after creating a record using Web API in Dynamics 365 Read More »

{Dynamics CRM/ 365 + Web API} New Metadata Query features in Web API in Dynamics 365

Dynamics 365 is in and just like me, CRM enthusiasts all over the world are simply WOW’ed by its wonderful offerings. After all, this has been a giant leap by Microsoft and indeed a great opportunity for all consultants to me to plunge into unknown territories and conquer it. In this blog post, I will …

{Dynamics CRM/ 365 + Web API} New Metadata Query features in Web API in Dynamics 365 Read More »

{Dynamics CRM + Role Privilege} Record Privilege Checker for Dynamics CRM

Recently I had a requirement where our client’s support and maintenance team wanted a feature through which they can view the privileges for a record for all active users in the system. Ok, let me take a moment to explain here. Suppose the support team wants to run a regular security check and identify what …

{Dynamics CRM + Role Privilege} Record Privilege Checker for Dynamics CRM Read More »

{Dynamics 365/ CRM forms} Programmatically access controls from a system form of an entity in Dynamics CRM

It’s been sometime I have published a blog article as I am in neck deep work in some tool development. But still I could not resist myself from penning down this interesting stuff which I came across recently and share with all my readers. Recently I came across a customer requirement where they needed to …

{Dynamics 365/ CRM forms} Programmatically access controls from a system form of an entity in Dynamics CRM Read More »

{Dynamics 365/ CRM + Role Based Views}–New and Improved version of Role Based Views Configurator for Dynamics CRM

It’s been some time that I could devote time to my blog and that’s because myself and my entire team was in neck deep work revamping the Role Based View configurator in Dynamics CRM. It gives me great pleasure to release the latest version of Role Based Views. The latest version is a completely revamped …

{Dynamics 365/ CRM + Role Based Views}–New and Improved version of Role Based Views Configurator for Dynamics CRM Read More »

{Dynamics CRM/ 365 + Views}–Create a view to show security roles assigned to user along with roles the user inherits from the team

The title might be confusing. So let’s straightway jump to the requirement here. Our client a role lookup on custom entity form and on click of the lookup, the user should be presented with a view with a view which shows the security role directly assigned to the user along with the security roles the …

{Dynamics CRM/ 365 + Views}–Create a view to show security roles assigned to user along with roles the user inherits from the team Read More »

{Dynamics CRM + Upsert} Execute Upsert request from client side in Dynamics CRM

Upsert request was introduced in Dynamics CRM 2015 Online Update 1 and on-premise customers got a flavour of it from CRM 2016 onwards. After this feature has been introduced, it has been used so much that writing anything on it is now hackneyed. However just when you feel you have done it 100 times, you …

{Dynamics CRM + Upsert} Execute Upsert request from client side in Dynamics CRM Read More »

{Dynamics CRM + Web API Actions} Execute action with an Entity as input parameter using Web API in Dynamics CRM 2016

“Executing action using Web API” – well this is a topic which has become banal. It’s been talked about, people are using it every now and then in their projects. After all 2016 has just swayed away the consultants and customers alike. In-fact I wrote a blog on the same topic almost 6 months back …

{Dynamics CRM + Web API Actions} Execute action with an Entity as input parameter using Web API in Dynamics CRM 2016 Read More »

{Dynamic CRM Word templates} Setting word templates using workflow not working for custom entity in Dynamics CRM 2016? Check this out

Document template feature of Dynamics CRM 2016 came as a big relief to many consultants like us whose only option prior to that was to go to customer and speak about mail merge and many a times which was not liked by customers much. However the introduction of word and excel template features in Dynamics …

{Dynamic CRM Word templates} Setting word templates using workflow not working for custom entity in Dynamics CRM 2016? Check this out Read More »

{Dynamics CRM + SAML + ADFS} FParse SAML Assertion token generated from Dynamics CRM on-premise environment configured with Claims

This blog post is a continuation of my previous post in which I explained on how to get SAML Token programmatically for your Dynamics On-premise environment configured with claims. If you have not read the previous post, I strongly suggest to read it and come back to this. https://debajmecrm.com/utility-saml-token-generator-for-your-dynamics-crm-online-configured-with-claims/   In this blog post, I …

{Dynamics CRM + SAML + ADFS} FParse SAML Assertion token generated from Dynamics CRM on-premise environment configured with Claims Read More »

{Dynamics CRM + SAML + ADFS}–Get SAML Token programmatically for your Dynamics On-premise environment configured with claims

As a CRM Consultant we come across myriad of requirements. Of them some are our day-day stuffs. But the ones which puts us in a bit of head scratching and brainstorming are the ones which gives us the maximum satisfaction when completed. And this was one of them. Our client had configured IFD for their …

{Dynamics CRM + SAML + ADFS}–Get SAML Token programmatically for your Dynamics On-premise environment configured with claims Read More »

{Dynamics CRM + Powershell} Leverage Powershell to simplify your day to day CRM tasks

I have been using powershell for sometime now for my day to day job in my CRM project. And yes, whenever I use it, I simply love it. Just today another CRM consultant walked up to my desk and saw me running some CRM commands in PowerShell and he was simply amazed about quickly we …

{Dynamics CRM + Powershell} Leverage Powershell to simplify your day to day CRM tasks Read More »

{Dynamics CRM + Fetchxml + SQL} FetchXml to SQL converter for Dynamics CRM 2016/ 2015. Enjoy seeing your fetchxml queries getting converted to SQL without using profiler

First of all, I have been able to make this work for CRM 2015/ 2016 on-premise and IFD but does not work with online version. However I am still trying hard to make it work for online version as well. Hopefully I would be able to find a solution very soon. Now coming to what …

{Dynamics CRM + Fetchxml + SQL} FetchXml to SQL converter for Dynamics CRM 2016/ 2015. Enjoy seeing your fetchxml queries getting converted to SQL without using profiler Read More »

{Dynamics 365 + Azure + Queues} Part4– Developing a queue listener to read messages from the queue

This is the final post in the series and if the you are directly in here, I strongly suggest to start from the link – https://debajmecrm.com/blog-series-complete-in-depth-walkthrough-of-dynamics-crm-plugins-with-azure-service-bus-queues/ So we are almost at the end of our journey and we just have to build a client to read the message we have posted in the queue. If …

{Dynamics 365 + Azure + Queues} Part4– Developing a queue listener to read messages from the queue Read More »

{Dynamics 365 + Azure + Queue} Part3 – ACS integration with Dynamics CRM and posting of messages to Queue

This is the third post in the series and if the you are directly in here, I strongly suggest to start from the link – https://debajmecrm.com/blog-series-complete-in-depth-walkthrough-of-dynamics-crm-plugins-with-azure-service-bus-queues/ Open Plugin Registration Tool and click on Register –> New Service Endpoint Name – Enter a suitable name. Description -  Don’t leave this blank. It is mandatory otherwise you …

{Dynamics 365 + Azure + Queue} Part3 – ACS integration with Dynamics CRM and posting of messages to Queue Read More »

{Dynamics 365 + Azure + Queue} Part2 – Azure Queue and Identity Provider Configuration

This post is a continuation of my previous post. If you have not read the previous post, I would strongly suggest to read the same and come back here. Here is the link – https://debajmecrm.com/blog-series-complete-in-depth-walkthrough-of-dynamics-crm-plugins-with-azure-service-bus-queues/ In this article we will understand how to configure a queue where Dynamics CRM can post messages and also configure …

{Dynamics 365 + Azure + Queue} Part2 – Azure Queue and Identity Provider Configuration Read More »

{Dynamics 365 + Azure + Queue} Part1 – Understand the basics

You might be thinking, we already have so many wonderful blog articles which explains how to do this. I agree. But in most of the cases, not the whole steps from the start to finish is mentioned to make it work in real life. In some cases, it is neatly depicted what you should do …

{Dynamics 365 + Azure + Queue} Part1 – Understand the basics Read More »

{Dynamics 365/ CRM + Email Attachments} Get count of Attachments for Email in Dynamics CRM without code

Recently we had a requirement from our customer to show the number of attachments for each email in a view. The number needs to be reflected whenever the user refreshes the view. Simple requirement right? And what is coming to your mind? Plugins? Workflows? Well if you are thinking of the Plugins and workflows, I …

{Dynamics 365/ CRM + Email Attachments} Get count of Attachments for Email in Dynamics CRM without code Read More »

{Dynamics 365/ CRM + Global Search} Set global search as default landing page for specific users in Dynamics CRM

This has been a common requirement so many customers that I worked for. Setting the global search page as the default landing page for specific users. I saw a similar question today in the Microsoft Dynamics forum as well and hence I decided to pen down on how I did it. First things first – …

{Dynamics 365/ CRM + Global Search} Set global search as default landing page for specific users in Dynamics CRM Read More »

{Dynamics CRM + Voice of Customer} How to insert dynamic data while distributing surveys using the ‘Voice of Customer’ in Dynamics CRM 2016

‘Voice of Customer’ has indeed been a great solution provided by Microsoft. And recently we showed a demo to one of our customers and they were just taken aback by this new feature. After all, they could launch the surveys and capture the responses just by few configurations and generate awesome surveys. For people who …

{Dynamics CRM + Voice of Customer} How to insert dynamic data while distributing surveys using the ‘Voice of Customer’ in Dynamics CRM 2016 Read More »

{Dynamics CRM/ 365 + Add New Bug} Add New (+) button not visible in sub-grid in Quick form View in Dynamics CRM 2016. Bug or expected behavior?

Back sometime I wrote a blog post on how to show related activities of an account on the contact form using Quick View feature. Here is the blog post link. Back then it was 2013 version of CRM and it generated quite an interest. It worked great and a great advantage was people could even …

{Dynamics CRM/ 365 + Add New Bug} Add New (+) button not visible in sub-grid in Quick form View in Dynamics CRM 2016. Bug or expected behavior? Read More »

{Dynamics CRM + Customer Hierarchy} How to show all related contacts in entire customer hierarchy in Dynamics CRM 2015 onwards

Recently my friend called up for a requirement where they needed to show all contacts in customer hierarchy. Let me explain the scenario here before moving further Suppose Account A is parent customer for Account B and Account B is the parent customer for Account C. So the requirement is when Account A form is …

{Dynamics CRM + Customer Hierarchy} How to show all related contacts in entire customer hierarchy in Dynamics CRM 2015 onwards Read More »

{Dynamics CRM + Security Role + System Settings} What role privilege controls System Setting visibility in Dynamics CRM?

Recently I came across a question in Dynamics Forum where the same question was posted. To be more specific, some sales user in the environment were having access to ‘System Settings’ in the administration section due to improper set-up of security role. Clearly this was a security vulnerability. So what is the privilege that gives …

{Dynamics CRM + Security Role + System Settings} What role privilege controls System Setting visibility in Dynamics CRM? Read More »

{Dynamics CRM + Maintenance Page} How to pull down specific CRM Organization for maintenance in a multi-tenant CRM environment with IFD configured

I know the title of the blog is a bit confusing. So if you are reading this, I would suggest you continue reading this. So first the requirement. Our client had two CRM Organizations in a single installation of CRM. And both the organizations are on IFD. With time one organization because of it more …

{Dynamics CRM + Maintenance Page} How to pull down specific CRM Organization for maintenance in a multi-tenant CRM environment with IFD configured Read More »

{Dynamics CRM + Web API + Plugins} Can we make Web API calls from Plugins in Dynamics CRM 2016

After my last couple of blogs on Web API, I am being asked this question repeatedly. Can I use Web API from Plugins/ Custom workflows? And I keep on asking back, why do you need that? After all there is the almighty organization service which virtually allows you do anything and everything that you would …

{Dynamics CRM + Web API + Plugins} Can we make Web API calls from Plugins in Dynamics CRM 2016 Read More »

{Good to Know} Why you should never user USER_ROLES variable in your Dynamics CRM form scripts

Sometimes simple things can give you nightmares and the same happened with one of my colleague. So this is the scenario. My colleague just needed to identify if a user is a particular security role and for that he was using the OOB script – Xrm.Page.context.getUserRoles(). The funny thing is that this method was returning …

{Good to Know} Why you should never user USER_ROLES variable in your Dynamics CRM form scripts Read More »

{In Depth} Power BI and Dynamics CRM on-premise–When and how it works?

Microsoft has been focusing recently in Cloud First Strategy for Microsoft Dynamics CRM. Every new cool feature you name, you see it in online first. However as with everything, when you focus heavily on one side, some aspects always gets neglected. And big on-premise customers are at the receiving end recently for this. Believe me …

{In Depth} Power BI and Dynamics CRM on-premise–When and how it works? Read More »

{KnowHow} How to use Discovery Service Web API of Dynamics CRM 2016

Recently I posted in my blog on how to execute Web API queries from external ASP.NET web application to retrieve data. Details could be found here – https://debajmecrm.com/knowhow-how-to-execute-web-api-calls-to-microsoft-dynamics-crm-from-an-external-asp-net-web-application/. After this post, people has been asking me to how to leverage the Discovery service Web API with Dynamics CRM 2016. And the most common question being …

{KnowHow} How to use Discovery Service Web API of Dynamics CRM 2016 Read More »

Configure your Dynamics CRM as identity provider for an external web application

How common in these days is to land up in a website where you see login via facebook or login via your gmail. Many times for our projects we need to develop a custom asp.net web portal which where users might need to authenticate with Microsoft Dynamics and fetch data. In this example, I will …

Configure your Dynamics CRM as identity provider for an external web application Read More »

{Knowhow} How to execute Web API calls to Microsoft Dynamics CRM from an external ASP.NET web application

Microsoft Web API has delighted all and specially if you have a penchant towards exploring the API features, then Web API must have thrilled you by this time. Many consultants and experts, including myself, have written blogs on how to leverage the Web API features in Dynamics CRM.But all these far, all the examples have …

{Knowhow} How to execute Web API calls to Microsoft Dynamics CRM from an external ASP.NET web application Read More »

Show all Contacts whose Birthday falls this week in Microsoft Dynamics CRM 2016/ 2015 Online Update 1

I came across this interesting requirement today and hence thought of penning down the solution. Please note this solution is for only for CRM 2015 Online Update 1/ CRM 2016. This solution does not target versions below that. So from the title of the topic, the requirement is very obvious. I need a view which …

Show all Contacts whose Birthday falls this week in Microsoft Dynamics CRM 2016/ 2015 Online Update 1 Read More »

Understanding in Depth – Cross Origin resource sharing (CORS) in Dynamics CRM 2016

First don’t get overwhelmed by the title of the topic. All this means how to connect to CRM from a standalone HTML Page using the web-api. Prior to CRM 2016, you cannot connect to CRM OData service from any HTML Page outside dynamics CRM. However with CRM 2016 you are able to do this. If …

Understanding in Depth – Cross Origin resource sharing (CORS) in Dynamics CRM 2016 Read More »

How to manage existing the access teams when Access template rights are changed in Microsoft Dynamics CRM

It’s been more than 3 years that access teams have been introduced and perhaps every project I visit, I find the use of access teams. However there are still couple of nuances in access teams which most of the teams find it difficult to manage. The first of them being the migrating the access team …

How to manage existing the access teams when Access template rights are changed in Microsoft Dynamics CRM Read More »

Prepare your code for Disaster recovery in Dynamics CRM Online – Dynamics CRM 2016

Not a very familiar topic I would say, at-least from what the title says. But I feel this will become more and more prominent as Dynamics CRM online customers keeps on increasing every hour. So how do you handle if there is  some unplanned service interruption for you CRM online customer. Unplanned interruption happens when …

Prepare your code for Disaster recovery in Dynamics CRM Online – Dynamics CRM 2016 Read More »

Read all column values in sub-grid on the form using client API–Dynamics CRM 2016

Microsoft introduced the Xrm.Page object model to interact with the sub-grids on your forms from 2015 Online Update 1 and in CRM 2016 (for on-premise as well). Wonderful isn’t it. You can query the number of rows in the sub-grid, get the primary attribute value, guid and the logical name of each of the record …

Read all column values in sub-grid on the form using client API–Dynamics CRM 2016 Read More »

Using Color codes in Option Set Items – Dynamics CRM 2016

Dynamics CRM 2016 overwhelms customers and consultants alike. There is no denying the fact that indeed, this has been a giant step forward be in terms of user experience or the rich set of functionalities, especially for our on-premise customers who have made the leap from CRM 2015 to CRM 2016. And among these big …

Using Color codes in Option Set Items – Dynamics CRM 2016 Read More »

Debug your web resources efficiently in Dynamics CRM

Sometimes the most simple stuffs are the most appreciated ones. The same goes about this topic. There is nothing very geeky or some advanced feature of Dynamics CRM that I am going to talk about here. Yet these simple techniques would help a lot in your day to day CRM development. Here I am going …

Debug your web resources efficiently in Dynamics CRM Read More »

Why is CRM not performing full text search after installing Update 0.1–Dynamics CRM 2015 On-premise

Before you continue reading this post, make sure you are aware of the full text search enhancement for quick find that has been introduced with Dynamics CRM 2015 Update 0.1. In case you are not aware of this feature, you can refer to my another blog post – https://debajmecrm.com/optimize-your-global-search-by-enabling-full-text-search-in-dynamics-crm/. This post would give you an …

Why is CRM not performing full text search after installing Update 0.1–Dynamics CRM 2015 On-premise Read More »

{Tips & Tricks}–Show repeating content in Dynamics CRM 2016 word templates

Well, let me be very honest here. I hated to write this blog post. But to my surprise, I am finding lot of people wasting their valuable on this small stuff. So I thought, let me pen down this rather insignificant stuff so that it can help at-least someone stuck with the same issue. I …

{Tips & Tricks}–Show repeating content in Dynamics CRM 2016 word templates Read More »

Invoke your Custom Action from Dynamics CRM Web API–Dynamics CRM 2016

Continuing with my series of blog posts related to the wonderful Web API of CRM 2016, in this blog post, I will explain how to execute custom actions through Web API. No more use of creating complex SOAP queries from the client side to invoke your action. The wave of Web API is here to …

Invoke your Custom Action from Dynamics CRM Web API–Dynamics CRM 2016 Read More »

Impersonate a user using the Microsoft Dynamics Web API in Dynamics CRM 2016

I have been exploring the Dynamics CRM Web API features and frankly speaking it never ceases to amaze me. So today I am going to explain how you can impersonate a user to create a record from the client side. Wondering how can we impersonate from the client side. After all, till this time, plugins …

Impersonate a user using the Microsoft Dynamics Web API in Dynamics CRM 2016 Read More »

Leverage Web API to execute your System Views, Personal Views and Custom FetchXml in Dynamic CRM 2016

Prior to CRM 2016, REST queries were based on the OrganizationData service. However the functionalities provided by the REST API were really limited to the CRUD operations and Associate Requests. If you need to execute complex fetchxml queries, either you need to take your code to the server side or call the Organization service endpoint …

Leverage Web API to execute your System Views, Personal Views and Custom FetchXml in Dynamic CRM 2016 Read More »

Understanding Solution Cloning feature in detail in Dynamics CRM 2016

In my previous posts, I explained in detail two new features of CRM 2016, solution segmentation and solution patching. To view the posts you can refer to the below links. Solution Segmentation – https://debajmecrm.com/understanding-solution-segmentation-in-detail-in-dynamics-crm-2016-create-a-solution-with-just-what-you-need/ Solution Patching – https://debajmecrm.com/simplify-your-deployment-with-the-new-solution-patching-feature-in-dynamics-crm-2016/ In this article, I will cover in depth another new feature introduced in the CRM 2016 which …

Understanding Solution Cloning feature in detail in Dynamics CRM 2016 Read More »

Simplify your deployment with the new Solution Patching feature in Dynamics CRM 2016.

In my earlier blog post, I have explained in detail the solution segmentation feature in Microsoft Dynamics. In you are new to the solution segmentation feature, please refer to the blog post – https://debajmecrm.com/understanding-solution-segmentation-in-detail-in-dynamics-crm-2016-create-a-solution-with-just-what-you-need/ In this post, I will cover in as much depth as I could explore , the new feature of Solution Patching …

Simplify your deployment with the new Solution Patching feature in Dynamics CRM 2016. Read More »

Understanding Solution Segmentation in detail in Dynamics CRM 2016 –Create a solution with just what you need.

I have been exploring Dynamics CRM 2016 lately and what a wonderful release it has been. Today I was exploring in depth the new solution enhancements introduced with Dynamics CRM 2016 and I have to say I am mesmerized by it. Whatever complaints my customers has been raising regarding solution versioning and management, I think …

Understanding Solution Segmentation in detail in Dynamics CRM 2016 –Create a solution with just what you need. Read More »

Dynamics CRM 2016 – Using SetProcessRequest message to update your Business Process programmatically

Exploring new stuffs in Dynamics CRM 2016 is great and if it is something technical and gives me an opportunity to write some code, it’s like icing on the cake for me. CRM 2016 has introduced the new SetProcessRequest message which enables you to set the business process of a target entity. So let’s get …

Dynamics CRM 2016 – Using SetProcessRequest message to update your Business Process programmatically Read More »

Create automated email notification when your incoming emails stops synchronizing in your Dynamics CRM

First let me explain the requirement here. Our client had set up server side sync for incoming email synchronization. There is one support mailbox to which end-users sends email. Once the email comes to support mailbox, the email is forwarded to CRM at every specified interval. And once it comes inside CRM, it is assigned …

Create automated email notification when your incoming emails stops synchronizing in your Dynamics CRM Read More »

{Tips & Tricks} Explore a managed solution’s plugin assembly programmatically in Dynamics CRM Online.

I never find a good title to explain my blog post. So I would rather suggest you read through my entire post even if blog title seems absolutely non-sense . So coming back to the topic here, first let me tell you why I needed to do all this stuff. My customer environment contained a …

{Tips & Tricks} Explore a managed solution’s plugin assembly programmatically in Dynamics CRM Online. Read More »

Save your changes in CRM directly from excel online–Dynamics CRM 2015 online Update 1

Dynamics CRM 2015 Online update 1 brought many changes. And the most talked about changes I keep hearing about are the new SDK changes that came with it. I am from hard-core programming background and honestly nothing excites me than getting dirty with new stuffs hands-on. However in my role as a consultant, I have …

Save your changes in CRM directly from excel online–Dynamics CRM 2015 online Update 1 Read More »

Explore Channel Engagement Framework for automatic creation of entities from activities–Dynamics CRM 2015 Online Update 1

Recently I got a chance to explore this while doing a small POC for one of my customers. And boy! I liked it. All this time I was hearing about this and also watched the MSDN video. But nothing is true experience until you get a first hand experience of it. Here was the scenario …

Explore Channel Engagement Framework for automatic creation of entities from activities–Dynamics CRM 2015 Online Update 1 Read More »

{Resolution}–SSRS report not rendering in Dynamics CRM

Since the title is not explanatory, let me explain the topic here first. Recently I was asked to look  into custom SSRS reports which were working fine until recently it started throwing intermittent errors where the report was not rendering. Users were getting the below errors. Reports were rendering empty with no data “An error …

{Resolution}–SSRS report not rendering in Dynamics CRM Read More »

Optimize your global search by enabling full text search in Dynamics CRM

Are you using CRM 2015 and you have complaints regarding the global search 2015 performance? Well then you are right place. with CRM 2015 Update 1, Microsoft provides a feature to enable full text search for your organization. Once you download and install Update Rollup 1 for Dynamics 2015, this option would be available to …

Optimize your global search by enabling full text search in Dynamics CRM Read More »

Read Committed Snapshot Isolation (RCSI)–Know before you use it for your Dynamics CRM Database

‘Read Committed Snapshot Isolation’ Or RCSI is short is something I continuously keep hearing in my CRM implementations every time there is any discussion related to the CRM performance.  On the lighter side of it, the term itself is very catchy isn’t it. Since it’s not a database related blog, I will keep the concepts …

Read Committed Snapshot Isolation (RCSI)–Know before you use it for your Dynamics CRM Database Read More »

{Utility}–Access team template migrator for Microsoft Dynamics

Access Teams! Great feature that came with Microsoft Dynamics CRM 2013 version. However after repeated implementations, despite the benefits that access templates provide, one common complain that I have heard “Why are access teams not solution aware?” Well lets get a bit deeper here. It’s not the access teams which is loosely mentioned in the …

{Utility}–Access team template migrator for Microsoft Dynamics Read More »

Registering custom client handlers for your business process flow stage handlers –Dynamics CRM

This post is in continuation to the my previous post – https://debajmecrm.com/control-crm-2013-business-process-next-stage-and-previous-stage-flow-using-jscript/ In the above post I have showed how you can override the OOB next and the previous stage clicks and make your own functions to fire when the next or previous stage movements happen. Please note that whatever I have mentioned in the …

Registering custom client handlers for your business process flow stage handlers –Dynamics CRM Read More »

{Fix}–SSRS Reports in Dynamics CRM not running under executing user’s context

Wondering how is it possible. I myself was confused when the one of the developers in our project reported this. Surely I thought it is not possible. There is something the developer is confusing with. So I checked the report and what I did is print the logged in userid in the report using the …

{Fix}–SSRS Reports in Dynamics CRM not running under executing user’s context Read More »

{Fix}–Report Parameter changes not taking affect when uploaded–SSRS Reports in Dynamics CRM

Every day brings a new surprise in the life on consultant. And today was also not an exception. We had some SSRS reports for our client which required some changes in the default values of multiple parameters for each of the reports. So our SSRS report developer did all the changes which was pretty quick …

{Fix}–Report Parameter changes not taking affect when uploaded–SSRS Reports in Dynamics CRM Read More »

{knowhow} Clone an entity record programmatically in Microsoft Dynamics CRM using Clone method

Recently in my project the customer came up with a requirement where they needed to clone a record programmatically. They wanted a common API which can be used to clone records of any entities. Normally the requirement would be like there would be a button on the entity record form called ‘Copy Record’ or ‘Clone …

{knowhow} Clone an entity record programmatically in Microsoft Dynamics CRM using Clone method Read More »

{Best Practices} Naming convention for you javascript webresources in Dynamics CRM

Let’s agree to this. In any complex CRM implementations you would end up with lot of client side coding. No matter how much hard you try, you simply cannot avoid them. And why not. With new additions in CRM 2015, the client API of Dynamics CRM is as powerful as it ever was. However believe …

{Best Practices} Naming convention for you javascript webresources in Dynamics CRM Read More »

Typify your HTML webresources in Dynamics CRM using TypeScript

Does the word TypeScript sound familiar to you. Hear it buzzing around you and thinking as a dynamics consultant how and when can I use it, then this post for you. People already expert in typescript, I would rather suggest stop immediately and close this post and move on to something else as this is …

Typify your HTML webresources in Dynamics CRM using TypeScript Read More »

{Dynamics CRM web resource} Exploring field validation features in HTML5.

In this topic, I am going to walkthrough the cool HTML5 stuffs that you can use for field validation while you build webresources in Dynamics CRM. Up until now, if you are not using HTML5, to validate a required field, you would need to write javascript to test for each field. Also your headache increases …

{Dynamics CRM web resource} Exploring field validation features in HTML5. Read More »

{How to Fix} – This report requires a default or user-defined value for the report parameter. Error while executing SSRS report programmatically from plugins in Dynamics CRM

Looking at the title of the topic, you might be asking – Is this something to do with Dynamics CRM Plugins only? The answer is ‘NO’. It’s not. The error I am talking about is generic and you may get it from anywhere where it is trying to execute a SSRS report programmatically. However posting …

{How to Fix} – This report requires a default or user-defined value for the report parameter. Error while executing SSRS report programmatically from plugins in Dynamics CRM Read More »

Webresource development with HTML5 features}–How to show default text in controls on your HTML webresources

Wanted to share this really cool stuff with fellow Dynamics CRM consultants who might not be aware of this html5 feature.   We had a webresource and where we had multiple input controls. Our client wanted that these input controls should show some default text to make the user understand the type of input the …

Webresource development with HTML5 features}–How to show default text in controls on your HTML webresources Read More »

{Webresource Development Part – I} Using new HTML5 features in HTML webresources in Dynamics CRM

How many times have you heard about HTML5. It’s one of the most talked about stuffs in the industry. HTML5 and jQuery – the killer combination. And again there is this topic which discusses about HTML5. So let me explain here why I choose to pen down this blog post. HTML5 have been doing the …

{Webresource Development Part – I} Using new HTML5 features in HTML webresources in Dynamics CRM Read More »

{Knowhow} – How to get the server time in Dynamics CRM?

Not sure of the title explains the topic much. So let me illustrate with an example on what we were trying to achieve for our customer. The customer had a requirement where the users would need to enter weekly data and the report would be locked for the week by Thursday 5 PM PST time …

{Knowhow} – How to get the server time in Dynamics CRM? Read More »

{Dynamics CRM} How to perform intersect queries using the same relationship twice in the in Dynamics CRM fetchxml.

Title seems confusing. Right? Well even to me it’s not a great title to explain the topic. For me, nothing is better than real time examples. So let me illustrate the same with an example. So I was in this project where my customer wanted me to create a view that would show users in …

{Dynamics CRM} How to perform intersect queries using the same relationship twice in the in Dynamics CRM fetchxml. Read More »

{Useful to know}– Moving User’s Business Units in Dynamics CRM? Beware of all the side effects

We had this requirement recently with one of our clients. They had a change in their business processes and from team based security, they wanted to move to region based security. What they wanted from us is to migrate their Users to specific Business Units based on regions. So they had five region which they …

{Useful to know}– Moving User’s Business Units in Dynamics CRM? Beware of all the side effects Read More »

{Tips & Tricks} How to optimize your report query in Dynamics CRM minimizing the use of filtered views

There are many topics on optimizing the performance of the reports in Dynamics CRM. And it has been discussed so many times about the performance of filtered views. However no matter how much we try, we have to use filtered views for the security context of the report. And here I was called for to …

{Tips & Tricks} How to optimize your report query in Dynamics CRM minimizing the use of filtered views Read More »

Switch business process programmatically in Dynamics CRM based on business logic during create of a record.

Confused by the title? Well let me explain here the exact requirement that I had recently for one of my customers. For the opportunity entity we designed multiple business process flows. However the condition was whenever a user tries to create a new opportunity, first a default business process flow would load. Depending on the …

Switch business process programmatically in Dynamics CRM based on business logic during create of a record. Read More »

Show consolidated summation of values in Funnel chart in Dynamics CRM

Yes, I saw exactly the same line in the draft customer requirement sheet. My prompt reply would have been ‘No’ to the customer for this requirement. But as a consultant, we all know the perils of saying a direct ‘No’ to the customer. To be specific to the requirement, we had a  dashboard showing a …

Show consolidated summation of values in Funnel chart in Dynamics CRM Read More »