dynamics-crm-2011

CRM 2011: Global JavaScript and button in status bar

故事扮演 提交于 2020-01-21 05:26:46
问题 I'm not so new in CRM 2011, but I faced with one big problem... I found some solution on net that makes some scoring/ranking system in CRM. I was completely confused when I saw star in top status bar, above ribbon buttons bar, next to username on right corner of screen. When I click on this button, I open div with some information about users, and scores they have. Where I can put Java Script function (jQuery for example) that can be executed globally? How to call that function, what event to

CRM 2011: Global JavaScript and button in status bar

只愿长相守 提交于 2020-01-21 05:26:07
问题 I'm not so new in CRM 2011, but I faced with one big problem... I found some solution on net that makes some scoring/ranking system in CRM. I was completely confused when I saw star in top status bar, above ribbon buttons bar, next to username on right corner of screen. When I click on this button, I open div with some information about users, and scores they have. Where I can put Java Script function (jQuery for example) that can be executed globally? How to call that function, what event to

Microsoft CRM Plugin Infinite Loop

≡放荡痞女 提交于 2020-01-20 08:56:08
问题 Another MS CRM question from me, I'm afraid. I've got the following code being executed on the update of a contact record but it gives me an error saying the job was cancelled because it includes an infinite loop. Can anyone tell me why this is happening, please? // <copyright file="PostContactUpdate.cs" company=""> // Copyright (c) 2013 All Rights Reserved // </copyright> // <author></author> // <date>8/7/2013 2:04:26 PM</date> // <summary>Implements the PostContactUpdate Plugin.</summary> /

Dynamics CRM 2011 SDK remove attribute with dependencies

本小妞迷上赌 提交于 2020-01-15 03:32:09
问题 I'm having troubles with removing the attribute of entity which have dependencies from SDK. To remove an attribute I need: RetrieveAttribute RetrieveDependenciesForDeleteRequest DeleteRelationshipRequest and finally DeleteAttributeRequest I would be appreciated for any advise about the plan above or sample code. I couldn't find example at msdn so far. 回答1: So it appears that the RetrieveDependenciesForDeleteRequest is telling you that you have to delete a relationship before you can delete

What Changes Does Referencing CodeGeneration.CodeCustomization Make to the Early Bound Generated CRM Entities?

浪尽此生 提交于 2020-01-11 06:12:15
问题 After reading this SO question, I noticed that the link in the question made a reference to Microsoft.Xrm.Client.CodeGeneration.CodeCustomization,Microsoft.Xrm.Client.CodeGeneration . What advantages it has over the standard code gen? According to LameCoder it changes all the entities to inherit from Microsoft.Xrm.Client.CrmEntity rather than `Microsoft.Xrm.Sdk.Entity. What changes does that make and what other changes are created? 回答1: Here is the best site I could currently find on what it

Error registering plugins and/or workflows. Plug-in assembly does not contain the required types or assembly content cannot be updated

橙三吉。 提交于 2020-01-11 04:48:07
问题 I implemented one custom workflow in in Visual Studio 2010 using CRM 2011 Developer Toolkit. It was working fine with system generated namespace. But, when I changed the namespace of my project, its throwing an error "Error registering plugins and/or workflows. Plug-in assembly does not contain the required types or assembly content cannot be updated." while deploying it. And I have changed the namespace in .crmregister file, project properties and in source code. Then whats the problem here.

How can I connect to a Microsoft Dynamics CRM server using Python?

一个人想着一个人 提交于 2020-01-10 11:46:30
问题 The Microsoft Dynamics CRM service uses NTLM authentication, which makes connecting to it from a python process using suds somewhat complicated. I'm looking for a code sample that will: Send and receive the response from a RetrieveAttributeRequest Send and receive the response from an Execute request. This must use Python 2.6 or Python 2.7, not Python 3. I already have a working implementation that uses curl to do this, but it's flaky at the best of times, and as part of some other work I

Dynamics CRM Plugin Code signing [closed]

丶灬走出姿态 提交于 2020-01-07 09:18:08
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . My company has created an plugin for Microsoft Dynamics CRM in Visual Studio 2012, we have created a self signed certificate with Visual Studio and the plugin works. We have Certification Authority Server which can issue certificates but the problem is creating an CSR (Certification Signing Request) after much

Can't disable (set to read-only, protect, gray-out etc.) a field

时光总嘲笑我的痴心妄想 提交于 2020-01-06 19:30:59
问题 I've run this code: Xrm.Page.data.entity.attributes.get("subject").setValue("Beep");; alert(Xrm.Page.ui.controls.get("subject").setDisabled); Xrm.Page.ui.controls.get("subject").setDisabled(true); As expected, I get the text Beep into the field. As expected, the alert tells me the contents of the method (and as far I can tell, they're doing what they're supposed to). However, the Control itself doesn't get disabled. What am I doing wrong? I believe that I saw one example of different approach

Dynamics CRM 2011 - How to relate two different entities

£可爱£侵袭症+ 提交于 2020-01-06 07:32:30
问题 I have two different custom entities. The first one (payment) I create manually using a form. When the payment is created it executes a plugin that will create one or more vouchers. The plugin creates the voucher without a problem. The problem is when I go to the payment and click on vouchers, I don't see the voucher I just created listed. If I go look at all the vouchers I can see the one I just created. There is a 1 to many relationship from payment to voucher. What do I need to do in my