dynamics-crm-4

How can I have a Time field in Dynamics CRM 4.0?

此生再无相见时 提交于 2020-01-15 10:18:07
问题 I know nothing about CRM but have been asked to add some fields to a form. One of these is for a time but with no date element. How can I do this? 回答1: CRM does not provide this functionality out of the box. You'll need to customize it. I'd add a new DateTime attribute and a new Text attribute. capture the data you need in the DateTime attribute so you can report off of it. Then using Javascript, display only the time portion from the DateTime attribute in the Text field. -Mikeyb 回答2: I would

How do I connect to a CRM IFD web service?

孤人 提交于 2019-12-25 01:52:34
问题 I have taken the code from the SDK and made just one modification to set the authentication type but when I try to connect I get an "Unauthorized" error. My code is: // Set up the CRM Service. CrmAuthenticationToken token = new CrmAuthenticationToken(); token.AuthenticationType = 2; token.OrganizationName = "TESTCRM"; CrmService service = new CrmService(); service.Url = "https://testcrm.ifdtestsystem.com/MSCrmServices/2007/CrmService.asmx"; service.CrmAuthenticationTokenValue = token; /

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

Unable to update contact record by workflow when any email activity is created in CRM Dynamics 4.0

允我心安 提交于 2019-12-24 08:34:40
问题 I'm trying to unsubscribe email for contact record, I'm done with that whatever suggested in the url below http://community.dynamics.com/product/crm/crmtechnical/b/crminogic/archive/2009/07/31/crm-quick-campaign-unsubscribe-option.aspx. Everything is working fine for me. I'm now want to update some of the attribute on the contact entity like 'Lead Opt In', allow to now for 'E-mail', 'Bulk E-mail', 'Phone', 'Mail', when the unsubscribe email is received in CRM. Please see below As I can see

Access Dynamics CRM 4 SPLA (IFD) DiscoveryService from CRM 2011 IFD

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-24 03:07:28
问题 We have just upgraded from Microsoft Dynamics CRM 4 to Microsoft Dynamics CRM 2011. Most of the upgrade has gone smoothly, however I have some custom code (written for CRM 4) which uses the CrmDiscoveryService at the URL "https:///MSCRMServices/2007/SPLA/CrmDiscoverService.asmx" which worked fine on our Dynamics CRM 4 server but not with out Dynamics CRM 2011 server. Our Dynamics CRM 2011 server is set up On Premise, as an IFD deployment. On the actual Dynamics CRM 2011 server box I can

early bound classes usage

丶灬走出姿态 提交于 2019-12-24 01:03:59
问题 Please excuse any irritation that may come through. So after using the early bound classes for a while now our team has noticed some cons that make early bound classes pretty useless. Issues: Slow, since it has to connect to a ws and get over http, even thought it's running in the same process as the rest of the system. Causes sql deadlocks when attaching to CREATE message in a plugin. Any slight change to the system and the classes need to be regenerated and things break. So when are they

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:

Microsoft CRM, how do I get all the members of a list using CrmService?

我们两清 提交于 2019-12-23 00:28:09
问题 I am developing a tool that needs to read data from Microsoft CRM using the webservice API. I need to get all the members of a marketing list. I can get all the lists in the system using the webservice, but I can't get the members of a list. This is the query I have so far, which I can run, but it does not return any members: QueryExpression qe = new QueryExpression(); qe.EntityName = "contact"; qe.ColumnSet = new AllColumns(); var linkContact = new LinkEntity { LinkFromEntityName = "contact"

How to narrow down to the actual issue when you receive a generic SoapException: Server was unable to process request. from MS-CRM 4.0

淺唱寂寞╮ 提交于 2019-12-22 13:52:29
问题 I recently started programming against CRM 4.0 and I am issuing these requests using the CrmService. Often I get the wrong values in the some property of the dynamic entity that I am using when I send the request. Of course the request fails, am intercepting the exception and log it. The problem is that this is what I get: System.Web.Services.Protocols.SoapException: Server was unable to process request. at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage