dynamics-crm-2011

Customize Campaign Form in Microsoft Dynamics CRM 2011?

青春壹個敷衍的年華 提交于 2019-12-25 00:18:05
问题 I need to customize the Campaign Form in Microsoft Dynamis CRM .In this Form I need to customize the calender of Fiscal Year.it dispalys mm/dd/yyy format ..and i need to customize MM/YYYY Fromat.How to do this? 回答1: This is only fot that field? The format of datetime is based on user options. If it's only for that field see this answer. 回答2: I suspect that the date-time field is formatted according to the system settings (be that picked from CRM or the user's computer). Not sure if it's

statuscode and statecode mismatch even though both are explicitly set

陌路散爱 提交于 2019-12-24 17:14:50
问题 I'm getting an error when creating a service appointment entity through the SOAP webservice about a mismatch between statuscode and statecode: 4 is not a valid status code for state code ServiceAppointmentState.Open on serviceappointment. Essentially saying that reserved (statuscode 4) isn't a member of the Open state (statecode 1). Which is true, it's actually a member of the Scheduled state (statecode 3) but in my request I'm correctly setting statecode to 3! Does anyone know why my setting

XRM context in HTML webreource in MSCRM 2016

半城伤御伤魂 提交于 2019-12-24 16:18:12
问题 I am facing a problem when HTML web resource which gets popped up on clicking of some ribbon button. It does not have the Xrm context as it is unable to load the file clientglobalcontext.js.aspx Here is what I have included in source of HTML: src="../ClientGlobalContext.js.aspx" and also used this src="ClientGlobalContext.js.aspx" This is working in my current CRM11 version but it does not get load in CRM16 online. Is there any other way to load this file in a popped up html window or it is

How to change the navigation in dynamics CRM

浪子不回头ぞ 提交于 2019-12-24 15:22:07
问题 I tried creating a solution and I clicked on " Add existing item " and selected the " Sitemap ". But when I click on the sitemap to edit it nothing happens. How can I customize the top level tile navigation in CRM ? 回答1: For easier editing of sitemap you will have to use some tool like XrmToolbox. 回答2: You can edit SiteMap in CRM either manually or using some tool. On the url below microsoft has mentioned: Using a sitemap editor can facilitate editing the sitemap. A popular one is included in

In Dynamics CRM, how do I enable wildcard (*) search by default in Quick Find?

可紊 提交于 2019-12-24 13:12:52
问题 In crm 2011 On-premise we had Quick Find that added automatic * at the beginning of any text search. Now it is not working. In all lookups we have if we write abc in search it automatically adds * at the begininig but in Quick Find it does not functioning the same like lookup. I googled it but cannot find any work around. Before Rollup 14 we were having this thing working. 回答1: I have found an answer. Go to the following path and find "stage.js" file "C:\Program Files\Microsoft Dynamics CRM

Alternative to XRM Javascript calling webservice using ActiveX

眉间皱痕 提交于 2019-12-24 12:39:57
问题 I have a problem on CRM javascript when calling a webservice from browsers other than IE. See my code below for the web service call implementation. function RetrieveMultipleEntity(targetEntity, conditionAttributeName, conditionAttributeValue, targetId, targetAttribute) { // Prepare variables to retrieve the contacts. var authenticationHeader = GenerateAuthenticationHeader(); // Prepare the SOAP message. // var xml = (the SOAP message) var xHReq = new ActiveXObject("Msxml2.XMLHTTP"); xHReq

Add value to lookup field in CRM dynamics 2011

若如初见. 提交于 2019-12-24 12:37:55
问题 I managed to make a successful online connection using PHP to the CRM dynamics 2011. I even managed to create a new lead and add the following presented values: <s:Body> <Create xmlns="http://schemas.microsoft.com/xrm/2011/Contracts/Services"> <entity xmlns:b="http://schemas.microsoft.com/xrm/2011/Contracts" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <b:Attributes xmlns:c="http://schemas.datacontract.org/2004/07/System.Collections.Generic"> <b:KeyValuePairOfstringanyType> <c:key

Updating a Duration Field by Plugin

╄→гoц情女王★ 提交于 2019-12-24 12:08:45
问题 Has anyone had to update a Duraton field from within a plugin? On the UI it is fairly intelligent, you can type 5 minutes 7 //defaults to minutes 3 hours And it will workout what you need. Assuming the field is called new_foo , what value should I assign? Int? var e = new Entity("new_bar"); e.Attributes("new_foo", 5);//5 minutes? Double? var e = new Entity("new_bar"); e.Attributes("new_foo", 5.00);//5 minutes? Other ideas? 回答1: Duration is a format for the Whole Number type, so by code you

Disable Service Actity in CRM 2011

烈酒焚心 提交于 2019-12-24 10:59:30
问题 I need to disable the 'Service Activity'. I turn off the privileges of Read, Create, Write and Delete at Setting - Administration - Security Role - Service Management Tab - Service (entity) as None. Now, Service Activity is disable at all levels except at Workplace - My Work - Activities - New Activity - Service Activity. Any idea, how to disable this one? Thanks. 回答1: You could always remove the navigational item from the sitemap. That would remove it, but the best way is remove the

Azure Service Bus Topic subscribe from CRM plugin

非 Y 不嫁゛ 提交于 2019-12-24 08:47:02
问题 I am successfully posting messages from a CRM plugin to an Azure Service Bus Queue. Ideally I need CRM to listen to a Topic (subscription) and perform an action on receive. I do not know if this is possible with CRM and cannot find a method of implementing it. I can read from a queue with the below; MessagingFactory factory = MessagingFactory.CreateFromConnectionString(QueueConnectionString); //Receiving a message MessageReceiver testQueueReceiver = factory.CreateMessageReceiver(QueueName);