IBM Support

Variable behavior in TRIRIGAWEB.properties related to document control

Technote (troubleshooting)


Problem(Abstract)

When trying to upload a file type that should be allowed based on the contents of the INCLUDE_EXTENSIONS and EXCLUDE_EXTENSIONS lines, the user gets a message stating that uploading a file of that type is not allowed.

Cause

Using spaces in the extension list will invalidate any other defined value after the first one listed.

In the 3.5.2 and later releases more variables were added to the TRIRIGAWEB.properties files, for more precise control over what can be loaded as an attachment to a record or added to Document Manager. These variables are documented in the TRIRIGA Release Notes, but to give the basic information, there are the two new sets of variables:


COMPANY_FILE_UPLOAD_EXCLUDE_EXTENSIONS
COMPANY_FILE_UPLOAD_INCLUDE_EXTENSIONS

and


IMPORT_CONTENT_EXCLUDE_EXTENSIONS
IMPORT_CONTENT_INCLUDE_EXTENSIONS


Any file extensions can be added here, but the format of the list needs to be properly set. Use only comma separated values without spaces to build the string.


Diagnosing the problem

Check the values that are listed on the INCLUDE_EXTENSIONS and EXCLUDE_EXTENSIONS lines in your TRIRIGAWEB.properties file and make sure that the extension that is needed is listed and is listed in the right place.

Resolving the problem

If there are any spaces included in the INCLUDE_EXTENSIONS and EXCLUDE_EXTENSIONS lines in your TRIRIGAWEB.properties, remove them.

If you have spaces together with commas separating the values that are listed on the INCLUDE_EXTENSIONS and EXCLUDE_EXTENSIONS lines in your TRIRIGAWEB.properties file, the lines will not be interpreted properly.

Document information

More support for: IBM TRIRIGA Application Platform
IBM TRIRIGA Application Platform Runtime Engine

Software version: 3.5.2, 3.5.3

Operating system(s): Platform Independent

Reference #: 2007640

Modified date: 31 January 2018