Include document display in view table

You can see an example below of how to implement the documents view in the portal. A view table is used for this. A button in the view table is used to specify the display page with the "File selection view" element as the link destination.

Requirements

In the below example, it is assumed that you have carried out the following actions in connection with the application you use to provide access to the WebDAV documents:

You have added data fields to the data group.

You have created an input page with the "File selection" element below the data group.

You have created a view page with the "File selection view" element below the data group.

Step-by-step guide

  1. Create a view table on the page on which the links and icons to the (WebDAV) documents should be displayed.

    In the example, this is the "Documents" page ().

  2. Select the value "(current application)" in the "Application" selection field.

  3. In the "Data group" selection field, select the data group that contains the data field for the WebDAV documents.

  4. Add the desired data fields.

    Do not add the data field for the WebDAV documents.

  5. Add two buttons (icons).

    The properties of the view table can be displayed as follows, for example:

  6. For the button used to call up the display of the WebDAV documents, define the view page on which you have placed the "File selection view" element as the link destination in the "Actions" tab.

    In the example, this is the "Show documents" page ().

  7. For the button used to call up the dialog for uploading WebDAV documents, define the input page on which you have placed the "File selection" element as the link destination in the "Actions" tab.

    In the example, this is the "Upload documents" page ().

  8. Save or publish the application.