File link control
Display a link to a file stored in Alloy
You can add any number of these to the layout of a flow document.
A File link control represents a link to a file stored within Alloy (e.g. an item attachment). It requires the Item ID of the desired file, which can be obtained dynamically through a data source or supplied as a static value.
The link will only be active in generated report documents.
Add a File link control
In the Document Layout Editor, select at the bottom (or within a container control) and then choose File link.
Set the value
Select the pill shape inside the control and then supply the Item ID of the file you want to link to.
Either select Dynamic and link to a data source header (e.g. the Attachments header of an Item data source), or select Static and paste in a copied Item ID. To learn more, see Dynamic values.
Get the Item ID of a file
-
Search for the file by name or browse to it in the File Explorer.
-
Select the file to view its details in the right panel.
-
Use the top button to copy the ID to your device's clipboard.
Configuration
Select the control to show its properties in the top toolbar.
Layout properties
-
Relative width - Auto by default. The control automatically sizes itself to display its content in full (space permitting). Alternatively, you can set a constant width. See Flow control width.
-
Margins - adjust the gap between each side of the control and the content inside. See Flow control margins.
File link properties
-
Edit description - customise the control's description (shown in the toolbar).
-
Remove - delete the control.