cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Record Category and Folder

anotheralfresco
Champ in-the-making
Champ in-the-making
I have a need to create a custom Record Category and Custom Folder. I was able to followed Mr. Wetherall's example to create the custom file plan. However, I am not able to create a custom record category or folder. Every time that I clicked on the "New Category" or "New Folder", the rma:recordcategory/rma:recordFolder is created. Is there away to customize this?
What I want is that if, I am using my custom compliant type, I want everything in the site to be customized, i.e: category, folder, records…etc.
Is that possible?
2 REPLIES 2

rwetherall
Confirmed Champ
Confirmed Champ
It is not easily achieved, but it is possible.

What's needed is a record category/folder factory .. that creates the appropriate sub-types of record category and record folder based on the current context (likely what type of file plan we are working in).

I would suggest looking at the implementation of FilePlanService.  This could be extended with the appropriate factory methods to cross reference the file plan type.

Another complication is that most of the record folders and categories are created via the forms API .. it may be that you will need to add custom forms for your own types and properties.

katnam21
Champ in-the-making
Champ in-the-making
hi Roy,

i have added a custom date property to rma:recordfolder but when i editing that property through Edit Metadata page i am getting belwo expection.
Caused by: java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.util.Date
   at org.alfresco.module.org_alfresco_module_rm.disposition.property.DispositionProperty$1.doWork(DispositionProperty.java:199)
   at org.alfresco.module.org_alfresco_module_rm.disposition.property.DispositionProperty$1.doWork(DispositionProperty.java:195)
   at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:548)

may i know how can i update the same

Regrads,
Katnam
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.