Quantcast
Channel: Dynamics 365 Customer Engagement
Browsing all 286 articles
Browse latest View live

Retrieve Access Team Members using FetchXML in CRM 2013/2015

Hi,Today we got a requirement to fetch the users who are added on the Access Team of the record and do some operation.Here is the Fetch XML to retrieve the users that were added to access team. I was...

View Article


Image may be NSFW.
Clik here to view.

Add Product, Add Family and Add Bundle button are missing in CRM

Hi,Today I have activated French language on my CRM and checking some of things. I have a requirement to create a product and navigated to Product Catalog. Unfortunately, I was not able to see Add...

View Article


Image may be NSFW.
Clik here to view.

Build, Rebuild and Clean in Visual Studio

Hi,Today I was talking to a fresher and explaining some of the shortcuts in Visual studio and how we build solutions etc.. and so thought of the writing about Build, Rebuild and Clean Solution in...

View Article

Image may be NSFW.
Clik here to view.

Stages, Stages Number and their use in CRM Plugins

Hi,Sometimes we might get the chance to use only one Plugin on different and it would have separate business logic to perform on different stages.Here is the table which shows the associated stage...

View Article

How to check whether the OpportunityProduct/QuoteProduct/OrderProduct is a...

Hi,Today I got a requirement to check the type of the product that is going to add to the opportunity and do some operation based on it.This can be easily done by referring Product Type field of...

View Article


Sharing Record in CRM using C# Code

Hi,Here is the code to share a record with a Team or User via C# Code. I have not given Delete Access, as I don't want to give in my requirement. You can check the same and remove/add access...

View Article

Unshare Record in CRM using C#

Hi,Here is the code for un sharing record in CRM using C# code.///<summary>/// Un shares the Record from Team or User.///</summary>///<param name="service">CRM Organization...

View Article

Custom Workflow Input and Output Parmeters in CRM

Hi, Today I got a requirement to create a task and assign it to the Manager of the Owner on the Parent Record. We can easily get the Owner value in the system workflow but not the Manager of the owner....

View Article


Image may be NSFW.
Clik here to view.

Principal user is missing prvReadQuery privilege

Hi,We have a created a new security role in CRM and given access as per our requirement. When I started testing by assigning the same security role one of the users got the below exception.Principal...

View Article


Minimum privileges required to access CRM application

Hi, Today we have a created a new security role in CRM and faced issues when we assigned it to the users.  Here is the list of minimum privileges required to access CRM application Entity...

View Article

Changing security attributes is not allowed in stage 20 plugins

Hi,Recently we were working on setting Owner of the record in the Pre-Create of the plugin based on our business rules. When we were testing we got the below message. I remember that we did the same in...

View Article

Plugin on Merge message in CRM

Hi, Recently, we had a to write a plugin on merge message in CRM. We need to perform some activity based on merged records(Master and Subordinate).  Here is the C# code to get the Master and...

View Article

System.InvalidCastException: Unable to cast object of type...

Hi, Today suddenly all our plugins where we are using early binding thrown exception saying the below message. Unable to cast object of type ‘Microsoft.Xrm.Sdk.Entity’ to type After sometime, fixed the...

View Article


Image may be NSFW.
Clik here to view.

Remove Locked Field in the Header

Hi, Today, I got a business requirement to remove the Effective from and Effective to fields from the header of the quote.  First, I thought that would be very simple to do and opened the Quote form....

View Article

Image may be NSFW.
Clik here to view.

Ribbon Workbench Processtrigger With Id = Does Not Exist Issue in CRM

Hi,Today we got a requirement to hide one of the buttons on Task entity based on some business rule. I have imported Ribbon workbench solution and open the Task entity using Ribbon Workbench. After I...

View Article


Disable all fields on a Web form (ASP.net, HTML forms)

Hi, Today we got a requirement to disable all the fields on the ASP.net form based on some conditions. This can be easily done using JavaScript. Here is the code for it.var inputs =...

View Article

Image may be NSFW.
Clik here to view.

This bundle can't be published because it has too many properties. A bundle...

Hi,Today I was working with Product Configuration in CRM. We have created properties under family and the same family as parent for creating bundles. When we publish the bundle, we have received the...

View Article


Image may be NSFW.
Clik here to view.

missing prvReadAsyncOperation privilege

Hi,Today one of my plugins thorown an exception with the below message. "Principal user (Id=GUID, type=8) is missing prvReadAsyncOperation privilege"We have created a secuirty role  and we forgot to...

View Article

Plugin Stages - Pre Validation, Pre Operation and Post Operation

Hi, Here is short description about the stages in Plugin. Pre Validation - Plug-ins registered in this stage may execute outside the database transaction. Registered Plug-in run before the form is...

View Article

Image may be NSFW.
Clik here to view.

Missing prvReadComplexControl privilege in CRM

Hi, Recently, we have created a new security role in CRM and given the same to the users. When I was testing suddenly an error came up throwing the below message. Principal user...

View Article
Browsing all 286 articles
Browse latest View live