Like most of you know, Microsoft has created a demo VPC which you can download from partnersource. On this demo there are some interesting features. For instance, if you do create an account, then automatically a sharepoint folder is created and linked to the account. This has been done by using a plugin. The plug-in code has been added below. Of course you will need to change some things related
Showing posts with label plug-in. Show all posts
Showing posts with label plug-in. Show all posts
Tuesday, 27 April 2010
Sunday, 18 October 2009
Update owner in Plugin
Posted on 06:56 by Unknown
Here's a code snippet that will help you to update the owner of a record in a plug-in. This code should run in a POST plug-in:SecurityPrincipal assignee = new SecurityPrincipal();assignee.Type = SecurityPrincipalType.User;// PrincipalId is some known Guid belonging to the user or team that will own this record.assignee.PrincipalId = new Guid("476E234C-5E15-DE11-80BA-000C297AF856");// Create the
Thursday, 16 April 2009
Plugin registration tools for Visual Studio 2005
Posted on 13:34 by Unknown
The newest update of the SDK, version 4.0.8, includes updated projects for the plugin registration tool as well as the plugin developer tool. While I usually am pleased with updates, this update could cause some issues for some people. The updated projects are build in Visual Studio 2008 whereas they used to be build in Visual Studio 2005. This means that you will not be able anymore to run the
Wednesday, 24 September 2008
Custom entities and attributes in a plug-in
Posted on 01:37 by Unknown
You cannot create a webservice in Visual Studio when you're writing a plugin. Instead you need to use the method context.CreateCrmService(true);. There is only one single issue when using this approach. You cannot leverage the power of IntelliSense in Visual Studio. Visual Studio will not recognize your custom entities and attributes. How to work with this? The only correct answer is "Dynamic
Wednesday, 3 September 2008
Plug-in not working
Posted on 04:21 by Unknown
One of the most read pages on my blog is the list of reasons why a callout won't work. Since the release of CRM 4.0 we do not have callouts anymore, but we're using plug-ins for extending CRM. This article will contain all the reasons that I find on why a plug-in is not working.Error:"Unable to load the plug-in assembly"There are multiple reasons why this error can occur. These reasons include:-
Subscribe to:
Posts (Atom)