cancel
Showing results for 
Search instead for 
Did you mean: 

date range selectors

glux
Champ in-the-making
Champ in-the-making
I have defined a new property with a date range type (d:date) to be used in the advanced search. 

The problem is that the displayed date range is: 1979-2008. How can I modify this range? … also is it possible to query just the year?

I found the list of property types here:
http://wiki.alfresco.com/wiki/Advanced_Search_Custom_Attributes
1 REPLY 1

gavinc
Champ in-the-making
Champ in-the-making
This would require some custom Java code at the moment.

For the Advanced Search you will need to modify org.alfresco.web.ui.repo.component.UISearchCustomProperties.generateControl().

For the property sheet you'll need to change org.alfresco.web.bean.generator.DatePickerGenerator, or better still override the DataPickerGenerator with your own using the component generator framework, see http://wiki.alfresco.com/wiki/Component_Generator_Framework for more details.

I will add this as something to make configurable for a future release.
Getting started

Tags


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.