Custom Record Category and Folder
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2015 02:41 PM
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?
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?
Labels:
- Labels:
-
Archive
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2015 02:25 AM
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.
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.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2015 02:03 AM
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
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
