The Assets and Image List Assets store resources that can be used in multiple places across a site. These can be images, videos, presentations and other file resources. Common examples of these are images that can then be referenced as the App Icon, Homepage Image, Login Image and Template Icons. Image List Assets are stored in a separate folder to other Assets and are only used for generating the Selection Options in a Image List.
View a List of Site Assets
To view all Assets on a site, first select Settings from the COGS Menu and then select the Assets folder in the left pane menu.
This will then pull back the list of Assets that are available for selection
Upload a new Asset
To upload a new Asset so that it is available for selection you can either use the drag and drop option or choose a file.
Drag & Drop: Find the file that you would like to upload from your device. Then drag the image into the drag and drop box at the top of the Assets screen. This will accept the file and start uploading the document showing you a progress bar. Once complete the file will appear in the List and be available for selection in App Studio
Choose File: Clicking on Choose File will open your devices File explorer. From here you can then search for the Asset that you would like to upload and this will then begin the upload of the Asset. Once complete the Asset will appear in the List and be available for selection in App Studio.
Note: There is validation on the file name for an Asset, it can contain letters, numbers, underscores and ampersand but will not accept the file if it contains other special characters.
Remove an Asset
If an Asset is no longer needed then it can be removed by clicking on the cross on the right of the row in the Asset List.
Take caution when removing an Asset that it isn't referenced anywhere across the Site first. If you try to delete a file that is being referenced in App Configuration then you will receive a validation error preventing you from deleting the Asset until the dependency has been removed.
Image List Assets
Image List Assets are stored in a similar way to Assets but are contained in their own folder for ease of managing the different types of Assets. These Assets will appear for selection when defining the Selection options for an Image List Field. This Field cycles through different images which each represent a different value for the Field.
To access the Image List Assets click on Settings from the COGs menu and then select the Image List Assets folder in the left pane menu.
Note: In most areas Assets can be loaded at the point of needing them – this folder is the place to go to review existing assets. Be careful not to delete Assets which may be used elsewhere.