Microsoft Mobile Support

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

Sunday, 21 March 2010

Retrieve Marketinglists attached to Campaign Activity

Posted on 16:37 by Unknown
Today I've been doing some coding again and I've found an interesting situation. For my code I do need to find which marketing lists belong to a specific Campaign Activity. Apparently more people on the internet faced the same issue, but I haven't found anybody who supplied the answer on how to do that. I've managed to find an approach which works for both the fetchXml as well as a
Read More
Posted in customization, dotnetmag, fetchxml | No comments

Tuesday, 29 September 2009

Document your CRM installation

Posted on 01:38 by Unknown
Everybody knows the importance of documentation of a project. Thanks to Merijn van Mourik and some other guys there is a tool which can help you documenting your solution. This is a free tool which you can download from Codeplex: CRM 4 documentation.If you want to use this tool on a standalone machine or a machine without internet connection, then you should download and install the following
Read More
Posted in customization, metadata | No comments

Monday, 29 June 2009

Remove attributes from form which cannot be removed

Posted on 05:32 by Unknown
There are some attributes on CRM default forms which you cannot remove. This post will show you how you can do this anyway. While doing so, please keep in mind that Microsoft must have good reasons to fix attributes on the form. Removing this might have implications, as always have a good backup ready.The steps you need to follow to remove are:- Export customizations for the specific entity-
Read More
Posted in customization, javascript, unsupported | No comments

Thursday, 23 April 2009

Walk through all elements on a form

Posted on 01:08 by Unknown
In some cases it is required to set all attributes on a form to disabled or do some other logic like checking which attribute has been changed. To do this you do need to walk through each attribute of the CRM form. My fellow MVP Mitch Milam has posted the technique to do this more than a year ago:http://blogs.infinite-x.net/2007/11/21/disabling-all-fields-on-a-crm-form/The most important piece of
Read More
Posted in customization, javascript | No comments

Thursday, 16 April 2009

Hiding elements: the next evolution

Posted on 14:35 by Unknown
One of my colleagues, Richard McCormick, has written a blog post for the Avanade internal employees. He has asked me to make this post publically available since it might be interesting for more people. Read on and get great code samples on how to hide attributes, elements and sections.Hiding Links & Controls in CRM 4 Before I go on, I should point out that this solution is technically
Read More
Posted in customization, guest post, javascript | No comments

Friday, 10 April 2009

Displaying inactive records in associated view

Posted on 05:46 by Unknown
In some situations you do want to show the inactive records in an associated view as well. My fellow MVP George Doubinski wrote an article about how to solve this by using a plugin:http://crm.georged.id.au/post/2008/03/07/Displaying-inactive-records-in-associated-view.aspx.In this post I will show that there are more routes to Rome. I've looked into the option of editing the query which is being
Read More
Posted in customization | 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, 16 February 2009

Using Advanced Find for FetchXML builder v4.0

Posted on 07:50 by Unknown
Some time ago I have written an article about how to use the Advanced Find as FetchXML builder. Today I tried using the javascript:prompt() method on a CRM 4.0 deployment and found out that the code doesn't work anymore. This alert script does still work though.javascript:alert(resultRender.FetchXml.value);A slightly different code which might be easier to remember is:javascript:alert(
Read More
Posted in customization, fetchxml, javascript | No comments

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

Thursday, 18 September 2008

Unauthorized error after deploying your custom application

Posted on 04:49 by Unknown
I've been working on deploying an application today. I received the error "Unauthorized" all the time and did not know why. The website was deployed as a new virtual directory within the ISV folder, authentication was set to integrated windows authentication and the password which was supplied was correct. Still I was able to get this error message:Server Error in '/ISV/CustomApplication'
Read More
Posted in addons, customization, error | No comments

Wednesday, 3 September 2008

Convert lead to contact, account and/or opportunity programmatically

Posted on 07:18 by Unknown
Update: The codeproject missed a line of code. After you have executed the InitializeFromRequest, then you'll get a InitializeFromResponse. This response has got a entity in it. This entity you will need to create. The entity does not yet get created by executing the InitializeFromRequest! The line to add is:Guid entityId = service.Create(rps.Entity);Today I needed some code which does convert a
Read More
Posted in customization | No comments

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

Wednesday, 19 March 2008

Resizing windows

Posted on 06:40 by Unknown
If you have a lot of data on an entity form, then you sometimes do want to force the page to open in full screen mode. There's a small javascript which will allow you to do this. Just add these two lines of code to the form onload of your entity form:window.moveTo(0,0);window.resizeTo(screen.availWidth, screen.availHeight);Also, when you open a custom page you can also set the window size by
Read More
Posted in customization, javascript | No comments

Monday, 10 March 2008

Stopping and continuing a save event

Posted on 05:02 by Unknown
For some customizations you do need to stop the form onsave event, perform some business logic and continue the save event. An example would be that in specific conditions are met when a record is saved, then a popup will need to be shown. After filling in data in the popup and pressing a continue button on the popup, then the save operation would need to continue. The SDK helps in this situation
Read More
Posted in customization, javascript, unsupported | No comments

Thursday, 14 February 2008

Javascript and IFrames

Posted on 04:48 by Unknown
I'm struggling with IFrames and JavaScript quite often. When you're working with this as well, the first thing to keep in mind is:Deselecte the option "restrict cross site scripting" (in dutch "Het uitvoeren van scripts tussen frames beperken")That usually saves a lot of troubles.Furthermore, the next step is to create JavaScripts. One which I use quite often, is one which allows me to access a
Read More
Posted in customization, javascript | No comments

Monday, 11 February 2008

CrmDateTime conversion to DateTime

Posted on 07:32 by Unknown
When working with CrmDateTime, you'll notice that this type does have a .value attribute, but the type of this attribute is string. There is no attribute to get the .net class DateTime out of your CrmDateTime. If you do want to use a DateTime anyway, you'd easily need to convert it. You could use any of these:Convert.ToDateTime(crmdatetime.Value)DateTime.Parse(crmdatetime.Value)For more
Read More
Posted in customization | No comments

Monday, 21 January 2008

AttributeInfo.TypeName(int) != AttributeMetadata.Type.Name(float)

Posted on 01:05 by Unknown
You might bump into an error message while importing an entity from a customizations file. The error show could be:Error: lead: AttributeInfo.TypeName(int) != AttributeMetadata.Type.Name(float)The cause of this error is a mismatch in attribute type. Usually a field has been removed in the other environment and has been recreated with another attribute type. The type in your destination CRM system
Read More
Posted in customization, error, import, sqlserver | No comments

Tuesday, 27 November 2007

Improve performance of Microsoft Dynamics CRM

Posted on 00:53 by Unknown
The performance of your CRM implementation is one of the key factors for customer acceptance. There are multiple options available for optimizing your system. Here's a list to get started:Microsoft - Optimize Microsoft Dynamics CRM 3.0Microsoft - Optimize Microsoft Dynamics CRM 1.2Aaron Elder - Optimize the CRM Webservice CallsBrein Reid - Reduce the amount of useless calls to IIS 6.0
Read More
Posted in addons, callout, customization, enterprise, import, migration, sqlserver | No comments

Thursday, 11 October 2007

Fetch the ObjectTypeCode based on EntityName

Posted on 08:01 by Unknown
Not a very rocket science, but just something again that I don't want to type over and over again. So here's a piece of code that helps you to fetch the ObjectTypeCode based on the EntityName for CRM 3.0:private int GetObjectTypeCode (string entityName){ CrmMetaDataService.MetadataService metadataService = new CrmMetaDataService.MetadataService(); metadataService.Credentials =
Read More
Posted in customization, metadata | 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
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