Hi, Am 10.10.2012 um 06:16 schrieb Dimitar Dimitrov:
> Hi guys. > I am trying to import new node type definition by CND on a fly. > We develop a Adobe Flex based interface which can build CND by > hierarchical UI and I want to import this new node type into the JCR > repository. > For now when I want to import new node type definition I make a new OSGI > Sling bundle and import the schema into it. > Is there another way to importing the newly generated CND into the > repository and start using it immediately. Internally Sling uses the Jackrabbit CndImporter, which you may use. Alternatively you may also use the Sling NodeTypeLoader helper class from the Sling JCR Base bundle. Regards Felix
