Microsoft Mobile Support

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg
Showing posts with label sdk. Show all posts
Showing posts with label sdk. Show all posts

Wednesday, 29 April 2009

Automatic provisioning of Organizations

Posted on 02:36 by Unknown
Microsoft CRM does have a separate webservice for doing deployment related activities. There is a Deployment SDK especially for this webservice. You can download that here. One of the activities you can execute is automatic provisioning of new organizations. In this post I'll dive into the code required for this as well as some of the common issues while doing so.Basically following the next
Read More
Posted in installation, sdk | No comments

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
Read More
Posted in plug-in, sdk | No comments

Friday, 20 March 2009

Read-only URL Addressable Form

Posted on 06:10 by Unknown
The SDK does describe URL Addressable Forms, but one thing which I do miss on this page, is details around how to link to a form in readonly format. This is done by using the following URL:http://server/orgname/_forms/readonly/readonly.aspx?objTypeCode=objectTypeCode.Of course you need to change the server to servername, orgname to organization name and the objectTypeCode to the entity object
Read More
Posted in customization, sdk | No comments

Monday, 20 August 2007

Creating Environment independent solutions

Posted on 18:33 by Unknown
When developing a solution for CRM, make sure that it runs on all different crm environments. Many implementations have their CRM installation on another port compared to the development environments. A way to handle this, is to look at the location of MS CRM as it is stored in the registery.// Set default valuesprivate const string CRM_REG_DIRECTORY = @"software\Microsoft\mscrm\";private const
Read More
Posted in callout, customization, installation, sdk | No comments

Tuesday, 15 May 2007

Interesting issues with the CRMDateTime continuum.

Posted on 03:21 by Unknown
This is a guest post by a friend and colleague of mine: Leon Krancher. He has been digging into an issue regarding CRMDateTime and integration. Make sure you read this before you start your own integration!Well I guess I’d better start off with a little introduction. My name is Leon Krancher and I’m a colleague of Ronald at Avanade. As we both work with CRM we occasionally find time to get
Read More
Posted in customization, export, import, sdk | No comments

Friday, 13 April 2007

FetchXML into a DataSet

Posted on 01:19 by Unknown
Once upon a time in the Netherlands there was this developer who was working on MSCRM for quite some time. He started to notice that he had to search again and again for the same questions. Luckily he heard about the term 'blogging' and so he started to post the most frequent questions on a blog. The goal was to be able to quickly retrieve the information that he had found earlier. The fact that
Read More
Posted in blog, customization, fetchxml, sdk | No comments

Tuesday, 20 February 2007

Set a lookup to NULL

Posted on 13:30 by Unknown
Quite often I see this question in the newsgroup: How do I set a lookup to a NULL value?Here is the answer for when you're working in server side code:Entity.Lookup = new Lookup(); Entity.Lookup.IsNull = true; Entity.Lookup.IsNullSpecified = true; this also works for customers:contact.parentcustomerid = new Customer();contact.parentcustomerid.IsNull = true;contact.parentcustomerid.IsNullSpecified
Read More
Posted in customization, sdk | No comments

Sunday, 18 February 2007

Callout design issue

Posted on 13:37 by Unknown
Last week I noticed some weird behaviour in MS CRM. For a business requirement I created a callout. The callout would perform some business logic as soon as an appointment gets created. The business logic should only run if the activty gets created by a quick campaign. Don't ask me for the reason, but that was requested.No problem, I created a pre callout which runs on the appointment's OnCreate
Read More
Posted in callout, sdk | No comments

Tuesday, 6 February 2007

Territory manager cannot belong to other territory

Posted on 01:24 by Unknown
If you're working with territories by using the SDK, you might get this error message:0x80043805: Territory manager cannot belong to other territoryThis happens if you want to make a specific user manager of two territories. This is possible, but you will have to make sure that the field 'territory' is set to NULL of this user. When you change the manager field of a territory by using the SDK,
Read More
Posted in error, sdk | No comments

Thursday, 1 February 2007

How to set the parent account via SDK

Posted on 14:29 by Unknown
Last week I've been working on a migration application. One requirement in the application was to set the parent account of child accounts. It could be that a parent account has a parent account itself as well. So in my application I have followed this approach:- For each account in the source, create an account in CRM 3.0- For each account in the source, map the parent account to a crm accout
Read More
Posted in customization, error, sdk | No comments

Friday, 19 January 2007

Showing a sorted list of the entities

Posted on 00:38 by Unknown
When you want to show a list of entities, then you'd need the MetadataService. The code is not that hard to fetch a list of these entities. There's even an example in the SDK. The code to get all entities including custom entities would be:MetadataService.MetadataService service = new MetadataService.MetadataService();service.Credentials = System.Net.CredentialCache.DefaultCredentials;Metadata md
Read More
Posted in customization, metadata, sdk | No comments

Friday, 12 January 2007

Callout not working?

Posted on 00:35 by Unknown
Lets write a bit more about how to get a callout to work and to make debugging available. I already wrote something about this before in this post: Callout debug: Access is Denied.So your callout is not fired? Here are some thoughts to get started. Make sure that:- the callout even should fire. Are you using the right callout? Special attention to the email PreSend and PostDeliver callouts:
Read More
Posted in callout, customization, error, sdk | No comments

Monday, 2 October 2006

Determine which priviledges are required

Posted on 05:34 by Unknown
I do assume that you do not provide the end user administrator rights on the crm installation. You probably have defined your own security role with the least priviledges the user should posess. Well how do you know what priviledges the user should posess?There's an update to the online SDK with this information. You can browse to this url and you'll see a list of messages. Under each message the
Read More
Posted in sdk | No comments

Monday, 28 August 2006

Stop using VS 2003 and start using VS 2005 for CRM Development

Posted on 00:52 by Unknown
Most of the development for MS CRM v3.0 I do in Visual Studio 2003. This is because callouts needs to be built on .NET Framework v1.1. All the projects built with Visual Studio are .NET Framework v2.0. Since I dont want to switch between several IDE's all the time, I only use VS 2003.Today is the day that I found a very interesting blog posting of Arash. See this post for information on how to
Read More
Posted in customization, sdk | No comments

Tuesday, 15 August 2006

Optimize MS CRM webservice

Posted on 08:45 by Unknown
Currently I'm working on an import program. I have to import thousands and thousands of records. Usually the crm system is quite fast, but with these huge loads, I'm getting quite anoyed by the performance of the MS CRM webservice. It even causes error messages like "The underlying connection was closed: Unable to connect to the remote server.". Now there are some performance tweaks available. I
Read More
Posted in customization, migration, sdk | No comments

Fetch all records

Posted on 08:41 by Unknown
Have you ever tried to write a code which will get you all records from a specific entity? It's harder then you think it is! Everybody who is a bit aware of the CRM SDK thinks it should be a fetch statement like this:
Read More
Posted in customization, fetchxml, sdk | No comments

Thursday, 10 August 2006

Save disabled fields

Posted on 23:51 by Unknown
Hi!I was reading a posting of Ben Vollmer about "Doing Math in Microsoft CRM aka Calculated Field". This is an interesting article, but I noticed something in the posting that I did not know yet. There is a possibility to submit fields which are disabled! I have been using calculated fields before, but I always enabled the field when submitting the page.So what is the solution? The use of the
Read More
Posted in customization, sdk | No comments

Friday, 23 June 2006

File or assembly name Microsoft.Crm.MetadataService, or one of its dependencies, was not found

Posted on 01:50 by Unknown
Imagine.. You're writing a wonderful MS CRM 3.0 addon. After writing lines and lines of code, the time is there to run and test the addon. Instead of seeing your fantasic, state-of-the-art, rocket-science, cutting-edge addon, it is this message that arises:Parser Error Message: File or assembly name Microsoft.Crm.MetadataService, or one of its dependencies, was not found.Great.Now how to solve
Read More
Posted in customization, error, metadata, sdk | No comments

Thursday, 22 June 2006

Callout debug: Access is Denied

Posted on 01:55 by Unknown
I'm not sure if more people are experiencing the same thing, but at least I'd like to share this information with you.After creating a debug build of a callout, I do copy the dll and pdb files to the \Microsoft CRM\Server\bin\assembly folder. Now I can normally debug the callout. But after modifying the code and copying the files again, then I cannot step into the code. CRM just steps over the
Read More
Posted in callout, customization, sdk | No comments

Wednesday, 31 May 2006

Finally there: Show and hide fields based on the users role!

Posted on 02:07 by Unknown
Hi all,I've been posting around showing and hiding fields more often. I won't be talking about that now, instead I'll be discussing the ability to perform JavaScript coding based on the users role.This solution is very neat and very clean, though unsupported!!! Now... Let's get started and dig into this.MS CRM has a lot of Javascript codes delivered with the product. One of these codes is located
Read More
Posted in customization, javascript, sdk, unsupported | No comments
Older Posts Home
Subscribe to: Posts (Atom)

Popular Posts

  • Performance test with 100.000 concurrent users
    Did you know that Microsoft and Dell performed a performance test on Dynamics CRM which included 100.000 concurrent users? They created a wh...
  • Guest star on mscrm team blog
    Jim Glass e-mailed me some time ago. This was the content:Ronald, would you like to be the CRM Team blog guest blogger for February? You can...
  • MS CRM SDK 3.0.4
    Microsoft posted the newest version of the SDK for MS CRM 3.0 yesterday. We're on version 3.0.4 now.Download the SDK here.OverviewThe Mi...
  • CrmDateTime conversion to DateTime
    When working with CrmDateTime, you'll notice that this type does have a .value attribute, but the type of this attribute is string. Ther...
  • Quick Yammer & CRM Demo
    Most, if not all of you, know that Microsoft has acquired Yammer in June 2012. Now Microsoft has released the integration between Yammer and...
  • Unexpected 401 when using NetworkService in Web Service call
    When you are calling any CRM Web Service and you decide to specify your own credentials by using a new instance of NetworkCredential, then y...
  • AttributeInfo.TypeName(int) != AttributeMetadata.Type.Name(float)
    You might bump into an error message while importing an entity from a customizations file. The error show could be:Error: lead: AttributeInf...
  • CRM 5.0 Features
    Now that CRM 4.0 is available for almost a year, it is good to start thinking about what investmenst you will make in the coming period and ...
  • Minimal requirements for configuring Outlook Client (Online version)
    Some customers don't allow end users to install software on their own desktop. This can even go up to completely locked down systems on ...
  • Wintersport
    It's been a while since my last posting. Well, for that I do have a good reason. I've been in France, Alpe d'Huez, for a week fo...

Categories

  • addons
  • article
  • async
  • avanade
  • azure
  • biztalk
  • blog
  • callout
  • convergence
  • crm5.0
  • customization
  • dotnetmag
  • enterprise
  • error
  • events
  • ExactTarget
  • excel
  • export
  • fetchxml
  • guest post
  • hotfix
  • import
  • installation
  • isv.config
  • javascript
  • live
  • lookup
  • mailmerge
  • metadata
  • migration
  • mobile
  • mvp
  • office
  • offtopic
  • outlook client
  • performance
  • platform
  • plug-in
  • reports
  • rollup
  • sdk
  • SharePoint
  • sqlserver
  • surface
  • titan
  • training
  • unsupported
  • virtualpc
  • whs

Blog Archive

  • ▼  2013 (3)
    • ▼  August (1)
      • CRM Blog World Updated
    • ►  February (2)
  • ►  2010 (19)
    • ►  October (3)
    • ►  July (2)
    • ►  June (3)
    • ►  May (3)
    • ►  April (5)
    • ►  March (1)
    • ►  January (2)
  • ►  2009 (28)
    • ►  November (1)
    • ►  October (4)
    • ►  September (2)
    • ►  June (2)
    • ►  April (8)
    • ►  March (2)
    • ►  February (2)
    • ►  January (7)
  • ►  2008 (36)
    • ►  December (2)
    • ►  November (1)
    • ►  October (3)
    • ►  September (7)
    • ►  July (6)
    • ►  June (1)
    • ►  May (1)
    • ►  March (4)
    • ►  February (4)
    • ►  January (7)
  • ►  2007 (61)
    • ►  November (2)
    • ►  October (5)
    • ►  August (1)
    • ►  July (3)
    • ►  June (6)
    • ►  May (6)
    • ►  April (8)
    • ►  March (11)
    • ►  February (12)
    • ►  January (7)
  • ►  2006 (53)
    • ►  December (4)
    • ►  November (5)
    • ►  October (7)
    • ►  September (3)
    • ►  August (6)
    • ►  July (4)
    • ►  June (6)
    • ►  May (1)
    • ►  April (1)
    • ►  March (6)
    • ►  February (2)
    • ►  January (8)
  • ►  2005 (30)
    • ►  December (3)
    • ►  November (5)
    • ►  October (7)
    • ►  September (6)
    • ►  August (3)
    • ►  July (6)
Powered by Blogger.

About Me

Unknown
View my complete profile