#SummitNow Dynamic Data List Driven Constraints in Share November 14 th, 2013 Tony Parzgnat – Technology Services Group
#SummitNow Dynamic Data List Driven Constraints in Share November 14 th, 2013 Tony Parzgnat – Technology Services Group
#SummitNow Constraints Overview List constraints can be added to properties in the Alfresco content model. Form inputs in Share automatically become dropdown lists / select boxes. 3
#SummitNow Constraint Configuration 4 List Constraints configured in Alfresco content model XML files
#SummitNow Problem for Business Admins 5 “Why do I have to make an IT request to update the dropdown lists in my system?!?”
#SummitNow 6 Problems for IT Admins 6 “Why do I have to update XML files and restart the server to update dropdown lists?” “Why is the business admin screaming at me?”
#SummitNow Fixing the Problems “I sure wish that Alfresco had a user friendly interface for maintaining lists of data…” 7
#SummitNow Data Lists Do That! 8
#SummitNow Implementation Overview Extend the Data List content model to include a new list type for Value Assistance Lists Add Alfresco repository web script for retrieving values from the Data Lists as JSON Add Share UI form controls for dropdown lists and multi-select boxes 9
#SummitNow Implementation Overview Extend the Data List content model to include a new list type for Value Assistance Lists Alfresco repository web script for retrieving values from the Data Lists as JSON Share UI form controls for dropdown lists and multi-select boxes 10
#SummitNow Value Assistance Data List Type Same process as creating custom document or folder types New list types automatically appear in Share 11
#SummitNow Alfresco Repository Web Script Web script delivers list data to the Share UI on- demand in JSON form /alfresco/ service/tsgrp/va/picklist/ picklist?name=Colorhttp:// /alfresco/ service/tsgrp/va/picklist/ picklist?name=Color 12
#SummitNow Share Controls Behave just like Share selectone.ftl and selectmany.ftl controls Configure share-config.xml to point to the correct Data List (by name) 13
#SummitNow Share Controls Behave just like Share selectone.ftl and selectmany.ftl controls Configure share-config.xml to point to the correct Data List (by name) 14
#SummitNow Here is a line of text Here is another 15
#SummitNow Permissions and Security Data List security mimics the Document Library in Share Managers - View/Create/Edit/Delete Collaborators - View/Create/Edit Contributors - View/Create Consumers - View 16
#SummitNow Permissions and Security Recommendations Create a private “System Admin” site in Share Create all constraint Data Lists in this site Only provide site access to business and IT system admins 17
#SummitNow Installation/Setup Process 1.Install tsgrp-value-assistance.amp into Alfresco 2.Install tsgrp-value-assistance.amp into Share 3.Create Data Lists 4.Update share-config.xml so that properties with constraint lists use the dynamic controls 18
#SummitNow Dynamic Data List Driven Constraints in Share TSG Website - Tony Parzgnat - Ray Wijangco - 19
#SummitNow Dynamic Data List Driven Constraints in Share TSG Website - Tony Parzgnat - Ray Wijangco - 20