Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Define a connection name as described before.

  2. Create an entity, e.g. 'File', in your model.
  3. Create at least one attribute: File.Id. This attribute is needed to store the id of the file, and without this attribute this functionality does not work. When handling files it is often practical to use a few other attributes such as File.Name, File.Type and File.Size. Create these attributes too.
  4. Create an exposed flow.
  5. Create a page which is put in the flow and is connected.
  6. Create a container of type AQ_File_Upload and place it on the page with the following parameters. For more information on the parameters of this container see the AQ_File_Upload.

    ParameterValue
    Connection<connection name>
    PersistenceTemporary
    ModeMultiple files
    FileIDFile.Id
    FileNameFile.Name
    FileTypeFile.Type
    FileSizeFile.Size
  7. Create a container of type AQ_InstanceSelectorPlusInstanceList.
    1. Let the containment be: File.Id, File.Name, File.Type, File.Size, all of them read-only
    2. Let the parameters be: Parameter 'entity' should be 'File'.
  8. Let the instance selector container be the second container on the page.
  9. The upload container is ready to use.

...

This container can be used in the containment of the instance selector plus list and it is ready to use.

Create a delete service

...