Hi All, Can we package some specific i18n values(jcr:mixinTypes -sling:Message) and install it in another instance? | Community
Skip to main content
Sunil_Chowdhary
Level 2
October 16, 2015
Solved

Hi All, Can we package some specific i18n values(jcr:mixinTypes -sling:Message) and install it in another instance?

  • October 16, 2015
  • 2 replies
  • 791 views

Requirement: The easiest possible way to add specific i18n values in an instance from another instance, without disturbing existing ones.

Solution attempted:
Created package, selecting specific required keys using CRX package manager.
Installing the package in another instance do not adds the required node.
While doing "Test Install" from package manager getting following:
 

Dry Run: Skipping node types installation (might lead to errors). 

Any idea on how to achieve this. Any help will be highly appreciated.

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Yogesh_Upadhyay

You can use merge mode to install.

1) Create package based on Xpath (In case content is different and you just want I18n value) http://www.wemblog.com/2011/11/how-to-create-package-based-on-xpath-in.html

2) Then use merge behavior for package. This will make sure that existing is not changed. http://www.wemblog.com/2012/04/how-to-change-package-install-behavior.html

 

Yogesh

2 replies

Yogesh_Upadhyay
Yogesh_UpadhyayAccepted solution
Level 6
October 16, 2015

You can use merge mode to install.

1) Create package based on Xpath (In case content is different and you just want I18n value) http://www.wemblog.com/2011/11/how-to-create-package-based-on-xpath-in.html

2) Then use merge behavior for package. This will make sure that existing is not changed. http://www.wemblog.com/2012/04/how-to-change-package-install-behavior.html

 

Yogesh

Sham_HC
Level 10
October 16, 2015

You should also have stacktrace after the "Dry Run: Skipping node types installation (might lead to errors)"

Can you post the same also.