Properties File Discovery - Alfresco Federation Services - 3.2 - 3.2 - Ready - Alfresco - external - Alfresco/Alfresco-Federation-Services/3.2/Alfresco-Federation-Services/Using/Integrations/Job-Setup-and-Configurations/Job-Mappings/Properties-File-Discovery - 2025-03-04

Alfresco Federation Services

Platform
Alfresco
Product
Alfresco Federation Services
Release
3.2
License

If you ever have the situation where Discovery can’t automatically find your fields, but you know they will be there, then you can create your own mappings with a properties file.

In some systems, like email headers or iManage, fields can be dynamic and so Discovery can’t find them. To add your own fields, do the following:

  1. Create a properties file that will contain your fields. An example can be found in your installation:
     tomcat/webapps/3sixty-admin/WEB-INF/classes/propertiesFileDiscoverySample.properties
    
  2. Edit this file, or the one you created if it’s different:
     # Fields Types
     # CHECKBOX,DATETIME,TEXT,TEXTAREA,INTEGER,LONG,DECIMAL,DOUBLE,URI,READONLY,BINARY,ANY
     #
     # Format
     # type.field=field type
     # If they key has a space in it, replace the space with the unicode value:
     # u0020
     # Historicalu0020Documents.field=CHECKBOX
     document.name=TEXT
     document.description=TEXTAREA
     document.createddate=DATETIME
     folder.name=TEXT
     folder.isversion=CHECKBOX
    
  3. Create a properties file discovery instance and point it to your properties file. Run it and your types and fields should show up, and now you can use them in job mappings.