Category Archives: MS CRM 2015

Make sure to keep primary field in Lookup view – UCI

Problem Recently faced one issue where lookup control was showing as “No Name”, so we are going to discuss steps to solved it. Solution When I saw this issue, first thing I checked primary field in the parent entity if it contains data or not, but it was not blank. Another strange thing I noticed, as soon as I saved… Read more »

Calling Entity bound Actions using Xrm.Web API with Entity Collection

Requirement In this article we are going to discuss about calling entity bound action which have entity collection as parameter, we need to created this parameter from array list, while sending entity collection we need to send customer lookup as well, so let’s see how we can do that. Details Earlier, we discussed about calling out of the box actions… Read more »

Overriding out of box command button behavior – Step by Step UCI

Requirement: Sometime back we published a post for overriding out of the box command button behavior which works fine for the web client but one of our blog reader reported through twitter (Power of Social media ) that this customization is not working with UCI, so I thought of re-writing the same for the UCI. Details: Let’s see how we… Read more »

Downloading Notes Attachments using Paging

Introduction This article is about downloading Notes attachment from Dyanmics 365. If you have large number of records from where you want to download attachment, you can face different issues like timeout, slow downloading etc. Here I am going to provide sample code which you can use to download attachments from small set of data. Details To download attachment from… Read more »

Bulk Deletion Job Canceled Automatically – {Quick Tip}

Introduction Dynamics 365 allows us to delete our data in bulk. We can define query to select target data which we want to delete. We can also schedule if require and configure notification by providing email, which is used to send notification once bulk job is completed. If you are new to bulk deletion job then you can check this… Read more »

Working with Dynamics 365 Portals- Webinar

freewebinarPic

Are just started working with Dynamics 365 Portals and have many questions in your mind related to customizing Dynamics 365 Portals and extending it’s capability ?? if yes, join on Webinar where we will be discussing following topics Quick Overview of Dynamics 365 Portals We will start with quick view of Dynamics 365 Portals and why you need them. Setup… Read more »

Get contact based on name and it’s BU- Sample Code

If you got requirement to get contact record based on it’s full name and it’s business unit name, this sample code will help you. Sharing following sample code to get contact using Query Expression. Hope it will help someone !!

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 »

Query intersect entity and it’s attribute- Sample Code

Introduction When we setup system N:N relationship between two entities an intersect entity is created internally, which is not accessible directly. Let’s say we have N:N relationship between case and workorder entity. And if you will try to see attributes of this entity, you will find following attributes So in case we want to query this entity, we need to… Read more »