dynamics-crm

CRM 2011: How to Update record in a Create Plugin?

≡放荡痞女 提交于 2019-12-23 09:57:09
问题 I'm having serious problems in how to update the record that has just been created with some additional data. Case: I have an sms activity. On create an sms record. A plugin fires to actualy send the sms. A third party sms provider takes cares of the sending and returns a status string. Based on these string, a status for the sms must be updated. Here's some of my code: public void Execute(IServiceProvider serviceProvider) { IPluginExecutionContext context = (IPluginExecutionContext)

Is it possible to strip special characters from filenames in webpack?

≯℡__Kan透↙ 提交于 2019-12-23 09:49:37
问题 Long story short, I cannot have certain characters like hyphens in our asset filenames. I'm not having the best of luck parsing through webpack documentation to figure out if it is possible to rename a file using a regex or something similar so I can strip out any hyphens from 3rd party packages where I do not control the source filename. My super naive example would be something like this: { test: /\.(ttf|eot|woff|woff2)$/, loader: `url-loader?limit=${ASSETS_LIMIT}&name=fonts/[name.replace(/

CRM 2011 Ribbon DisplayRule ValueRule check for null

半城伤御伤魂 提交于 2019-12-23 09:39:01
问题 Quick one, I don't see any direct answers out there so I thought I'd ask. (Here is the same question asked on the microsoft social site and it is unanswered as well) If I have a DisplayRule and a ValueRule in that, how can I check for null? This suggested solution below apparently doesn't work (according to the linked question): <DisplayRule Id="new.incident.form.IsNotRelatedToY.DisplayRule"> <ValueRule Field="YId" Value="null" InvertResult="true" /> </DisplayRule> Does it depend on the type

Are composite joins possible using FetchXml in Microsoft Dynamics CRM 4.0?

人走茶凉 提交于 2019-12-23 08:06:19
问题 I am using FetchXml to query CRM 4.0. We have a special case that will require a composite join between CRM entites. The FetchXml schema indicates that multiple link-entity elements are allowed, and it also indicates that multiple filter/condition elements can be added to a link-entity. The problem I'm facing is that the value attribute of the condition element does not appear to permit an entity/column name. It expects an explicitly declared value. For example, FetchXml lets you specify this

Are composite joins possible using FetchXml in Microsoft Dynamics CRM 4.0?

*爱你&永不变心* 提交于 2019-12-23 08:05:18
问题 I am using FetchXml to query CRM 4.0. We have a special case that will require a composite join between CRM entites. The FetchXml schema indicates that multiple link-entity elements are allowed, and it also indicates that multiple filter/condition elements can be added to a link-entity. The problem I'm facing is that the value attribute of the condition element does not appear to permit an entity/column name. It expects an explicitly declared value. For example, FetchXml lets you specify this

Microsoft Dynamics 4.0 SDK Check If User Has Privilege

折月煮酒 提交于 2019-12-23 05:41:11
问题 We were previously using an unsupported dll ( Microsoft.Crm.Application.Components.Core ) to check if the current user in Dynamics has read privileges on a specific entity: Microsoft.Crm.Security.User.HasPrivilege(Microsoft.Crm.Security.User.Current, "myentityname, AccessRights.ReadAccess); I need to do the same thing using only the supported SDK (and the CrmService). Can someone advise on how to accomplish this using the SDK? 回答1: You can probably design a Fetch or QueryExpression like so:

Microsoft Dynamics 4.0 SDK Check If User Has Privilege

放肆的年华 提交于 2019-12-23 05:41:08
问题 We were previously using an unsupported dll ( Microsoft.Crm.Application.Components.Core ) to check if the current user in Dynamics has read privileges on a specific entity: Microsoft.Crm.Security.User.HasPrivilege(Microsoft.Crm.Security.User.Current, "myentityname, AccessRights.ReadAccess); I need to do the same thing using only the supported SDK (and the CrmService). Can someone advise on how to accomplish this using the SDK? 回答1: You can probably design a Fetch or QueryExpression like so:

Cannot edit or remove notes field

早过忘川 提交于 2019-12-23 05:04:07
问题 Dynamics CRM 2011 on premise. I cannot resize the notes field with the mouse (although I can move it around the form with difficulty) and the Change Properties and Remove ribbon buttons are disabled when I select the notes field and double clicking the notes field does nothing. What could be the cause? How can I find out what's wrong? 回答1: You need to remove the parent section (not the notes control it's self) and then add a new Notes control (Insert=> Notes) - this will then allow you to

Dynamics CRM swapping text of a Picklist option

…衆ロ難τιáo~ 提交于 2019-12-23 04:51:30
问题 We have one picklist to take action, want to show different text in 2 different forms. Am trying to use the same option instead of creating 2 different options/values as the behavior is exactly the same. Form A - Permit Issued Form B - Approved I referred this and implemented to remove the option & re-adding with same value but different text. Its displaying as expected but on selection the value reverts to original. I know this is coming from original option-set definition. At least it

Not able to perform Filter on Dynamics CRM “Opportunity” transaction type with estimatedclosedate

狂风中的少年 提交于 2019-12-23 04:43:55
问题 I am using QueryExpression to generate the filter for the Dynamics crm filters and then passing that to the my CRM made service to retrieve the result. QueryExpression queryCRM = new QueryExpression { EntityName = SourceID, ColumnSet = new ColumnSet(FieldSet), Criteria = new FilterExpression() }; and then queryCRM.Criteria.AddCondition(strFilterColumnName,ConditionOperator.On , strFilterValue); Here i am not able to fetch the result can anybody help me to figure out the issue? It doesn't work