InterPlay 2.3.0 User Guide Specify global settings Importers To specify global settings Importers: Create an Importer and complete its properties. See Properties Add arguments and complete arguments details. See Arguments Add function calls and complete function calls details. See Function calls Properties Field Type / Max. length Contents Name String / 80 Importer name Description String / 250 Importer description Datasource String / 30 Datasource used to describe the structure of the imported file. When empty, the structure will be identified using the header of the file. Object Type name String / 80 Name of the Object Type on which the importer will be used. Object Type version Integer/ 4 Name of the Object Type on which the importer will be used. Reader type String / 30 Type of the reader. Possible values: CSV XML Reader name String / 30 Name of the reader that depends on the reader type. Readers are registered as InterPlay services. For more information, refer to Exit and Service registration. Date format String /25 Default date format used in the imported files. Date Time format String / 30 Default date time format used in the imported files. Separator String / 1 Character used to separate the values in the imported files. Encoder String / 15 The encoding of the imported files. Possible values: UTF-8 UTF-16 ISO-8859-1 ISO-8859-2 ISO-8859-11 ISO-8859-15 Header / Comment String / 1 Value to specify if the imported file contains header and/or comment lines. Possible values: Comment only: the file contains only the comment line provided as the first line of the file Header + Comment: the file contains both the header line provided as the first line of the file and the comment line provided as the second line of the file Header only: the file contains only the header line provided as the first line of the file None: the file has no header or comment line Extension String / 10 Extension of the imported file Clean first String / 10 Option that enables you to delete the existing elements before importing the file. Possible actions: Ask - a pop-up appears to ask the user if he wants to delete existing elements from the current object. No - the elements are not deleted. Silent - the elements will always be deleted without asking Arguments Field Type / Max. length Contents Name String / 30 Name that identifies the argument in the function. Type String / 10 Argument type: Integer Long DateTime Date Decimal Filter String Datasource A Datasource argument is associated with a Datasource name defined as a configuration object. Optional String / 1 Value (Yes/No) set to specify if the argument is optional or not. Description String / 250 Argument description Function calls Field Type / Max. length Contents Function type String / 80 Type of funtion: Get Values When String / 10 Value (Before / After) to specify if the function is called before or after the action has been performed. Library String / 50 Library where the function is declared. This library can be any of the libraries created in the application. Function String / 50 Name of the function. This function can be any of the functions of the given function type declared in the library specified previously. Related Links
Specify global settings Importers To specify global settings Importers: Create an Importer and complete its properties. See Properties Add arguments and complete arguments details. See Arguments Add function calls and complete function calls details. See Function calls Properties Field Type / Max. length Contents Name String / 80 Importer name Description String / 250 Importer description Datasource String / 30 Datasource used to describe the structure of the imported file. When empty, the structure will be identified using the header of the file. Object Type name String / 80 Name of the Object Type on which the importer will be used. Object Type version Integer/ 4 Name of the Object Type on which the importer will be used. Reader type String / 30 Type of the reader. Possible values: CSV XML Reader name String / 30 Name of the reader that depends on the reader type. Readers are registered as InterPlay services. For more information, refer to Exit and Service registration. Date format String /25 Default date format used in the imported files. Date Time format String / 30 Default date time format used in the imported files. Separator String / 1 Character used to separate the values in the imported files. Encoder String / 15 The encoding of the imported files. Possible values: UTF-8 UTF-16 ISO-8859-1 ISO-8859-2 ISO-8859-11 ISO-8859-15 Header / Comment String / 1 Value to specify if the imported file contains header and/or comment lines. Possible values: Comment only: the file contains only the comment line provided as the first line of the file Header + Comment: the file contains both the header line provided as the first line of the file and the comment line provided as the second line of the file Header only: the file contains only the header line provided as the first line of the file None: the file has no header or comment line Extension String / 10 Extension of the imported file Clean first String / 10 Option that enables you to delete the existing elements before importing the file. Possible actions: Ask - a pop-up appears to ask the user if he wants to delete existing elements from the current object. No - the elements are not deleted. Silent - the elements will always be deleted without asking Arguments Field Type / Max. length Contents Name String / 30 Name that identifies the argument in the function. Type String / 10 Argument type: Integer Long DateTime Date Decimal Filter String Datasource A Datasource argument is associated with a Datasource name defined as a configuration object. Optional String / 1 Value (Yes/No) set to specify if the argument is optional or not. Description String / 250 Argument description Function calls Field Type / Max. length Contents Function type String / 80 Type of funtion: Get Values When String / 10 Value (Before / After) to specify if the function is called before or after the action has been performed. Library String / 50 Library where the function is declared. This library can be any of the libraries created in the application. Function String / 50 Name of the function. This function can be any of the functions of the given function type declared in the library specified previously.