SharePoint solution activate button is disabled
Hi,Today we are working on integrating CRM with SharePoint. As we all know if we need to upload list component in SharePoint and activate it. When I tried upload, observed that the Activate button is...
View ArticlePlugin on Re-Open Opportunity in CRM
Hi,Today I got a requirement to do some business logic when re-opening the opportunity. First of all, I thought writing a plugin and having pre-image to compare the state or status reason. Again I just...
View ArticleYou do not have permissions to see this view. Contact a system administrator...
Hi,Today we have observed for one of the users in CRM What's new section is not loading properly and it was showing the below error.You do not have permissions to see this view. Contact a system...
View ArticleWrong type of attribute UI properties passed to the attribute
Today when are trying to Merge got below error message and there is no log file also to download. Disabled all the plugins, JavaScript on Account entity and tried again but the same error message...
View ArticleSet Focus using JavaScript in CRM
Hi,Today I was working on validating some fields on the form and showing a message to the user to enter the data. Normally whenever we do the validation, its always better to set the focus to the...
View ArticleRun To Cursor in Visual Studio
Hi,I was sitting in front of lap where Visual Studio is opened and right clicked and selected Run To Cursor. Immediately my application did build and started running and stopped on the line where I...
View ArticleOpportunity Sales Team - Access Team in CRM 2013/2015
Hi,We all know that Access Teams was the new feature in CRM 2013. Today I was working on Access Team where I have added a sub grid on the Form with the following properties. Just before adding I have...
View ArticleImport Data button is not visible in CRM 2011/2013/2015
Hi,Today we have observed for one of the users in CRM Import Data button was not visible. We did check the security role and I feel that all the security role were given properly. Normally for users...
View ArticleSave and Save & Close buttons are not visible in CRM 2013/2015
Hi, Today when we open the CRM forms observed that Save and Save & Close were not visible. When we are checking the things we found that one of our colleagues has enabled Auto-Save feature in CRM....
View ArticleGet ObjectTypeCode of the entity in CRM
Hi, Here is the C# code to get the OjbectTypeCode of the entity in CRM. privatestaticint GetEntityTypeCode(string EntityName){ RetrieveEntityRequest request = newRetrieveEntityRequest();...
View ArticleSystem.Configuration.ConfigurationSettings.AppSettings' is obsolete: '"This...
Hi,Whenever we read values from configuration, the people who worked on earlier versions of .net has a habit of writing the below line of code for reading values from configuration.string strValue =...
View ArticleSpaces in Enums
Hi, Today when I was working with Enums and was blocked by a scenario where I need a Space in between the words of Enum. We all know that in Enums we cannot have a space. I was searching for solution...
View ArticleExport and Import Product Catalog in CRM
Hi, CRM provides very easy and rich interface to configure Product Catalog that will help the company to sell products and services. Most of the times, we would be creating Product Catalog in one...
View ArticleMove records automatically to Owner's Queue
Hi,Today, we got a requirement from Customers to all the Tasks created in the system should move to the Owner's respective queue. Then we were thinking of the custom approach and then we got a doubt it...
View ArticleSecurity Roles and Access Rights in CRM
Hi, Security roles are the most complex concept in Dynamics CRM Security model. Here is my 2 cents about it. Lets divide the security roles concepts into two pieces. 1) PrivilegesPrivileges are the...
View ArticleDisable Send Report to Microsoft pop up - Microsoft Dynamics CRM has...
HI,In CRM we get many error reports showing the below popup. We can hide this by changing a small setting in CRM.Settings -> Administration -> Privacy Preferences -> Select Error Reporting and...
View ArticleAn attempt was made to load an assembly from a network location which would...
Hi, Today we have deployed some of our .exe's and dlls on the server and when we ran the .exe we were getting the below exception. "An attempt was made to load an assembly from a network location which...
View ArticleC# Code for Assigning Security Role to a User - CRM 2011/2013/2015/2016
Hi,Today we got a requirement to assign Security Role to a user. We all know that Security Roles are associated with User via N:N relationship and relationship name is systemuserroles_association.We...
View ArticleC# Code for Removing Security Role to a User - CRM 2011/2013/2015/2016
Hi,In the last post we have seen how to assign a security role to the user programmatically. Here is the code for removing the security roles of the users.publicvoid RemoveUserSecurityRole(Guid...
View ArticleClose Opportunity as Won in CRM 2011/2013/2015/2016
Hi, Here is the code to close an Opportunity as Won using the MS Dynamics CRM SDK. In this example, I am using WinOpportunityRequest to close an Opportunity as...
View Article