Quantcast
Channel: Forum CRM Development
Viewing all articles
Browse latest Browse all 1000

Why is localContext.ServiceProvider null

$
0
0

I have created a plugin in 2011 using  the SDK Development Kit Plugin project and the CRM Package project to deploy the plugins.

The Plugin project, when one creates a plugin via the CRM Explorer, creates a class that inherits from Plugin.CS

In the class is a method created OOTB

protected void ExecuteMyPlugin(LocalPluginContext localContext)
But when I try to access localContext.ServiceProvider the ServiceProvider object is always null

Why is this?


Maz



Viewing all articles
Browse latest Browse all 1000

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>