Hi all
I'm currently working on a content model for my Alfresco instance. In this content model, I have a base document type, and multiple specific document types (e.g. report, test procedure, statement of work etc.) which are children of the base document type.
I am in the process of configuring the forms for the "edit properties" section in share, for these document types, and I am looking for a way to inherit the form configuration from my base document type, so that I only need to define it once in my share-config-custom.xml (as opposed to copying the same xml code over and over again). Is there a simple way to do this?
Thanks
Marcus
Solved! Go to Solution.
Unfortunately there is no way in default Alfresco to inherit form configurations from base type to special type. This is a restriction of the node-type evaluator. Technically one could develop a custom evaluator that supports this, but AFAIK no one has done that yet and provided it under anopen source license.
People tend to use aspect-based form configurations for re-usable form elements. This also works nicely with typical recommendations of using aspects for data modelling and applying them either to document types via mandatory aspects or individual nodes at runtime.
Unfortunately there is no way in default Alfresco to inherit form configurations from base type to special type. This is a restriction of the node-type evaluator. Technically one could develop a custom evaluator that supports this, but AFAIK no one has done that yet and provided it under anopen source license.
People tend to use aspect-based form configurations for re-usable form elements. This also works nicely with typical recommendations of using aspects for data modelling and applying them either to document types via mandatory aspects or individual nodes at runtime.
Hi Axel
Thanks for your answer. I was wondering if you have a link/example regarding aspect-based form configurations? I have not been able to find any references online so far
The default Share form configurations contain examples of defining aspect-specific forms.
Perfect, got it working now, thank you!
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.