The @file Annotation

May 4, 2018 by P. Zweihoff

Pyro now supports the CINCO @file annotation for EString attributes. The file annotation exchanges the default textual form field with a file upload field. The annotation values can be used to restrict the file upload to a defined set of file extensions.

After a file upload has been successfully completed, the relative URL to the file is stored in the EString attribute. A donwload link is added as well beneath the upload field.