Document toolboxDocument toolbox

Files and folders

File and folder access (on extranet)

File visibility on the extranet is controlled by three systems, which all must provide access to the file in order for the file to be accessible.

  1. Object visibility

  2. Visible on extranet

  3. Person types

Object visibility

A file is not visible if the object to which it belongs are not visible or inaccessible by the Person in question.

Visible on extranet

Both folders and files have a “visible on extranet”-setting. A file is visible if it has this setting and the folder in which it resides (and every parent folder) also have this setting.

Person types

Folders can be restricted to only be viewable by certain person types. If a folder isn't viewable by the type of the Person trying to access it, all files contained in the folder isn't accessible as well.

File and folder templates

On some objects it is possible to save a standard file structure, which can be done from an existing object. This file structure can be saved for all future objects or based on a certain category such as CRM company types. If such a structure is saved, it is applied to all future objects matching the criteria for which is was saved.

If there are both saved a general structure and a structure for a certain category, the latter takes precedence when implementing new objects.

The standard structure is copied when the root folder for an object is created. If there isn't a standard structure then the root folder will be made visible on the extranet and all teams and person types will have read and write access.

Adding files

When a file is added (not form the extranet) the user may choose if it should be visible on the extranet.

When a file is added from the extranet, it always becomes visible on the extranet.


Maximum file size

The intention is to allow for single files and total form sizes for up to 50 MB in the system. As there is an overhead on form data, we instead communicate that this limit is 30 MB.

So in code and configuration files: Limit = 50 MB. In UI and messages: Limit = 30 MB.

In addition to the PHP config files, this limit should also be set in /script/form.js as:

var MAX_COMBINED_FILE_SIZE_IN_MB = 30;