dynamics-crm

Error Account with Id = “xxxxxx” does not exist

China☆狼群 提交于 2019-12-11 16:15:03
问题 I have a custo workflow that creates an account and opportunities. Sometimes I have this error: Account with Id = "xxxxxx" does not exist. I don't know what's wrong in my code knowing that I find the account in the CRM. Here are the steps of my plugin code: Find the account by num (if it doesn't exist, I create them) Get the account = Account Create an opportunity with Opportunity["parentaccountid"] = Account; Error message ! Code: //Get opportunity Guid id = retrieveOpportunity<string>(

Dynamic 365 CRM openEntityForm or windows.open with html as parameter

帅比萌擦擦* 提交于 2019-12-11 15:46:39
问题 I have email template which I 'parse' and send (from current Lead form) as a parameter to new email form (from JavaScript). var parameters = {}; parameters["subject"] = 'Subject name'; parameters["description"] = '<font face="Tahoma, Verdana, Arial" size=2 style="display:inline;"><br></font>'; Xrm.Utility.openEntityForm("email", null, parameters); or let serverUrl = "https://companyname.crm4.dynamics.com"; let extraqs = "subject=Subject name"; extraqs += '&description=<font face="Tahoma,

Deletion of record from Microsoft CRM Based on three fields(KINGSWAYSOFT)

你。 提交于 2019-12-11 15:18:34
问题 I have flatfile source and dynamics crm destination.I have to delete a record from CRM based on Title(text), Startdate(text) and userid(lookup field in CRM) which is given as input from flatfile.Can you suggest how can I achieve this. Thanks 回答1: You can take a look at our Premium Lookup component in the SSIS Productivity Pack, which allows you to perform a lookup against your CRM source. The Premium Lookup component takes two inputs - Primary Input and Lookup Table Input . In your case, you

Unable to access window.parent's Xrm.data.entity object from a opened frame web resource Dynamics CRM 2011

我们两清 提交于 2019-12-11 14:33:19
问题 I have a html web resource that has <script src="ClientGlobalContext.js.aspx" type="text/javascript"></script> in the head. It is a frame that pops up when a user clicks reject in the ribbon. When I try to click on a reject button in the frame (not the ribbon), it throws the error "Error: Unable to get property 'entity' of undefined or null reference" I know my window.parent.Xrm.Page.context.getServerUrl() is working because the lookup frame is populated from our server. I have tried the

Create New Form not reload after save

做~自己de王妃 提交于 2019-12-11 13:39:30
问题 working good in crm 2011 but not in crm 2013 online On opportunity Entity create New record form i show only: 1. Some attributes (all other fields/Section/Tabs are hide on form) 2.and an Html button like function OnFormLoad(){ if(Xrm.Page.ui.getFormType() == 1 ) { SetRequiredLevelToNone(); createHtmlButton("Save"); HideTabsAndSections() } else { } } On click of Html button following function is triggered. function showWholeForm() { Xrm.Page.data.entity.save(); } I want to show all the fields

Why do I get 401 errors connecting to the Dynamics CRM Metadata service?

*爱你&永不变心* 提交于 2019-12-11 13:04:33
问题 I am connecting to CRM with the intention of retrieving a list of picklist values. On my development machine I am working under my own login name and all works fine. On the test server, the code executes under the NETWORK SERVICE account. When it connects to the CRM web service everything is great. When it connects to the metadata service I get 401 Unauthorised messages. This is the first time I have used the metadata service so I am hoping someone can tell me why I get the error. The

Dynamics CRM error: “The object cannot be updated because it is read-only”

杀马特。学长 韩版系。学妹 提交于 2019-12-11 12:27:59
问题 I've got an instance of Dynamics CRM 4.0 with some weird errors. If I close a Case and then try to reactivate it I get the error " The object cannot be updated because it is read-only ". This is simple, built-in CRM functionality that works fine on other instances. I get the same error if I try to convert a Quote to an Order - I believe it's trying to update the Quote, which has been "closed" by then. What's wrong and how do I fix it? MSCRM Error Report: --------------------------------------

Error: Not able to retrieve after create in plugin

末鹿安然 提交于 2019-12-11 12:16:07
问题 I am executing a plugin synchronously postOperation. I create an entity using IOrganizationService.Create . This works, I get a GUID and I can see that the record exists in the CRM. Right after this, I am trying to retrieve the same record using same IOrganizationService and the GUID returned by the create call: public void Execute(IServiceProvider serviceProvider) { ITracingService tracer = (ITracingService)serviceProvider.GetService(typeof(ITracingService)); IPluginExecutionContext context

CRM 2011 Ribbon bar Missing after applying update Rollup 14 in IE not the chrome or Firefox?

梦想与她 提交于 2019-12-11 11:23:07
问题 When reviewing issue further, I have found out below solution: Log in to CRM as an administrator. Go to Settings > Administration. Click System Settings. On the “Customizations” tab, uncheck Load pages in the most recent version of Internet Explorer. Even this one is not working for me. I am getting below error in page load event in IE not the chrome or Firefox SCRIPT5: Access is denied. PageLoader.js, line 1 character 1226 I am stuck with as my production release on Monday. Any help is

Dynamics CRM OData query filtering on expanded attributes only works if no results come out?

故事扮演 提交于 2019-12-11 10:12:33
问题 I have a requirement to fetch Price List Item records which adhere to the following requirements: Filter by a specific PriceList Filter by a specific currency Filter by the Name of the related Product containing a given string I got the first two points working no problem, but it feels like expanding doesn't cope well with filtering. I started from a "straight" query on Product entity: .../ProductSet?$filter=substringof('sometext', Name) Equivalent SQL (targeting the corresponding CRM