dynamics-crm-2011

CRM 2011 Text Field 'Intellisense'

本小妞迷上赌 提交于 2019-12-08 06:01:55
问题 How can a text field be given an 'Intellisense' feel? The user would start typing and be given a list of similar options to choose from. What about JavaScript that is listening to OnChange of the field and compares the field text to an entities records? 回答1: There is a great tool for accomplish that: jquery autocomplete, see here: http://jqueryui.com/autocomplete/ See this posts for using JQuery in CRM 2011: http://crmconsultancy.wordpress.com/2011/06/13/using-jquery-in-crm-2011/ http://www

How to obtain members of a marketing list using QueryExpression object?

荒凉一梦 提交于 2019-12-08 05:55:16
问题 I'm using QueryExpression often but this far, it's been a straigh-forward get-this-from-that or put-this-in-that. Recently, I learned that there's something called LinkedEntity and I started looking for it. As an example I got inspired by a related question here on SO and I started to create an expression for getting all the members of a list given it's guid. All the examples I've found follow the same pattern, though - as this example illustrates. From this question, I've learned that it's

CRM Dynamics How to set short list - long list relationship

我只是一个虾纸丫 提交于 2019-12-08 05:04:34
问题 I have 3 entities, one of them contains many records, the other two are lists of those records. My aim is to create long lists and a short lists of those candidates. I can create long lists of course with n-n relationship. I add records to the long list with "add existing record" button. But, I have to create the short lists which select their records from the items from specified long lists. User will first eliminate most of the records and add them to the long list, then eliminate those

Microsoft CRM 2011 Plugins - Simple Issue

≯℡__Kan透↙ 提交于 2019-12-08 05:00:23
问题 I am trying to write a plugin to create a new contact entity in Microsoft CRM 2011. I'm yet to find any useful information online and I feel like I've been banging my head against a brick wall all day. The code I have posted below is giving me an error saying "The name 'service' does not exist in the current context". Can anyone tell me what's going on, please? // <copyright file="PreValidateContactCreate.cs" company=""> // Copyright (c) 2013 All Rights Reserved // </copyright> // <author><

How to load one javascript file on all forms without adding it manually in crm 2011

两盒软妹~` 提交于 2019-12-08 03:49:38
问题 How can I load javascript file on each page instead of adding it manually each item in Form Library. For example I want to always load jquery and a helper js file on any form. 回答1: Supported The best you can do is have a button configured to show on the application ribbon or for all entities that includes the library as an action. That way it will probably be loaded whenever you need it. It is only really of any use if you have a button you can attach it to though. Unsupported Inject the JS

setDisable for all fields of a Section in a Crm Form

两盒软妹~` 提交于 2019-12-08 03:45:23
问题 I need to disable a section if a value from other field is true, normally I would do: function disableSection1(disabledStatus){ Xrm.Page.getControl("section1field1").setDisabled(disabledStatus); Xrm.Page.getControl("section1field2").setDisabled(disabledStatus); Xrm.Page.getControl("section1field3").setDisabled(disabledStatus); Xrm.Page.getControl("section1field4").setDisabled(disabledStatus); } but i have to do this for many sections, so I am looking for a function like this: function

CRM 2011 OData relationship query tutorials

无人久伴 提交于 2019-12-08 03:17:27
I am looking for some tutorials regarding oData in CRM 2011. In particular I am looking for detailed, in-depth explanations and examples around how to use OData for querying entity relationships Please do not point me at the CRM 2011 OData query designer. While i agree that the tool is great, it offers no explanations as to why/how it generates queries the way they are. lazarus I suggest you to first look this video . This links were useful for me: MSDN - OData System Query Options Using the REST Endpoint CRM 2011: Getting entity with Javascript Using OData Retrieve in Microsoft Dynamics CRM

Xrm.Page.getAttribute(“”).getValue() don't get actual value

匆匆过客 提交于 2019-12-08 02:48:03
问题 I have a custom entity in CRM 2011 with a Closure Code(drop down list) and Solution(multiple lines text) fields. Is weird what is happening, and this is that the next sentence, is not getting the actual field value: var detailsSet = Xrm.Page.getAttribute("aux_solution").getValue(); Why this could happen? 回答1: As explained in the comments, my problem was that the field wasn't taking the actual value because the focus was on it. Moving to another field before checking the values is how I solve

What is the default schedule for the default CRM 2011 maintenance jobs?

痴心易碎 提交于 2019-12-08 02:27:52
问题 I have a CRM 2011 installation that experiences a huge spike in I/O at a certain time of day (11 am). I have a good suspicion that it's the default Rebuild Index Job. Everything is at default values, and the latest applied update is RU13. Sql is sql 2008 r2, sp1. I've found this MSDN blog and also other sources suggesting updating the default job's schedule to run at night, or not at all. But I haven't been able to find what is the default schedule for these default CRM jobs. I understand

Create Email with a workflow in MS Dynamics Crm 2011 and dynamically fill the “To” field

十年热恋 提交于 2019-12-08 02:11:05
问题 I'm working on Ms Dynamics Crm 2011 development and I encountered following problem. My situation: I want to be able to automatically send an Email after a change on a specific status field on a record of the Entity "MyEntity". "MyEntity" has an Email-field. I try to create a workflow which sends an Email to the Email-field address of the "MyEntity" record after the status has been changed. My problem is that I can't add in the Email Creation workflow to the "To" field this "MyEntity" Email