Importing a managed solution failed because there are required fields that CRM 2013 thinks is not in the target system nor in the solution itself.
However I can see those fields in both existng other managed solution as well as on the default solution. So no doubt the fields are definitly there in the target system. So have no idea why the importing of the managed solution had failed.
The managed solution has 2 plug-ins with some SDK messages steps pre Image which referencing those fields mentioned above.
One thing I though I might have messed up initially is the managed solution say solutionA.zip was already in the target org, before I imported the updated version of the solutionA.zip I have deleted the existing version solutionA.zip from the target org. After I hit the above error, I have now re imported the original solutionA.zip as managed again, all that was fine as expected. As only the update version of SolutionA.zip has those SDK message step pre image using those fields, not the original solutionA.zip.
Tried to re-import the update version of SolutionA.zip again, no luck still get the failure on those same fields.
Any ideas or suggestions?
many thanks in adv
*This post is locked for comments
Thanks guys for replying.
I decided to try on a new environment and it works. Everything works fine on the new environment. I have no idea why. Maybe there's a bug when importing the solution.
Cheers,
Khoa Nguyen
Turned out to be the publisher name!
So the publisher name of the managed solution holding plugin assemblies which has steps which references fields is differenct from the managed solution which actually has those Entity Fields in the target org.
After change the publisher name to match the solution where those Entity fields are held, then import the plugin solution again, all worked fine.
Managed solutions are installed on top of the system solution and can modify any customizable solution components or add more solution components.
Managed solutions can also be layered on top of other managed solutions. As long as a managed solution enables customization of its solution components, other managed solutions can be installed on top of it and modify any customizable solution components that it provides.
So when you push new updates to the same entity in new managed soluton system will add those updates to the existing entity customization
You can find detailed information on how solution is manged in the crm in belwo url
Chitra,
Thanks.
A bit further details, what I have found was in the original version solution which I initially deleted and re-imported to the target org does have preImages which requires those entity fields as well. However that one got imported no problem, eventhough it didn't include those entities in the manage solution. After another look at the unmanaged solution from the source org, I found that the updated version has a second plugin of which its isolation mode is set to "Sandbox" where initial version of the solution only has one plugin with Isolation Mode set to None. I wonder if this is the reason that the original solution imported successfully where updated one has those issues? What do you think
further to that, assume I include those entities as part of the managed solutionA and Import it into the Target Org.
Say if we then need to import an updated version of managed SolutionB (which is sitting beneath SolutionA and contains those entities which is now also included in SolutionA), what will happen to those Entities on any updates within SolutionB?
Cheers
Thats correct. You have include those entities as part of your managed solution.
Hey Chitrarasan,
Hi are you saying even if those entities already exists in the target org, and have those fields already. I still need to include the entities in the solution before importing it?
Include the entities that are referenced in the Plugin step in the solution and try to import.
Say if you have plugin step registered for account onCreate message include account entity in the solution.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,818 Super User 2024 Season 2
Martin Dráb 229,147 Most Valuable Professional
nmaenpaa 101,156