web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

SolutionPackager modify extracted solution

(0) ShareShare
ReportReport
Posted on by

Hello,

I saved a solution from our old test environment I'm not able to import due to missing dependencies.

I tried to add the dependencies, however it didn't work.

So I searched for help in this forum and found a tutorial how to extract the solution via the SolutionPackager. This worked fine I guess. Right now I have a zip file with the folders "Entities. Workflows, Other". and for example all my entities in a single subfolder each. 

Is it possible to modify these folders/files to use only some of the entities to create a new solution? For example only use 2 of 5 Entities where are no dependencies linked.

In this way I might use some of the data, that is already here.

I appreciate all kind of tips.

Thanks  

I have the same question (0)
  • Daniel Neudert Profile Picture
    on at
    RE: SolutionPackager modify extracted solution

    Hello SamyB,

    please note, to extract a simple solution, you don't need the SolutionPackager. You can extract the ZIP solution file with any Archiving application, which supports ZIP files.

    Within the extracted files, you will find the necessary customization.xml file, which contains all the description about the components and metadata, within your solution.

    Within the "solution.xml" file, you will find the details about the dependent components and the dependencies, which are mandatory to import the solution at an target environment.

    The files you can open with any advanced Text editor, like "Notepad++" or any XML editor.

    For working with the solutions, and the supported customization within these files, please have a look at the following part of the documentation:

    - See section "Solution File": docs.microsoft.com/.../supported-extensions

    - docs.microsoft.com/.../introduction-solutions

    To further understand your unexpected behavior, can you please share following details, please?

    > is this a "Mangaged" or "Unmanaged" solution, you are trying to import?

    > What CRM version you exported the solution and what Version is the target environment?

    > What missing dependencies the solution import is complaining about? (screenshot?) What are the Solutions, mentioned within the table for the missing components? Did you installed all the related Addons/Solutions? (for example Field Service, Sales Hub..)

    > Are the missing components, at the import error, just custom components of your environment, or also Out-of-the-box or third-party components?

    > If these are custom components, were these components already created by another managed solution (does it have the same publisher?), or were these components manually created at the target?

    In my opinion, instead of using the solutionPackager, trying to modify and remove entities (which could be important and mandatory related for your other components inside the solution), is to identify the cause for the missing components, and re-introduce them the expected way to fix.

    But more information about the SolutionPackager itself, you can find at the documentation at the following URL:

    - docs.microsoft.com/.../compress-extract-solution-file-solutionpackager

    Thank you very much and have a nice day

  • Suggested answer
    Roma Gupta Profile Picture
    725 on at
    RE: SolutionPackager modify extracted solution

    Hi SamyB

    Yes possible but you would have to take care of its dependencies as well. Suggestion would be to use your old test environment if its still accessible.

    Otherwise, import this full solution in an environment & then export solutions as required. This would make sure all dependent components are intact & would also save time & effort.

    Hope this helps.

    Regards

    Roma

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 83 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 57 Most Valuable Professional

#3
Tom_Gioielli Profile Picture

Tom_Gioielli 52 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans