08-08-2012 07:01 AM
Hi
I have created through a custom plugin an extra directory (actually a specific Directory implementation, not an SQL Directory or LDAP Directory). This actually maps to the xvocabulary schema - the point is to be able to tag documents in Nuxeo with items from another datasource.
This works fine and dandy until I want to configure the form in Studio. There is no "Extra directory" registry, so I can't inform Studio that my directory exists… and so, I can't use my directory in my layouts.
Right now the only way I can see of doing what I want is to override the Studio-created layout with extra XML configuration for my layout, which kind of voids the point of using Studio in the first place.
Am I missing something?
Thanks
08-08-2012 10:18 AM
Hi,
Yes a registry for directories would be a good thing.
In the mean time here's a trick (works with any widget property): put your mouse over the property label, and you should see the property id (in case of vocabulary widgets "directoryName").
Then in the "custom properties" part at the end of the widget configuration, add a property with this key, and your directory name as value.
Save then reopen the popup => it'll be like you selected it from available directories.
The "custom properties" part is usually useful when you'd like to use EL expressions, or when using a widget of type "template" where properties are not declared to be defined in the form.
Hope this helps!
08-08-2012 10:18 AM
Hi,
Yes a registry for directories would be a good thing.
In the mean time here's a trick (works with any widget property): put your mouse over the property label, and you should see the property id (in case of vocabulary widgets "directoryName").
Then in the "custom properties" part at the end of the widget configuration, add a property with this key, and your directory name as value.
Save then reopen the popup => it'll be like you selected it from available directories.
The "custom properties" part is usually useful when you'd like to use EL expressions, or when using a widget of type "template" where properties are not declared to be defined in the form.
Hope this helps!
08-08-2012 10:20 AM
Ha! Yes, should have thought of that, I've been using a lot of template-type widgets.
08-08-2012 10:25 AM
i just noticed that the selected vocabulary is not displayed correctly (but it is correctly saved), i'll fix it, see [NXS-1173][1]
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.