dynamics-crm-2013

How should i know which property comes under InputParameters Based on Message Request in Dynamics crm Plugin?

半世苍凉 提交于 2019-12-11 17:48:08
问题 CreateRequest Message is named Target,which is of type Entity.But not all Request contain a Target property is of type Entity. For Example AssociateRequest InputParameter contains Relationship is of type Relationship. For Example AddItem message will return which property?How should I know there are so many messages in plugin registration tool.how should I know which message has what property it will return. it was only possible with Debugging? 回答1: I agree there so many messages, but I had

Create New Form not reload after save

做~自己de王妃 提交于 2019-12-11 13:39:30
问题 working good in crm 2011 but not in crm 2013 online On opportunity Entity create New record form i show only: 1. Some attributes (all other fields/Section/Tabs are hide on form) 2.and an Html button like function OnFormLoad(){ if(Xrm.Page.ui.getFormType() == 1 ) { SetRequiredLevelToNone(); createHtmlButton("Save"); HideTabsAndSections() } else { } } On click of Html button following function is triggered. function showWholeForm() { Xrm.Page.data.entity.save(); } I want to show all the fields

How to control what fields there are in the address pop-up?

非 Y 不嫁゛ 提交于 2019-12-11 13:16:14
问题 I'm configuring CRM 2013 for a client and they are very strong on not showing the state field. However, on the form, I only see Address 1 . When I access the page as a user, when I try to enter the data, there are five or six fields in the pop-up, though. How can I get rid of that?! 回答1: Business Rule (new 2013 functionality): no condition - fire always Action: Address1: State/Province - Hide field or Get into unsupported jscript and try to hide it. 来源: https://stackoverflow.com/questions

Dynamic CRM 2013 Plugin Event execution pipeline and the 2 Minutes Time out

前提是你 提交于 2019-12-11 10:53:31
问题 I have couple questions please. 1- When plugin A triggers on an event and caused another plugin B to trigger, does Plugin B executes in the same Event execution pipeline as plugin A ? 2- If the above is true and plugin A and Plugin B executes in the same Event execution pipeline do they both have 2 minutes to complete (since the maximum execution time of a plugin in dynamic CRM is 2 minutes) or each one of them has 2 minutes to complete which makes the total execution time allowed for both of

Dynamics CRM OData query filtering on expanded attributes only works if no results come out?

故事扮演 提交于 2019-12-11 10:12:33
问题 I have a requirement to fetch Price List Item records which adhere to the following requirements: Filter by a specific PriceList Filter by a specific currency Filter by the Name of the related Product containing a given string I got the first two points working no problem, but it feels like expanding doesn't cope well with filtering. I started from a "straight" query on Product entity: .../ProductSet?$filter=substringof('sometext', Name) Equivalent SQL (targeting the corresponding CRM

Fields not being hidden despite a business rule

南楼画角 提交于 2019-12-11 08:55:02
问题 In this thread I verified that the correct approach for hiding some individual fields from a composite field is done correctly. That seems to be confirmed by other sources as well. However, despite a rule defined like so: I still get the stupid fields to show up when on account form. It looks as the following image depicts and is a high level annoyance and reason for my teeth grinding. What am I missing? (Yes, I did activate the rule and I reloaded the form.) 回答1: If there are any issues with

CRM dynamics: oData string javascript

这一生的挚爱 提交于 2019-12-11 08:20:00
问题 Imagine two tables: TABLE A |TABLE B Entity |Id Id |name Points |Ranking How to use orderby with $expand: $select=Entity,Id,Points,A_B/name&$orderby=Id asc&$expand=A_B How can i order by Ranking which is from TABLE B? I've tried: $select=Entity,Id,Points,A_B/name,A_B/Ranking&$orderby=A_B/Ranking asc&$expand=A_B Not working It occurs the following error: :: Error : 500: Internal Server Error: The expression 'IIF((Convert(value(Microsoft.Crm.Extensibility

How to manage CRM Form field and Ribbon button if user add different Managed Solution?

回眸只為那壹抹淺笑 提交于 2019-12-11 06:55:17
问题 I am beginner of CRM. I have few basic confusion. I want to clear it before I go for something big. I have 2 cases where I am getting confuse. Case 1: I have a Managed Solution with 2 version. MyAccount 1.0.0.0 and MyAccount 1.0.1.0. In version 1.0.0.0 I have field in CRM Account form. In version 1.0.1.0, I have added a field Address FAX and removed a field Website. So, when user add version 1.0.1.0, it will overwrite the design. Can I change this behavior if I want to keep older design? Case

How to change State/Status in CRM 2013 using c#

六月ゝ 毕业季﹏ 提交于 2019-12-11 01:34:29
问题 How do I change State and/or Status of an entity in CRM 2013 using C#? Neither CRM 2011's SetStateRequest nor the earlier SetStateDynamicEntityRequest are being recognized. Searching online didn't seem to help either... Am I missing a namespace or something? Thanks in advance Namespaces: using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net; using Microsoft.Xrm.Sdk; using Microsoft.Xrm.Sdk.Client; using Microsoft.Xrm

Why are all reference properties null in my CRM plugin?

纵然是瞬间 提交于 2019-12-10 14:54:54
问题 I'm writing a PostUpdate Plugin on the contact entity using early binding. Unfortunately, all properties which should represent 1:x relations are null. The code is pretty simple: * CRMcontext is the generated file via CrmSvcUtil.exe, * service is the IOrganizationService from LocalPluginContext: using ( var serviceContext = new CRMcontext(service) ) { // This works fine var contact = serviceContext.CreateQuery<Contact>().First(c => c.Id == context.PrimaryEntityId); // why is currency null