*This post is locked for comments
*This post is locked for comments
You can follow the below Video article , where it explained step by step process of how you can export a default solution programmatically, with simple and easy to follow guidance and scripts.
Export default solution in Dynamics 365 / CRM Programmatically
Hope this will help , mark this answer as Verified , if this helped you it will give others a confidence and get the right assistance at right time :)
Thanks, I'll try it, patiently!!
Instead of adding the component by add required components, add it manually i.e. for entities, click add existing and then add all the entities and then for optionset say add existing and then add all existing optionsets and so on....
You also need to change the view from customized to all.
I know its a lengthy process and I have done this couple of times. One good thing is that when you say add existing, the popup won't show you the records which are already added.
Thanks, Ravi. The problem is that as we add an entity, and click Add Required Components, because of the interdependencies, we are soon getting to dozens if not hundreds of elements that must be added. Eventually, we simply end up with what is, effectively, our default solution. There seems to be no way to add everything necessary, and even if we ignore the message we receive (as indicated in my original post), the solution export never actually completes.
The ideal approach is to create a new solution and all the components one by one. You do not want to add the managed components.
The missing dependencies your are getting, are all these for the 2 managed solutions?
If yes then you can import these managed solution on your target before importing the unamanaged solution. So even if you get missing dependencies error while exporting, it will import fine in the target (as you have already installed the managed 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... 291,280 Super User 2024 Season 2
Martin Dráb 230,214 Most Valuable Professional
nmaenpaa 101,156