Search This Blog

Loading...

Tuesday, April 15, 2014

New XrmToolBox plugin : Synchronous events execution order editor

Last week, I receive a request from Rob Boyers that was asking for a tool that can help him to order execution order of synchronous events, plugin steps and workflows.

Indeed, in Dynamics CRM 2013, you can set the “rank” property of a plugin step to define its execution order among other steps in the same message and stage, using the PluginRegistrationTool. Unfortunately, there is no such way to edit the “rank” property of a synchronous workflow in a UI.

So, here is the “Synchronous events execution order editor”, a new XrmToolBox plugin

image

It works only with CRM 2013 and loads all synchronous plugin steps and workflows and group them by Entity, Message and Stage. When selecting a stage, you can see all events registered and you can update the rank value.

Then, just click on the button “Apply update(s)” to update events on the organization. Just a note: for synchronous workflows that are activated, they will be deactivated, updated then activated back.

As usual, the XrmToolBox and its plugins are available on CodePlex

Wednesday, March 12, 2014

XrmToolBox : Donate and get rid of the sponsor screen

You may have noticed that latest releases of XrmToolBox embed a sponsor screen that is displayed once a week. This sponsor screen is here to remind you to support my work, by rating the tool on CodePlex or by making a donation.

As a reminder, the screen looks like this:

image

If you want to get rid of this screen, you must make a donation. When I get a donation, I send the donor a license file that removes the screen and adds a message of thanks on the start screen, see below. The message may include your name and your company name if you want.

image

You can also be listed as a XrmToolBox sponsor on the Donators list on this blog.

If you're wondering what to serve me money from your donations, my goal is to buy a Surface 2 Pro for a true mobile computer and to continue to develop XrmToolBox anywhere! So you know what you have to do Sourire

Tuesday, March 4, 2014

XrmToolBox continues to grow

I just released a new version of my toolbox with two new “features”:

  • A new tool developed by my colleague Damien (DamSim) that will allow you to copy a view from one organization to an other. This is the View Transfer Tool.

image

  • A new way to manage your connections. Some users reported that it was difficult to find where to manage connections. You have now the possibility to display connections list by clicking the button “Manage connections” in the toolbar of the toolbox. This will display the list of connections and let you create, update or delete connections.

image

  • You can also notice that this list exposes the version of the organization. it will help you determine which rollup is installed on your organizations. This number is updated each time you connect to the organization.

This updates is obviously available on CodePlex

Moreover, I’m pretty excited because I have been in touch with a developer from a well known Microsoft Dynamics CRM partner that should release a bunch of plugins for the XrmToolBox in the coming weeks. I can’t wait to see them in action, and see the XrmToolBox project growing up

Tuesday, February 18, 2014

Storing custom configuration settings in Microsoft Dynamics CRM

Since some years, I’m using two custom entities to store some parameters used in JavaScript, Plugins and Custom Workflow Activities. As I have been asked to share them with the community, I’m doing it today?

I have created a managed solution that contains these two entities:

  • Parameters Category : Used to define parameters groups
  • Category : This is the main entity that stores the parameter with the following attributes:
    • Name : This is a display name that can be changed anytime
    • Logical name : This is a name editable only during creation
    • Category : To indicate in which group of parameters the parameter belongs
    • Description : no need of explanation here
    • Value type : define the type of value
    • Value : depending of the type, the appropriate control is displayed. When saving the value is also copied to a global text attribute named “global value”

This way, I can store typed parameters for multiple usages:

  • Storing counter current value
  • Storing url of an external application
  • Storing a date of a last execution of any process
  • Setting a debug flag to display additionnal information in some process
  • etc.

Here is a screenshot of the form

image

The solution supports French and English languages and is compatible with Microsoft Dynamics CRM 2011 and 2013.

As usual here, the solution is available on CodePlex

Tuesday, February 11, 2014

Change the default dashboard in Dynamics CRM 2013 with XrmToolBox SiteMap Editor plugin

I updated the SiteMapEditor to allows you to change the default dashboard that is displayed when navigating to a Dashboard SubArea in Dynamics CRM 2013.

SiteMapDashboardCapability

To do so, follow this procedure:

  1. Connect the XrmToolBox to your organization
  2. Open SiteMapEditor plugin
  3. Load the SiteMap
  4. Navigate to an area that is a dashboard page
  5. Click on the “Browse” (…) button in the details panel (Default Dashboard Id)
  6. Select the dashboard that should be displayed when navigating to this SubArea
  7. Save the SubArea item
  8. Update the SiteMap

Please note that this feature is only available in Dynamics CRM 2013 and Dynamics CRM Online Fall '13 Service Update. If you try to use this feature in CRM 2011, you will get the following error:

image

New XrmToolBox plugin! Assembly Recovery Tool

This XrmToolBox is really a small one that is just an update of one of my CRM 4.0 tools. It allows to export .Net assemblies stored in CRM database (plugins and custom workflow activities).

It eases the extraction of these assemblies instead of creating a solution to export them.

AssemblyRecoveryTool

New XrmToolBox plugin! Form Libraries Manager

Last month, I had to work on some JavaScript web resources cleaning and I wanted to rename all my web resources. This is not so complicated when using the Web Resources Manager plugin to drag and drop JavaScript files to some new folders.

The difficult part was to update all forms that used some shared web resources like JSON2, jQuery and XrmServiceToolkit. So, I decided to write… a plugin for the XrmToolBox.

So, let me introduce the Form Libraries Manager

FormLibraryManager

This plugin can list all JavaScript web resources and all forms (only active forms for CRM 2013). You can select web resources to add and forms where to add them. If multiple web resources are selected, you can order them and choose where to display them : at the beginning of the scripts list for forms or at the end. I’m sure this will help people to initialize all their forms with required web resources.

It can also remove in bulk selected libraries. For each selected library, if it is used by a form event, a warning is display to ask you if the library and the event(s) should be removed.

As usual, the tool is available as part of the XrmToolBox project, on CodePlex