File asset types

Use the File asset to upload generic files into Squiz Content Management. Use this asset if a specific file type asset does not exist.

Read File asset types for more information about the other specific file type assets available and their unique settings fields and configuration options.

For example, if you were uploading a Microsoft Word document, you would use the Microsoft Word document asset instead of the file asset.

Adding a file

When you add a new file, the following fields are available:

Title

The name for the file asset. This field will be used as the file’s friendly name and will appear in the asset tree. This name will also appear wherever the keyword replacement %asset_short_name% is used.

Upload file

Select which file to upload as the file from your computer. Filename lengths are limited to 240 characters.

To determine which assets in the system have a hyperlink to a file, look at the Linking screen. The Current Linking section lists assets linked to the file.

Details screen

The Details screen for a file lets you set up this asset.

Read Asset details screen for more information about the status, future status, and thumbnail sections of this screen.

Details

This section lets you change the files' details, including the title and which file to use. The available fields are:

Title

The title (asset short name) of the file. By default, the value initially entered into the title field appears in this field.

Filename

The filename of the uploaded file. By default, the uploaded file name appears in this field.

Upload file

This field lets you upload a new version of the file. Filename lengths are limited to 240 characters.

Current file

This section outlines the files' details, including the size of the file and when it was last updated. If you click on the Current file link, a preview of the file will appear in a new window.

If you have selected a new file to upload using the Upload file field, this file’s details will not appear in the current file section until you save the screen.
Allow unrestricted access

Depending on what this setting is, the file’s status, and whether public read access has been granted, Squiz Content Management will use different URL formats.

Yes

If the status of the file is Under construction and public read access has been granted, then an asset tree relative URL is used. For example, http://www.example.com/resources/documents/report.pdf, where resources/documents are the parent assets of the file in the asset tree. This format means that it is served dynamically from the Squiz Content Management repository and is not optimal in terms of performance.

However, if the file’s status is live and public read access has been granted, then a static URL is used. For example, http://www.example.com/__data/assets/pdf/100/report.pdf where 100 is the asset id of the file. This static URL provides optimal performance. It is served directly by the web server and does not have to get processed by Squiz Content Management.

No

If this setting is No, then the asset tree relative URL is used. This setting may be required if an external system is referencing the file and needs to use the relative URL, for example, for robots.txt files.

The default setting of the Allow unrestricted access field is Yes.