How to Modify the Year Range in the Content Services UI Page Drop-downs

1. Go to adobe-contentservices.ear\contentservices.war\WEB-INF

2. Open faces-config-custom.xml

3. Copy paste the following in the file

<managed-bean>
      <description>
         Bean that generates a date picker component
      </description>
      <managed-bean-name>DatePickerGenerator</managed-bean-name>
      <managed-bean-class>org.alfresco.web.bean.generator.DatePickerGenerator</managed-bean-class>
      <managed-bean-scope>request</managed-bean-scope>
      <managed-property>
         <property-name>startYear</property-name>
         <value>2020</value>
      </managed-property>
      <managed-property>
         <property-name>yearCount</property-name>
         <value>60</value>
      </managed-property>
      <managed-property>
         <property-name>initialiseIfNull</property-name>
         <value>false</value>
      </managed-property>
   </managed-bean>

It should give you a default range of 60 years (1961-2020) across all calendar components.
 

 

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 0.0/10 (0 votes cast)

About Ameeth Palla

Ameeth Palla is a Technical Account Manager for the Adobe Digital Enterprise Platform team. Previously he was in the role of a Technical Expert for LiveCycle for the the Technical Response Team (what is now the Sr.Support Architect role). In both roles, Ameeth handled several technical issues for various customers and worked closely to aid with Sales POC's, Development/Implementation and Manitenance of LiveCycle/ADEP Projects. In the current role he handles several high profile customer accounts and provides guidance in all aspects of LiveCycle/ADEP. Also he is a Certified LiveCycle ES2.5 Process Management Expert. He was nominated for the 'Adobe Founders Award' and the 'Excellence Matters' award for LiveCycle/ADEP BU.
This entry was posted in Adobe LiveCycle ES, Adobe LiveCycle ES2 (9.0.x), General Interest and tagged . Bookmark the permalink.

Comments are closed.