Skip to content

NarendraMagare/SolutionDeployerAddin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

SolutionDeployer

Useful for developers and admins. It helps user to list all unmanaged solutions from given source environment. User can select one solution and deploy it to target environment. This tool will take care export and import process, if there are any missing dependencies at target environment, this tool will show list of missing components. User can select a missing component and click on Resolve Dependency.

Refer Planned for future section for upcomging features

NOTE

  1. Current version of the tool supports resolution of attribute type of components(missing dependency) only.
  2. Support for other components is planned in coming releases.
  3. Deployes unmanaged version of solution.

User Guide

  1. Open Solution Deployer addin.

    image

  2. This will ask for source environment connection. Connect to source organization

    SourceConnection

  3. Click 'Connect Target' buttong for target environment connection.

    image

  4. Target environment name will be displayed upon successfull connection

    image

  5. Click 'Load Source Solutions' to show list of solutions from source environment.

    image

    image

  6. From list of source solutions, select a solution to be deployed to target environment and click 'Deploy Selected Solutin to Target'.

    image

  7. This will initiate deployment of selected solution to target environment.

  8. If the solution is imported succesfully, below message will be shown. Please publish solution manually (auto publishing is planned for coming releases)

    image

Component Resolution

  1. If there are any dependency errors while importing solution, those errors will be listed in 'Dependencies' grid

    image

    This grid shows details about Required Component (RC) and component which is dependent on it(DC).

    • Required Components. Columns having header text prefixed with RC_ show information about required component.

      image

    • Dependent Component. Columns having header text prefixed with DC_ show information about dependent component.

      image

    • To resolve component dependency, click on checkbox in Select column (First column)

      image

    • Also note Resolved column value ( Last column) for selected row. Resolved flag indicates if the component is successfully resolved or not.

      image

    • After component is selected, click 'Resolve Selected Dependency at Source' button. This will initiate component resolution

    • Post completion of the operation, check 'Resolved' flag for the row. This flag turns True if component is successfuly resolved at source solution.

      image

    • Initiate Solution deployment process again by Loading solution and deploy it ( refer step 7 above).

Settings file

Tool maintains settings file "SolutionDeployer.xml" typically located at "AppData\Roaming\MscrmTools\XrmToolBox\Settings". Currently file contains list of solutions to be restricted the movement from one environment to another. Additional solutions can be added to this list as needed.

image

Limitations

Few dependency errors such as below cant be automate currently. Those should be resolved manually at source. Few dependencies are

image

Error importing solution The entity relationship role of the referencing entity is required when creating a new one-to-many entity relationship new_FileAttachment_Account_sdp_test9.

Planned for future

  1. Support for export as managed solution and versioning.
  2. Support for additional component types.
  3. Support for filtering rows based on component type in Dependency grid.
  4. Support for multiple solution deployments.
  5. Option to opt for automatically publishing solution after importing it to target.
  6. UI improvements

for further details Check Project or contact jsgenerate7@gmail.com

About

SolutionDeplorer addin project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors