Richard Wilson
Monday, November 14, 2011
The Flying W by Glenn Wilson
Thursday, September 1, 2011
Xrm.Page.ui Not Available on Primary Grid
While developing an EnableRule for some new functionality I decided to use an Async call. Here is a great link on how to use Async calls with EnableRule.
Microsoft even notes this strategy in the SDK documentation:
Consider that Microsoft sees this as the “proper way” to do things you might think that they would provide the necessary methods to complete this, that would only be half correct.
All of this works if you are on an entity form because Xrm.Page.ui.refreshRibbon() is available. Unfortunately if you are in a grid such as the one displayed below, Xrm.Page.ui is null, which means you cannot call the refreshRibbon() method.
DAGGER!!!!!!
If anyone knows a way in which to get around this please leave a comment ![]()
Wednesday, August 17, 2011
GetPickListProperty.name Returns Null in PreCreate
mypicklist Example:
Value Name
1 Approve
2 Cancel
PreCreate step:
Target.GetPickListProperty("mypicklist").name // this would return null
Target.GetPickListProperty("mypicklist").Value // this would return either 1 or 2
PostCreate step:
Target.GetPickListProperty("mypicklist").name // this would return either "Approve" or "Cancel"
Target.GetPickListProperty("mypicklist").Value // this would return either 1 or 2
Tuesday, June 28, 2011
Plugin Set to Use Offline but Entity Offline Settings Not Configured
While attempting to deploy a solution to CRM 2011 I received the following error during the import.
0x80040203 - Supported deployment does not agree with message availability
After reviewing the code for the plugin I realized that it was attempting to register the plugin for both Server and Offline.
[System.ComponentModel.AmbientValue("CrmPluginStepDeployment=2")]
The problem there was that the Entity was not set for Offline mode.
One the entity was updated the solution installed correctly.
Wednesday, June 8, 2011
CustomRule - Just one at a time please.
Here is an example of someone who has an example of what I described.
http://howto-mscrm.blogspot.com/2011/04/how-to-series-6-how-to-use-customrule.html
Thursday, June 2, 2011
Web.Config Modification Manager Update
The only changes I made from Harmjan's version was to fix some problems when loading modification which contained double quotes. They were causing the page to load improperly. Also for the current modification table I added a number field as the first column so that when I'm talking to customers over the phone they can tell me the number of mods or easily reference individual items.
To use it just download the webconfig.aspx page. Then drop it in the 12 hive at, C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\ADMIN.
The page can be accessed through, http://CA:PORT/_admin/webconfig.aspx
Tuesday, May 31, 2011
SharePoint 2010, Event ID 7043: Could not load type 'Microsoft.SharePoint.Portal.WebControls.TaxonomyPicker'
Load control template file /_controltemplates/TaxonomyPicker.ascx failed: Could not load type
'Microsoft.SharePoint.Portal.WebControls.TaxonomyPicker' from assembly
'Microsoft.SharePoint.Portal, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'.
, 



