rappen / PluginTraceViewer

Investigate the Microsoft Dataverse Plugin Trace Log with easy filtering and display possibilities
https://JonasR.app/PTV
GNU General Public License v3.0
12 stars 5 forks source link

Check CRM version before loading plugin #3

Closed shytikov closed 8 years ago

shytikov commented 8 years ago

This plugin is not valid for older versions of CRM. Prior to 2015 OnLine, I guess.

For example, when I'm connecting to CRM 2013 I'm getting following exception, that actually makes sense for me as a developer, but looks too techy for normal user:

---------------------------
Load
---------------------------
Failed to load date constraints:
The entity with a name = 'plugintracelog' was not found in the MetadataCache.
---------------------------
OK   
---------------------------

It's possible to dismiss that message and see plugin. Which will be completely unusable.

I think it would be better to inform user right away, that organization he tries to connect is not supported, since required entities are missing.