Aspects Support in OWD

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2012 03:22 AM
I read that OWD supports Alfresco Aspects, but I don´t know
what the capabilities exposed for aspects are?
Is there a way to enable/disable OWD plugins based on aspects applied to an object for example?
Thanks
Chris
what the capabilities exposed for aspects are?
Is there a way to enable/disable OWD plugins based on aspects applied to an object for example?
Thanks
Chris
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2012 03:42 AM
:!: Aspects are an Alfresco extension and not part of the CMIS standard.
Support of Alfresco Aspects in OWD is limited, as only mandatory Aspects and
corresponding properties are supported. Furthermore Aspects cannot be applied
during object creation or during editing of properties.
There is no OOTB way to enable/disable plugins for specific aspects or
properties. To achieve this handling you would have to overwrite the isEnabled
method of any plugin you want to enable/disable for properties only. You would
have to introduce a plugin parameter like for example <isEnabledProperties>
where you can add a list of properties, for which the plugin should be enabled.
In the isEnabled method you would then have to check for the properties of the
current object and compare them to this list to determine if the plugin shall
be enabled for the current object.
Support of Alfresco Aspects in OWD is limited, as only mandatory Aspects and
corresponding properties are supported. Furthermore Aspects cannot be applied
during object creation or during editing of properties.
There is no OOTB way to enable/disable plugins for specific aspects or
properties. To achieve this handling you would have to overwrite the isEnabled
method of any plugin you want to enable/disable for properties only. You would
have to introduce a plugin parameter like for example <isEnabledProperties>
where you can add a list of properties, for which the plugin should be enabled.
In the isEnabled method you would then have to check for the properties of the
current object and compare them to this list to determine if the plugin shall
be enabled for the current object.
