dynamics-crm-2011

setDisable for all fields of a Section in a Crm Form

痞子三分冷 提交于 2019-12-08 18:45:28
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 sectionSetDisabled(tabNumber, sectionNumber, disabledStatus){ //some code.. } Most answers I have seen you

php - access dynamics crm 2011 with web services

倾然丶 夕夏残阳落幕 提交于 2019-12-08 15:47:16
问题 I have to access leads (create new lead and get the list) in crm 2011 through the web services. I already made an app in c#/asp.net(it works) but now i have to do it in php and i'm stuck. i try: https://code.google.com/p/php-dynamics-crm-2011/ but it doesn't work because it supports only Federation authentication and mine it's active directory. I try to connect with nusoap but it's very confusing. I generate classes of discovery service and organization service with wsdl2php: http://www

Microsoft CRM 2011 Plugins - Simple Issue

偶尔善良 提交于 2019-12-08 14:25:30
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></author> // <date>8/6/2013 4:22:10 PM</date> // <summary>Implements the PreValidateContactCreate Plugin.<

FetchXML - GeoCode Distance search by distance

醉酒当歌 提交于 2019-12-08 14:22:05
问题 I have an entity which has latitude and longitude fields. Now I have a address, I know the latitude and longitude of this address, I want to retrieve the records within 3 miles. How to do it using FetchXML? 回答1: You won't be able to do this directly via FetchXml as geocoding is not offered as a feature. This means you'll need to start rolling something by hand which will not be easy. This site has a pretty good overview of what you'd need to do (even if the language is different to what you'd

Dynamics 2011 - What should I include in my base Library Solution?

家住魔仙堡 提交于 2019-12-08 13:39:31
问题 I am trying to sort out a best practise approach to organising solutions and more specifically what should be included in the 'base solution' or 'library solution'. The SDK says the following: Solution Libraries For an ISV with multiple solutions or a large enterprise deployment, it is expected that many solution components will have to be shared. The best ways for solutions to share components is to create solution libraries. You create a solution library by creating an unmanaged solution in

Getting error on CRM 2011 Plugin: “Invalid URI: The hostname could not be parsed.”

南楼画角 提交于 2019-12-08 13:29:45
问题 I have a plugin that works on different boxes on different domains. However, I have it registered on one particular box that continues to throw this error every time the applicable entity event is triggered. The caveat? The code isn't even being executed. IE: The IPlugin.Execute() interface implementation is never reached. I just get the CRM dialog indicating "Invalid URI: The hostname could not be parsed." every time. I've confirmed the code isn't being entered as I've attached Visual Studio

Dynamics CRM 2011 plugin in outlook only?

我与影子孤独终老i 提交于 2019-12-08 13:12:48
We need to restrict some delete operations done automatically from Outlook towards CRM 2011 while we wait for a bug fix in a 3rd party addin. Is it possible to have a plugin in Dynamics CRM 2011 on-premise that either only executes for the Outlook client (offline not in use) or that checks in the execution if the plugin is triggered from Outlook? In CRM 4.0 there used to be a CallerOrigin property that gave at least some information on this, but that property is now seemingly only internal in the CRM 2011 model. Henrik I accessed CallerOrigin by reflection (it is still there, but not exposed

create a button in ribbon for update a entity using a plugin in crm 2011

馋奶兔 提交于 2019-12-08 12:23:04
问题 I create a solution in Dynamic CRM 2011 for sending SMS. in my solution i have 2 entity,the first one for sending SMS and the second one for save Send result. I create plugin for second entity, plugin connect to web service and check the result of sending and update the entity, so the steps for update sending statue should be like below: 1- User select one or more entity and press a custom button in ribbon 2- CRM run my plugin and connect to web service and update the result field so i create

Dynamics CRM: Compare CRM environments [closed]

风流意气都作罢 提交于 2019-12-08 11:58:06
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . Is there a tool out there to compare CRM environments? Recently we implemented a third party managed solution that changed a bunch of settings on our Contact entity. An example of this is that auditing was turned off. Ideally we would like to compare our Dev environment (where the third party solution is

Using Windows Credentials to instantiate OrganizationServiceProxy in CRM 2011

不想你离开。 提交于 2019-12-08 11:20:48
问题 Has anybody tried to use the Windows credentials to create an instance of OrganizationServiceProxy in CRM 2011 (On-Premise) ? I have a WCF service that uses <security mode="TransportCredentialOnly"> <transport clientCredentialType="Windows"/> </security> and I am able to confirm that the user is authenticated (OperationContext.Current.ServiceSecurityContext.WindowsIdentity.IsAuthenticated) but I don't know how to generate/pass the ClientCredentials to create an instance of the CRM service.