In your quest for CRM customization glory, there are times when you need the perfect icon graphic for your brand new custom entity.  The normal procedure for custom entity icons is time consuming, and requires some graphic editing skill.

  1. Browse open source icon galleries online for the appropriate icon (preferably in PNG or GIF format)
  2. Edit the icon in an image editor to resize it in 3 separate files:
    1. For image editing I recommend the free Paint .NET software
    2. Small:  16 x 16 pixels
    3. Medium:  32 x 32 pixels
    4. Large:  66 x 48 pixels
  3. Upload the 3 files to a new or existing solution in CRM 2011 as a web resource
  4. Open the custom entity in the Settings > Customizations section (or solution)
  5. Click on the “Update Icons” button
  6. Apply your icon web resources to the custom entity
  7. Publish your customizations
  8. Clear your browser cache and refresh CRM to see the new icons

I’ve been there and felt your pain.  Rather than using precious consulting time on image editing, I decided to group 22 of my custom open sourced icons in a solution file and share it with you.  Feel free to download it below!

Please note this is an managed solution file, meaning that you can’t modify it.  If you want to add your own custom icons, I suggest you create a new unmanaged solution.
The included icons are in PNG format, and were procured from free and open source websites.  I included a variety that will hopefully address different industries and needs.
With this solution file, the new procedure is easier!
  1. Upload the managed solution file to CRM 2011
  2. Open the custom entity in the Settings > Customizations section (or solution)
  3. Click on the “Update Icons” button
  4. Select and apply your icon web resources to the custom entity
  5. Publish your customizations
  6. Clear your browser cache and refresh CRM to see the new icons
I hope this free custom icons solution proves valuable to you in the future.  Be sure to drop a comment if you have some feedback.

I recently got a call from a company that was having issues running their workflows on Dynamics CRM 4.0.  Despite being configured correctly, their workflows hadn’t processed for more than 4 months!  After a quick remote session, we quickly determined the source of the issue.

Earlier in the year, this company had restructured their staff.  During this process they had disabled the user account of a key former employee that was the owner of all the workflows.

What was the lesson learned?  Disabling the Owner user account of a workflow will disable the workflow jobs as well. Workflows require an active user account to process the jobs. When developing workflows for an organization, make sure all of the published workflows are owned by an administrative account, and not an employee.

Dynamics CRM 4.0 does warn you of this fact while disabling a user (see screenshot below).

Disabling a User in Dynamics CRM 4.0

Unfortunately for my client, all of their workflow activity during the downtime could not be recovered, despite having finally re-enabled the workflows.  Again, as a Dynamics CRM Consultant, be sure to educate your clients of this fact.

Tags: , ,


"Data, looks like resistance to the Borg is futile to maximizing our sales pipeline."

Arguably, the most noticeable feature in the Dynamics CRM 2011 Beta is the new Dashboard functionality.  It brings to the table such a new level of easy and powerful customization that one could say Microsoft has truly “brought BI to the masses.”

What makes the Dynamics CRM 2011 Dashboards so special?  Let me count the ways:

  • Easily create a custom Dashboard on the fly by clicking the New button on the Outlook ribbon or from the web client.
  • Keep your custom dashboard for yourself, or share your creation with other colleagues on your team (similar in functionality to Views).
  • Easily add CRM Views to the Dashboard.
  • Drag in your own bar charts and line charts, add a sales funnel, or add a connected Bing Map so you can see the locations of the customers you’re visiting today.
  • Drill-down capability, so you can view individual records.
  • Use iFrames to provide a window to other Portals or internal/external websites.
  • Use the advanced tools in Dashboard customization to incorporate custom SSRS reports that display data from other systems.

These tools provide all the fodder that the imaginative user and developer will need to design useful Dashboards on-the-fly.

Dashboard Help Section

For those new to managing Dashboards, Microsoft provided a help section that is available upon your first login to Dynamics CRM 2011.  This section can be hidden permanently as soon as you feel you’re familiar with the tools.

Dynamics CRM 2011: Dashboards Help section

Dynamics CRM 2011: Dashboards Help section

Creating a New Dashboard in CRM 2011

Upon creation of a new Dashboard, CRM asks for your preferred layout format.  So far so good…

Dynamics CRM 2011: Dashboards Layout

Dynamics CRM 2011: Dashboards Layout

In the next Dashboard customization screen, we can add the following resource types:

  • Chart
  • List
  • Web Resource, which can consist of:
    • Web Page (HTML)
    • Style Sheet (CSS)
    • Script (JScript)
    • Data (XML)
    • Images (JPG, PNG, GIF, ICO)
    • Silverlight (XAP)
    • Style Sheet (XSL)
  • iFrame
Dynamics CRM 2011: Dashboards Toolbar

Dynamics CRM 2011: Dashboards Toolbar

In less than five minutes, I instantly built my sample Dashboard by:

See the screenshot of my creative (albeit questionably productive) Dashboard below.

Dynamics CRM 2011: My Sample Dashboard

Dynamics CRM 2011: My Sample Dashboard

While my sample Dashboard won’t win any productivity awards, it’s my own Dashboard to view, tweak and share with my colleagues.  My next step would be to try and incorporate Bing Maps imaginatively.

As always, the most important step is to take that initial dive, and imagine the possibilities!

You know your users want to push your buttons.

You know your users want to push your buttons.

Microsoft Dynamics CRM 4.0 is already user friendly and intuitive.  However, there will be times where you want to nudge the CRM users along the road to productivity by providing a nice shiny button that does what they want.  In this case I want to add a button to a custom entity form, where upon clicking would automatically pop open a new related record.  

 A couple potential  case examples off the top of my head:  

  • Button to create a new Phone Call activity, related to an open custom entity record.
  • Button to create a new Contact record, related to an open Account record.

Since the button can run JavaScript on demand, you can think outside the box and consider other unique scenarios and possibilities.  

See below for the general procedure to get this published.  I’ll try to make it quick and painless.  

Customize your ISV.config file  

All Dynamics CRM deployments include a default ISV Config file.  However, this default file is typically riddled with developer test examples that can clutter your CRM if you’re not mindful.  On the other hand, it may serve as a useful reference to see some customization possbilities.   

If you want a clean ISV Config file with the button I’m creating, I’ve provided a copy here to download.  It’s up to you! 

ISV-button-template.zip  

To export or back up your current ISV Config file:   

  1. Navigate to Settings > Customization > Export Customizations.
  2. Export the ISV file to your desktop or local drive.
Exporting your ISV Config file

Exporting your ISV Config file

  Use your favorite XML or text editor program to view and edit your ISV customization file.  I particularly like the free Microsoft XML Notepad 2007 and Notepad ++. The code you want to add will look something like the below, nested in the Entities section. 

      <Entities>
        <Entity name=”new_customentity”>
          <ToolBar ValidForCreate=”0″ ValidForUpdate=”1″>
            <ToolBarSpacer></ToolBarSpacer>
            <Button Icon=”/_imgs/ico_18_debug.gif” JavaScript=”locAddRelatedTo(10016);”>
              <Titles>
                <Title LCID=”1033″ Text=”Create a new related record” />
              </Titles>
              <ToolTips>
                <ToolTip LCID=”1033″ Text=”Create a new related record based on this open record.” />
              </ToolTips>
            </Button>
            <ToolBarSpacer />
          </ToolBar>
        </Entity>
      </Entities>
 

  In the above code, we: 

  • Referenced where we want this button with the Entity name value.
  • Made this button available only when a record is saved by disabling ValidForCreate and enabling ValidForUpdate.
  • Added a couple ToolBarSpacer spots for neatness.
  • Referenced a icon for it at the Button Icon value.  The debug icon works for me.
  • Added Title and ToolTip info to let the users know what it does.
  • Added a simple JavaScript line to create a new related record.

To make this JavaScript work for you, you’ll need to find out the related entity’s “Object Type Code”.  It’s really easy.  Simply browse to your CRM deployment’s Metadata Browser, which is typically at this URL format: 

http://{CRM_URL}/{Organization_Name}/sdk/list.aspx

Click on the related entity’s details, and you should see “Object Type Code” number.  Insert that number in the parenthesis for this JavaScript snippet:

locAddRelatedTo({Object_Type_Code})

Follow me here: the locAddRelatedTo function will let the button open a new related CRM record of the entity I specified with the Object Type Code.  Simple as that.

 Once you finished customizing your new ISV Config file, make sure you upload it back to your CRM deployment. 

Last Step!  Enable custom menus and toolbars

If you published your new ISV config file and you still don’t see the changes, this is the reason.

By default, CRM disables the custom menus and toolbars.  This means CRM will simply ignore whatever ISV Config file is out there.

To enable your custom button:  

  • Navigate to Settings > Administration> System Settings.
  • Click on the Customization tab.
  • Add the Clients where you want this customization to appear.  The choices?  Web, Outlook, and Outlook Offline.
Custom Menu Settings

Custom Menu Settings

  Thanks to Mitch Milam’s blog for pointing me in the right direction.  

Tags: , , ,

Should you update?  Magic 8 Ball: "Signs point to yes"

Should you update? "Signs point to yes"

First off, I apologize for not keeping this blog regularly updated.  Balancing projects and the holiday season tends to make one procrastinate.  :-)

After a quick scan of the list of fixes, it appears this release only adds stability improvements on top of what was Update Rollup 7′s big changes.  Update Rollup 7 is not a pre-requisite.  You can install UR8 on any server deployment of CRM 4.0 because it’s a cumulative update.  Easy!  However, you should make sure to to review the import and export customization file notes.

EDIT: The Outlook Client and Data Migration Manager both require Update Rollup 7 to be installed beforehand.

  • Download link for the Update Rollup 8 files
  • KB Article #975995: Update Rollup 8 for Microsoft Dynamics CRM 4.0 [microsoft.com]
  • List of hotfixes, updates and instructions
  • KB Article #975995: Update Rollup 8 for Microsoft Dynamics CRM 4.0 [microsoft.com]
  • Happy holidays!

    Tags: , ,

    View in: Mobile | Standard