On 10.10.2012, at 06:16, Dimitar Dimitrov <[email protected]> wrote:

> 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.

I think you are overusing node types here. For something like UI elements that 
will evolve a lot, I would not use a fixed schema in the repository. Rather use 
a few generic types like "widget"/"component" etc. but keep them unstructured.

Because I see that your next question will be "how to change existing node 
types on the fly" ;-)

Cheers,
Alex

Reply via email to