Skip to content
Plugin to enable outer join queries from Advanced Find
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
RYR.OuterJoin Enabled nuget package restore May 31, 2015
LICENSE Initial commit May 31, 2015
OuterJoin.png Added screenshot to illustrate the concept May 31, 2015
PluginRegistration.png Added screenshot from PluginReg tool May 31, 2015 grammar and minor corrections Jun 1, 2015

CRM2015 doesn't allow outer join queries through the UI. This plugin enabled you to do that. The plugin runs on pre-RetrieveMultiple and alter the query that gets sent to the pipeline, with the correct outer join conditions.

Basically the plugin enables you to do advanced find queries like this AdvancedFind

Without the plugin running in the background, you would normally get no records, for a query like the one above. The query above retrieves account that have child contacts, but don't have any opportunities.

This is how the plugin is registered PluginRegistration

The execution of this plugin is not restricted to just the Advanced Find. Basically, as you can see from the screenshot above, it runs for all RetrieveMultiple requests. If this is going to be performance issue for your CRM instance, you can update the RetrieveMultiple step with an entity, that requires this functionality. The code has to be modified slightly as well.

You can’t perform that action at this time.