tAlfrescoOutput Standard properties

Alfresco

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

These properties are used to configure tAlfrescoOutput running in the Standard Job framework.

The Standard tAlfrescoOutput component belongs to the Business family.

The component in this framework is available in all Talend products.

Basic settings

URL

Type in the URL to connect to the Alfresco Web application.

Login and Password

Type in the user authentication data to the Alfresco server.

To enter the password, click the [...] button next to the password field, and then in the pop-up dialog box enter the password between double quotes and click OK to save the settings.

Base

Type in the base path where to put the document, or

Select the Map... check box and then in the Column list, select the target location column.

Note: When you type in the base name, make sure to use the double backslash (\\) escape character.

Document Mode

Select in the list the mode you want to use for the created document.

Create only: creates a document if it does not exist.

Note that an error message will display if you try to create a document that already exists

Create or update: creates a document if it does not exist or updates the document if it exists.

Container Mode

Select in the list the mode you want to use for the destination folder in Alfresco.

Update only: updates a destination folder if the folder exists.

Note that an error message will display if you try to update a document that does not exist

Create or update: creates a destination folder if it does not exist or updates the destination folder if it exists.

Define Document Type

Click the three-dot button to display the tAlfrescoOutput editor. This editor enables you to:

- select the file where you defined the metadata according to which you want to save the document in Alfresco

-define the type f the document

-select any of the aspects in the available aspects list of the model file and click the plus button to add it in the list to the left.

Property Mapping

Displays the parameters you set in the tAlfrescoOutput editor and according to which the document will be created in the Alfresco server.

Note that in the Property Mapping area, you can modify any of the input schemas.

Schema and Edit schema

A schema is a row description. It defines the number of fields (columns) to Repository. When you create a Spark Job, avoid the reserved word line when naming the fields.

Click Edit schema to make changes to the schema. If the current schema is of the Repository type, three options are available:

  • View schema: choose this option to view the schema only.

  • Change to built-in property: choose this option to change the schema to Built-in for local changes.

  • Update repository connection: choose this option to change the schema stored in the repository and decide whether to propagate the changes to all the Jobs upon completion. If you just want to propagate the changes to the current Job, you can select No upon completion and choose this schema metadata again in the [Repository Content] window.

Result Log File Name

Browse to the file where you want to save any logs related to the Job execution.

Die on error

This check box is cleared by default, meaning to skip the row on error and to complete the process for error-free rows. If needed, you can retrieve the rows on error via a Row > Rejects link.

Advanced settings

Configure Target Location Container

Allows to configure the (by default) type of containers (folders)

Select this check box to display new fields where you can modify the container type to use your own created types based on the father/child model.

Configure Permissions

When selected, allows to manually configure access rights to containers and documents.

Select the Inherit Permissions check box to synchronize access rights between containers and documents.

Click the Plus button to add new lines to the Permissions list, then you can assign roles to user or group columns.

Encoding

Select the encoding type from the list or select Custom and define it manually. This field is compulsory.

Association Target Mapping

Allows to create new documents in Alfresco with associated links towards other documents already existing in Alfresco, to facilitate the navigation process for example.

To create associations:

  1. Open the tAlfresco editor.

  2. Click the Add button and select a model where you have already defined aspects that contain associations.

  3. Click the drop-down arrow at the top of the editor and select the corresponding document type.

  4. Click OK to close the editor and display the created association in the Association Target Mapping list.

tStatCatcher Statistics

Select this check box to gather the Job processing metadata at a Job level as well as at each component level.

Global Variables

Global Variables

NB_LINE: the number of rows read by an input component or transferred to an output component. This is an After variable and it returns an integer.

NB_LINE_REJECTED: the number of rows rejected. This is an After variable and it returns an integer.

ERROR_MESSAGE: the error message generated by the component when an error occurs. This is an After variable and it returns a string. This variable functions only if the Die on error check box is cleared, if the component has this check box.

A Flow variable functions during the execution of a component while an After variable functions after the execution of the component.

To fill up a field or expression with a variable, press Ctrl + Space to access the variable list and choose the variable to use from it.

For further information about variables, see Talend Studio User Guide.

Usage

Usage rule

Usually used as an output component. An input component is required.

Limitation/Prerequisites

To be able to use the tAlfrescoOutput component, few relevant resources need to be installed: check the Installation Procedure sub section below for more information.

Due to license incompatibility, one or more JARs required to use this component are not provided. You can install the missing JARs for this particular component by clicking the Install button on the Component tab view. You can also find out and add all missing JARs easily on the Modules tab in the Integration perspective of your studio. For details, see Installing external modules.