So we are overriding the importer in orchard in our driver and its not getting called. Remember the id attribute in your xml. We have organisations and our xml looked like :
<Orchard>
<Data>
<Organisation>
<OrganisationPart Code="XXX" Name="YYY" ProviderId="1" Enabled="1" />
</Organisation>
</Data>
</Orchard>
So add the id attribute in the organisation wrapper like so :
<Orchard>
<Data>
<Organisation Id="">
<OrganisationPart Code="XXX" Name="YYY" ProviderId="1" Enabled="1" />
</Organisation>
</Data>
</Orchard>
and the driver.importing gets called and i'm happy !
No comments:
Post a Comment