Fire plugin on case resolution
I'm trying to trigger a plugin on Case Resolution (statecode 1) - below is the plugin code. What I am stumped with here is that for statecodes 0 & 2 (active/deactivated) the code block below works....
View ArticleC# Creating Incidents(Cases)
Hi all,I've successfully created a Case from an incoming Email using C#, but I have a few fields/entities I'm unable to add to this newly created case. So far here is what I have: Entity returnCase =...
View ArticlePlugins: Image or Retrieve Entity
When a plugin is executed the entity that is being passed in always contains the Id. Let's say that I need access to a reference ID in that entity, e.g. CustomerId for a SalesOrder record. There are...
View ArticleGrantAccessRequest setting AccessRightsMask to 0
We have developed a plugin that shares an account record with a team. we run the code shown below. we notice that the record is created in the POA table but the value of the AccessRightsMask is 0.we...
View Articlefetch XML help - Stuck on last point!!! How can i set up subgrid?
Hi all, could someone help me please with some ideas how to approach below issue..SET UP: “Account Form” has two fields: "Child" and "Parent "“Account Form” has sub-grid: "Strategy" - which pulls...
View ArticleQuery String Parameters and id of email replied to
Hi,I'm working on a customer that was recently upgraded from CRM 2011 to 2013 online and in that solution we were using query string parameters to find the Id of the email that you are replying to. In...
View ArticleError on opportunity when upgrated from CRM 2011 to 2013
Hi, I have upgrated from crm 2011 to 2013, now, there is error on opportunity save.I downloaded log file, it showsUnhandled Exception:...
View ArticlePlace dialog in command bar?
Hi all, I need to improve the disqualify/qualify process on the Lead, Opportunity & Entity. I've done some digging and I know that I can't change form values on the restricted forms - so I was...
View ArticlePlugin Error - Microsoft.SharePoint.Client version 15.0.0.0
Hi All,I have a created a plugin which will create a folder in sharepoint whenever an account is created.When I am executing it I am getting the following error:"Could not laod file or assembly...
View Articledynamics crm 2011 import solution programmatically
Hi all,Im using the ImportSolutionrequest to import a zip solution file. the file contain a plugins. I need to now which parameter I must use into the request to activate the plugins steps. thanks.
View Articlecase is created from email in mscrm 2011
Dear all;in mscrm 2011 we create case from email in the queue i want run a plugin on create of case if it is being created by email queue can any one tell how to find if the case is being created by...
View ArticleCrm 2013 Upgrade on-premise (from crm 2011 on-premise) Rollup 15
CRM 2011 -> Crm 2013 (on premise)I went through the upgrade without any errors.... fine.- Lost all sections under the main tabs (Services, Marketing, Sales).- Custom Activity Entities are missing...
View Articlehow to use fetchXML
Hi all, I am very unfamiliar with fetchXML and how to even use it. Would someone please be able to guide me in right direction or share some tutorials? I have the below code but have no idea where to...
View ArticleHow do you get optionset value in CRM using plugin?
I am trying to get optionset value of a picklist with the code below to execute some functions. It's not working, can anyone tell me correct syntax and library to use:OptionSetValue stateType =...
View ArticleFiltered SUBGRID MSCRM 2011
Hi,I have a requirement like I have created new entity student details in that I have created Account lookup which is having a 1:N relationship with Account and Student DetailsAccount entity is having...
View Articledatabase query help
I am not sure how to do this. We have 3 custom fields in the Quote Product entity. I want to get sums of the fields for all product lines for the quote - exactly how the Quote Total is a sum of all...
View ArticleHow to set iframe src using javascript in crm2013?
Hi I am not able to set iframe src in crm2013.I tried with below code but it was not working for me.Xrm.Page.getControl("IFRAME_map").setSrc("http://www.microsoft.com");Please let me know if any one...
View ArticleXrm.Utility.openWebResource opening multiple links in same window
I have three buttons on the custom entity ribbon and each one should open different websites. Also, I need to open these websites in same new window.When I click one of the buttons, it should lunch a...
View ArticleShould I include attributes in a FetchXML query to improve speed?
I am querying using FetchXML using javascript but wondering if I want to improve the speed and execution time should I state which attributes to return? For instance, in most cases I do the...
View ArticleThe specified record type does not exist in MS CRM 2013
Hi All,am getting below error when i want to create new Notes in CRM 2013 onlineThe specified record type does not exist in Microsoft dynamics CRMThanks
View Article