dynamics-crm

How to fetch list of documents related to the entity record using CRM APIs?

﹥>﹥吖頭↗ 提交于 2019-12-24 09:24:18
问题 Following is the exact scenario in our CRM implementation. We have created a few custom entities, and enabled "Document Management" for them. Now, we need to get list of all documents (with their full URIs) for each entity record using CRM REST APIs. I tried to look into the entities, but not sure which entity to query in order to get list of documents (and their URIs) associated with an entity record. Our documents are getting stored over document library in the SharePoint site. Could anyone

You should specify a parent contact or account error in Dynamics CRM

旧巷老猫 提交于 2019-12-24 08:16:48
问题 I am trying to create a new incident through postman in Dynamics CRM but I am getting the following error: You should specify a parent contact or account Which I assumed that is asking for customerid to be sent so I added it on postman like: { "description": "Test", "ed_egresssenttorentadmin": true, "note['_customerid_value@odata.bind']":"f686f062-e542-e811-a955-000d3ab27a43", "note['_ownerid_value@odata.bind']":"a7b7fcb7-a64e-e811-a96f-000d3ab384bc" } but I still get the same error, any idea

Is is possible/a good idea to edit workflows in Visual Studio?

别说谁变了你拦得住时间么 提交于 2019-12-24 07:33:19
问题 I've been doing a lot of editing in MS Dynamics CRM 4.0 using the web designer. I'm wondering if there is a more efficient way to edit workflows and wondering if VS 2008 could be used (and if it is more efficient). If so how? Thanks! 回答1: It is possible to create workflows in VS 2008, but it's impossible to edit workflows created by CRM. Those workflows are named No-Code Workflows, they are not supported in any ways by Microsoft and they are hard to build, deploy, and maintain. Take a look at

Can you create an ITracingService?

拜拜、爱过 提交于 2019-12-24 06:34:51
问题 I have a Dynamics CRM plugin I'm trying to debug in Linqpad. I can reference my plugin assembly but it requires an ITracingService object. Can I create one and set its output location to the console? 回答1: You implement the ITracingService interface on a class. public class NullCrmTracingService : ITracingService { public void Trace(string format, params object[] args) { //do nothing } } 来源: https://stackoverflow.com/questions/42442916/can-you-create-an-itracingservice

Hide Ribbon Button Crm 2011

我只是一个虾纸丫 提交于 2019-12-24 04:10:52
问题 I have to hide a ribbon button when the owner of the record isn't the current user. I'm using Visual Ribbon Editor for CRM 2011 however I didn't find out the solution yet. I tried to use Field rule ValueRule but it just allows me to put a bool value (1 or 0). Can anyone please tell me how can I do that? Thank you in advance! 回答1: Add a Enable Rule like this: <EnableRules> <EnableRule Id="YourEntity.Form.XXX.MainTab.XXXXXXXXXX.CustomRule" /> </EnableRules> Rule Definitions as below:

How to convert HttpResponseMessage having OData to a C# object?

我的梦境 提交于 2019-12-24 03:32:30
问题 I am calling a REST service from my C# application which connects to CRM. This returns HttpResponseMessage. response.Content.ReadAsStringAsync().Result The above statement returns following output. I need to convert this to Account object, which already has "accountnumber, and accountid properties. { "@odata.context":"https://APIURL/api/data/v8.1/$metadata#account(accountnumber)","value":[ { "@odata.etag":"W/\"12496866\"","accountnumber":"D00208","accountid":"30417c0f-7b8c-e611-80f3

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

Does MSCRM web-service support database transactions?

£可爱£侵袭症+ 提交于 2019-12-24 00:38:28
问题 One would assume with any web-based data application that database transactions would be an integral part of the design. Looking around at CrmService, I can't find anything that suggests that transactional 'CRUD's are available. Is it the case that this is not supported/implemented in MSCRM? If it is, and i have missed it, could someone please point me in the right direction. I fear coding a whole lot of 'repair code' to cater for errors/exceptions half way through a custom import

ADFS 4 -'X-Frame-Options' to 'deny'

て烟熏妆下的殇ゞ 提交于 2019-12-23 20:50:39
问题 I have an aspx page embedded in Dynamics CRM. The aspx page uses openId and an adfs application group to authenticate and has been working up until security update KB4493473 (it is an assumption that the update is causing the issue). Prior to the update, when the user loaded the CRM form, the iframe would seamlessly load without issue or authentication prompts. Since the update, the console gives this message: 'https://sts... ... &x-client-SKU=ID_NET451&x-client-ver=5.2.1.0' in a frame

Retrieve Optionsets in Dynamics 2011

痞子三分冷 提交于 2019-12-23 18:51:33
问题 I am using this code to retrieve global optionsets var request = new RetrieveOptionSetRequest {Name = "OptionsetNameGoesHere"}; var retrieveOptionSetResponse =(RetrieveOptionSetResponse) DynamicsHandler._serviceProxy.Execute(request); var retrievedOptionSetMetadata =(OptionSetMetadata) retrieveOptionSetResponse.OptionSetMetadata; var optionList = retrievedOptionSetMetadata.Options.ToArray(); foreach (var optionMetadata in optionList) { Printout(optionMetadata.Label.LocalizedLabels[0].Label +