Posts

Showing posts from September, 2017

Root objects

The JavaScript API provides a number of root objects which are available from your JavaScript code. The root objects available to your JavaScript code will depend on the context in which the code is invoked. Different contexts will have access to a different set of root objects. There are several contexts to be considered: Web scripts Surf Rules/actions Workflow Explorer Root objects that expose ScriptNode objects companyhome document person roothome script space userhome Root objects also available in web scripts args argsM headers session url Root objects that expose additional APIs (frequently used) actions activities cmis cmisServer people search logger jsonUtils session paging imap workflow Root Objects that expose services actionTrackingService atom commentService groups preferenceService renditionService replicationService siteService transfer

Out-of-the-box Models

The content repository comprises several content models out of the box for specifying the core content types of an ECM system DictionaryModel.xml  -  provides definitions for the fundamental data types, such as d:text and d:boolean. It exposes the namespace URI www.alfresco.org/model/dictionary/1.0 with prefix d. Data-Types are : d:text java.lang.String d:mltext           org.alfresco.service.cmr.respository.MLText  -  possible for one node add multiple language d:int           java.lang.Integer d:long java.lang.Long d:float java.lang.Float d:qname org.alfresco.service.namespace.QName d:date java.util.Date d:datetime  java.util.Date d:path org.alfresco.service.cmr.repository.Path d:noderef org.alfresco.service.cmr.repository.NodeRef d:any java.lang.Object d:version org.alfresco.utill.VersionNumber d:period           org.alfresco.service.cmr.repository.Period System model  - ( systemModel .xml) provides definitions fo