dynamics-crm-2011

Where does Microsoft Dynamics CRM store OptionSet values in SQL Server?

穿精又带淫゛_ 提交于 2019-12-03 09:39:59
I'm doing a data migration in to Microsoft Dynamics CRM 2011 and need to perform reconciliations against the source to ensure that everything loaded successfully. To do this I am querying the SQL directly in SQL Server, but I can't seem to find where the OptionSet data is stored. Does anyone know what table(s) it's stored in? These are all stored in the StringMapBase table. You'll query via object type code of the entity, attribute name, option set value and language and that'll give you the display value of the attribute. Just a reminder! Use FilteredStringMap to continue to be 'supported' by

CRM 2011 - Intercepting the Quick search, Fetch xml and query expression don't return the same things?

ぐ巨炮叔叔 提交于 2019-12-03 08:51:29
I'm creating search shortcuts from the quick search box for certain entities. This is to avoid multiple returns especially when a name could contain a city name. (City searches are relevant, so it has to stay) I'm accomplishing this via a plugin. So a user enters /name Todd Richardson In the search box on the contact entity view. Update This intercepts ( pre-operation stage:20 prevalidation stage:10) the Retrievemultiple request for a contact. End Update Update As requested here is the beginning of the implementation as generated and then modified from the MSCRM 2011 sdk tools Please remember

How to add filtered view to Ribbon “Add Existing” button

懵懂的女人 提交于 2019-12-03 08:46:32
I have a subgrid which is n:n relationship to current record. I want to add a filtered view to the "Add Existing" button of this subgrid. Any idea? (I followed this article which is exactly same as my requirements: http://danielcai.blogspot.com/2011/12/filtered-lookup-for-existing-button-of.html ) Renaud Dumont First, you have to export a solution containing the entity with the type you want to filter: In the customizations.xml find the RibbonDiffXml node and add the following code: <RibbonDiffXml> <CustomActions /> <Templates> <RibbonTemplates Id="Mscrm.Templates"></RibbonTemplates> <

Apache CXF client for claims-mode xRM (Microsoft Dynamics CRM 2011)?

梦想的初衷 提交于 2019-12-03 08:05:29
I'm trying to create an Apache CXF (2.7.5) client for the Microsoft Dynamics CRM 2011 ("xRM") web services (which I understood to be based on WCF 4) where CRM is in claims mode, so that the WSDL for this web service points to an STS (in my case AD FS 2.0). My main question: Are there any tutorial, suggestions, blog posts to help me out (either describing how to send claims, or how to avoid them and instead use Windows authentication)? Below is a description of what I've done until now. I already had working code for the same web service, which works when CRM is in Windows authentication mode .

How do you have multiple javascript libraries in Dynamics CRM 2011

自古美人都是妖i 提交于 2019-12-03 07:58:30
Right I am creating a method which adds an Account to Dynamics CRM with an Ajax POST to a built in webservice, the code is as follows : var context = GetGlobalContext(); var serverUrl = context.getServerUrl(); var ODATA_ENDPOINT = "/XRMServices/2011/OrganizationData.svc"; var account = new Object(); account.Name = "Sample Account created via OData jQuery library."; // Parse the entity object into JSON var jsonEntity = window.JSON.stringify(account); // Asynchronous AJAX function to Create a CRM record using OData $.ajax({ type: "POST", contentType: "application/json; charset=utf-8", datatype:

Error\" …The OLE DB Source.Outputs[OLE DB Source Output].Columns[XXXXXXXX] on the non-error output has no corresponding output

落花浮王杯 提交于 2019-12-03 06:08:37
Ive spent hours trying to fix this issue. For the column that's giving me the problem i am using a scalar-function in sql server to grab the name. The function is correct and works fine. I then use a stored procedure to use with ssis. The column that is giving me the error is stating it has no corresponding output column on the error output. Everything seems to be fine. I have done the following per previous recommendations: Deleted source and destination and remapped everything Changed DelayValidation property to true Changed maximum error count to 100 Unchecked and rechecked Available

Dynamics CRM 2011 Bulk Update

痴心易碎 提交于 2019-12-03 06:00:13
Running Dynamics CRM 2011 rollout 3. Need to update millions of customer records periodically (delta updates). Using standard update (one by one) takes a few weeks. Also we don't want to touch the DB directly as it may break stuff in the future. Is there a bulk update method in the Dynamics CRM 2011 webservice/REST API we can use? (WhatWhereHow) I realize this is post is over 2 years old, but I can add to it in case someone else reads it and has a similar need. Peter Majeed's answer is on target in that CRM processes requests one record at a time. There is no bulk edit that works the way you

Convert EntityReference to Entity

空扰寡人 提交于 2019-12-03 02:53:08
Does anyone know how can Convert EntityReference to Entity. protected override void Execute(CodeActivityContext executionContext) { [Input("Email")] [ReferenceTarget("email")] public InArgument<Entity> EMail { get; set; } Entity MyEmail = EMail.Get<Entity>(executionContext); This give me an error. Cannot convert this. The shortest answer to your questions is to query the database for the entity that's pointed out (referred to) by the entity reference. I've always viewed entity references as (rough) equivalent to the pointers in C++. It's got the address to it (guid) but you need to de

CRM 2011 - setting a default value with JScript

别说谁变了你拦得住时间么 提交于 2019-12-02 20:33:09
问题 We have CRM 2011 on premise. The Contact entity was customized to use a lookup to a custom entity Country instead of just a text field. When creating a new Contact we would like the country field to be set to Canada by default. I have the following function that does that: function SetDefaultCountryCode(countryFieldId) { var _canadaId = "{FC167B4D-1C3B-E111-8904-F2EA3FE25706}"; var countryControl = Xrm.Page.getAttribute(countryFieldId); // only attempt the code if the control exists on the

Dynamically Pull Data from Dynamics CRM Online

北城余情 提交于 2019-12-02 12:24:41
问题 I'm a PHP Developer that recently got introduced to Dynamics CRM Online as I am building an application that needs to pull Customer details directly from a Dynamics CRM Online account to populate a Customer selection list. I've gone through a number of options including: http://mscrmtools.blogspot.com/2012/08/php-to-crm-online-easy-way-to-do.html But I was unable to authenticate at all. According to the blogger, Tanguy, MS has since changed and the solution he posted is no longer valid. I am