I'm attempting to use the package deployer to link together a couple of solutions and some data.
During the import I need to run some code that contains the organisation's guid. But I can't find a way of accessing it.
In a plugin I would use the following:
public void Execute(IServiceProvider serviceProvider) { IPluginExecutionContext context = (IPluginExecutionContext)serviceProvider.GetService(typeof(IPluginExecutionContext)); Guid _id = context.OrganizationId; }
How do I do this in the package deployer, in BeforeImportStage() if it makes any difference