Useful information for advanced use

Alfresco

author
Talend Documentation Team
EnrichVersion
6.5
EnrichProdName
Talend MDM Platform
Talend Open Studio for MDM
Talend Data Management Platform
Talend Big Data Platform
Talend Real-Time Big Data Platform
Talend ESB
Talend Open Studio for Big Data
Talend Data Integration
Talend Big Data
Talend Open Studio for ESB
Talend Data Services Platform
Talend Data Fabric
Talend Open Studio for Data Integration
task
Data Quality and Preparation > Third-party systems > Business applications > Alfresco components
Data Governance > Third-party systems > Business applications > Alfresco components
Design and Development > Third-party systems > Business applications > Alfresco components
EnrichPlatform
Talend Studio

Installing new types for Alfresco:

From the package_jeu_test.zip and in the package_jeu_test/fichiers_conf_alfresco2.1 folder, look for the following files: xml H76ModelCustom.xml (description of the model), web-client-config-custom.xml (web interface of the model), and custom-model-context.xml (registration of the new model) and paste them in the following folder: C:/alfresco/tomcat/shared/classes/alfresco/extension

Dates:

  • The dates must be of the Talend date type java.util.Date.

  • Columns without either mapping or default values, for example of the type Date, are written as empty strings.

  • Solution: delete all columns without mapping or default values. Note that any modification of the type Alfresco will put them back.

Content:

  • Do not mix up between the file path which content you want to create in Alfresco and its target location in Alfresco.

  • Provide a URL! It can target various protocols, among which are file, HTTP and so on.

  • For URLs referring to files on the file system, precede them by "file:" for Windows used locally, and by "file://" for Windows on a network (which accepts as well "file: \ \") or for Linux.

  • Do not double the backslash in the target base path (automatic escape), unless you type in the path in the basic settings of the tAlfrescoOutput component, or doing concatenation in the tMap editor for example.

Multiple properties or associations:

  • It is possible to create only one association by document if it is mapped to a string value, or one or more associations by document if it is mapped to a list value (object).

  • You can empty an association by mapping it to an empty list, which you can create, for example, by using new java.util.ArrayList()in the tMap component.

However, it is impossible to delete an association.

Building List(object)with tAggregate:

  • define the table of the relation n-n in a file, containing a name line for example (included in the input rows), and a category line (that can be defined with its mapping in a third file).

  • group by: input name, output name.

  • operation: output categoryList, function list(object), input category. ATTENTION list (object) and non simple list.

- References (documents and folders):

  • References are created by mapping one or more existing reference nodes (xpath or namepath) using String type or List(object).

  • An error in the association or the property of the reference type does not prevent the creation of the node that holds the reference.

  • Properties of the reference type are created in the Basic Settings view.

  • Associations are created in the Advanced Settings view.