Home

Aspects with combo and multi-select boxes

You are here

6 posts / 0 new
Last post
Aspects with combo and multi-select boxes

Is it possible to create an aspect that includes combo and multi-select boxes? Ideally the contents of these would be driven from a user-editable list of some sort.

Re: Aspects with combo and multi-select boxes

Hi Grauenwolf,

It is possible to create an aspect that has a property linked to a set of constraints (or your drop down list). But these are not editable by the user via any out of the box format.

The only way that you can let the user do this would be to upload the custom data model you've created that has the constraints for your drop down box into /Data Dictionary/Models, and let your users be able to download edit and upload a new version of the model. Then go to the Properties of the file and select Activate Model.

This would then bootstrap the new updated model with new updated list selections into Alfresco.

hope that makes sense.

Thanks,
Ben.

Re: Aspects with combo and multi-select boxes

Hi Ben,

You could also create a custom constraint list that retrieves the list of allowed values from a source doing a query (source could be Alfresco or external).

Have a look at how it could be implemented (it's pretty easy) in here.

For the multi-select boxes you just need to specify the property to be multivalued.

Regards,
Adei

Re: Aspects with combo and multi-select boxes

bengrah wrote:
Hi Grauenwolf,

It is possible to create an aspect that has a property linked to a set of constraints (or your drop down list). But these are not editable by the user via any out of the box format.

Can you point me to the documentation for the constraints?

Jonathan Allen

Re: Aspects with combo and multi-select boxes

amandaluniz_z wrote:

Have a look at how it could be implemented (it's pretty easy) in here.

Pardon me, it looks like you posted the wrong link.

Re: Aspects with combo and multi-select boxes

Sorry yes... wrong link...

It seems they archived or suspended the blog...

Hopefully google caches still keeps it. You can find it in this link

There was another one about cascading drop downs