This session will cover the use of Forms in Share and demonstrate how to configure and customize them for your applications and data models. A working example will be used to show how to define forms for custom types, how out of the box form controls can be configured and how new custom controls can be plugged-in. We’ll also discuss the various extension hook points the Forms Service provides.
28. Form Processors!
• Pluggable Form Processors
• Driven by “itemKind”!
• Provide implementation to generate and persist form!
• OOTB Form Processors!
• Node, Type, Workflow, Task, Action & JMX!
• Form Filter
• Allows pre and post processing of fields!
29. NodeLocatorService (picker startLocation)!
• Returns a NodeRef
• Implement NodeLocator Interface
• NodeRef getNode(NodeRef, Map<String, Serializable>);!
• Specify ID for “startLocation” param value!
• REST API
• /api/workspace/SpacesStore/…/nodelocator/ancestor?type=xyz !
• https://wiki.alfresco.com/wiki/NodeLocatorService
31. Whatʼs New in 4.0!
• JMX Form Processor
• Action Form Processor
• Association Control
• Customizable startLocation !
• rootNode option (stops navigation beyond node)!
• Category Control
• Root node configurable!
• Include sub categories option (for search)!
32. Demo!
• Custom Type
• Custom Control
• Advanced Search
• FDK Unit Test Page
• startLocation!
34. Tips!
• Forms Development Kit (FDK)
• Form Console (/<app>/page/form-console)!
• Unit Test Page (/<app>/page/fdk-unit-tests)!
• Debug control & template (dumps model)!
• Cntrl, Cntrl, Shift, Shift