dynamics-crm-2011

Caller was not authenticated by the service error - CRM 2011 Deployment wcf service method call over SSL?

佐手、 提交于 2019-12-08 10:44:18
问题 I am trying to utilize CRM 2011 deployment service for CRM 2011 management in a custom made vb.net application. Please do not tell me that i should use deployment manager for my operations as i have to develop this custom application tailored to the specific requirements for my organization. Everything works fine when i use http but when i try to connect call a method of deployment service using SSL (HTTPS is enabled at the server) Here is my relevant client configurtion for HTTPS/SSL only

How to unit test Soap service access from Crm 2011 Silverlight application?

风格不统一 提交于 2019-12-08 10:43:34
问题 In a Silverlight 5 application in Dynamics CRM 2011 I access the Organization Service of the CRM to query for entity Metadata. I wrote a service that takes an entity name and returns a list of all its fields. How can I test this service method automatically? The main problem is how to obtain a reference to the organization service from a Silverlight app that does not run in the context of the CRM. My Service method looks like this: public IOrganizationService OrganizationService { get { if (

Dynamics CRM - Stamp out new Org, Build / Deploy Plugins all from MSBUILD - Issues

只愿长相守 提交于 2019-12-08 10:22:51
问题 I'm getting a run time exception in my deployed, exported, and then imported to another box... CRM Solution. The Exception is: System.TypeLoadException: Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' It only occurs when I use a MSBUILD script to do this. When I use VS (2010) by hand to do this, all is well. So, first suspect is my script. My script uses a MSBUILD custom task,

CRM 2011 Text Field 'Intellisense'

梦想的初衷 提交于 2019-12-08 10:11:35
How can a text field be given an 'Intellisense' feel? The user would start typing and be given a list of similar options to choose from. What about JavaScript that is listening to OnChange of the field and compares the field text to an entities records? There is a great tool for accomplish that: jquery autocomplete, see here: http://jqueryui.com/autocomplete/ See this posts for using JQuery in CRM 2011: http://crmconsultancy.wordpress.com/2011/06/13/using-jquery-in-crm-2011/ http://www.crmnerd.com/customizations/using-jquery-in-crm2011/ 来源: https://stackoverflow.com/questions/14833793/crm-2011

Report showing NO DATA when uploaded to crm online

 ̄綄美尐妖づ 提交于 2019-12-08 09:52:16
问题 When building a report in SSRS and viewing it in PREVIEW mode, my report is showing lots of data; however, when deploying it to CRM online 2013, this is what I am getting: This is CRM DYNAMICS ONLINE 2013 The data source is FetchXML and does not change I've removed all filters from the report and it still displays nothing. I'm using windows authentication My FetchXML data source is configured this way: Why is my report being generated fine in preview mode, yet when I upload it to CRM 2013

Dynamic Values in Email Template

为君一笑 提交于 2019-12-08 09:43:54
问题 I have a pick-list on my form, the selected value of which i want to use in an email template. However the value is not getting populated in the email template. what should i do to achieve this Out of box without writing any java-script ? 来源: https://stackoverflow.com/questions/27540118/dynamic-values-in-email-template

How to close cases in crm 2011 programmatically

孤街醉人 提交于 2019-12-08 09:03:00
问题 I am doing some update in crm using ssis. I tried to close some cases in crm based on certain conditions. This is my sample code in public override void Input0_ProcessInputRow(Input0Buffer Row) method. public override void Input0_ProcessInputRow(Input0Buffer Row) { // Create a Entity object of type 'case' Entity caseEnt = new Entity("incident"); Entity incidentResolution= new Entity("incidentresolution"); incidentResolution.Attributes.Add("incidentid", new EntityReference("incident", Row

Update CRM 2011 Access Right Programmatically

烂漫一生 提交于 2019-12-08 08:57:36
问题 I would like to know if there is some way to update an Access Right in CRM 2011. Let's say I have an Access Right named Marketing Manager which has user level privilege to create Account, I'd like to change this privilege to Organization level programmatically. I'm waiting hopefully, Thanks in advance 回答1: Please have a look at the code below. However it actually copy Role Privileges from existing Role to new Role. But I think it can give you an idea. Guid existingRoleId = new Guid("C85F0FFF

Set custom Workflow to run daily in CRM 2013

孤者浪人 提交于 2019-12-08 08:42:57
问题 I have written a custom work flow which is registered on account entity . I want this workflow to run daily to create tasks. the workflow works fine when i register it on record created . but it does not trigger when i schedule it for every day. like after 24 hours it should trigger automatically by itself any one can help plz 回答1: Two workflows: Parent who runs on creation and triggers child. Recursive child who triggers the custom workflow activity. Parent workflow definition. Child

CRM 2011 Custom Workflow

风流意气都作罢 提交于 2019-12-08 07:29:11
问题 I GO THE PLUGIN WORKING, AND I HAVE UPDATED THE WORKING CODE HERE. HOPE IT HELPS!! I'm creating a workflow which has a plugin to retrieve a contact entity from a "FROM" field of an Email record. I'm trying to see if that email exists in the contact entity. The input is the "FROM" email and the output will return the Contacts entity. I have not been able to get this code working, I've received different errors or no errors, but I know its not working. Please help! Thanks in advance! using