Use the Document Library control to show files from one library on a page. Members can view file details, download files, or add and edit documents if they have the necessary permissions.
Add the Document Library control
Open the page designer and drag Document Library from the controls panel into a section or container.
Choose the library and folder
In Content → Data Source, choose the Application and the document library in List. The current application is the default.
Leave Sub folder empty to start at the library root, or select a folder to show its contents. For example, choose Acceptance files from the Project files library.
To reuse a project detail page across projects, bind the dynamic folder path to a value from the current project, such as its name in a library organized by project name. Test with two projects, plus a project whose folder is empty or absent.
Apply Data Filters to narrow the contents. Set Primary Order, then use Secondary Order to break ties. For example, sort by last modified date and then by name.
Set the file display and actions
In the Content tab, choose how members see the files and which actions they can use from this page.
Choose a layout
Table View shows a row per item and uses the columns you configure.
Card View shows each item as a card.
Dynamic uses a table on desktop and tablet, and cards on mobile. Default uses the same device behavior. With either layout, configure the table and card settings separately.
Choose display fields
Open Display fields → Settings, select fields in Select List Field, and select OK. Drag fields to reorder them. Include Name to show the operation menu beside files and folders.
Expand a field to set its table column width or card width. For cards, use a percentage and adjust the label’s layout, width, and vertical alignment as needed.
Set the caption, search, and upload options
Enable Display Caption to show the library name or enter a custom title. You can enable Display Search Bar and set its placeholder. Turn on Allow Add Item to show folder creation or upload options for members with the required permissions, and set the button label.
When uploads are enabled, configure Default values for file fields. For example, on a project detail page, use the current project’s customer as the uploaded file’s default customer. Test the lookup before saving the new file.
Choose what opens from a file
For Link, choose Default Layout or a custom form in the source library, Custom URL for a URL based on the file record, or None to omit the details link. Use Open in to choose a pop-up, full-screen page, or new window. Test the link with a reader account.
For an empty result, use Hide if value is empty to hide the control or set Fallback text to explain why no files appear.
Set record limits and pagination
Use Start at to choose where the results begin. For paged results, set Records per Page and the alignment. To show only a fixed number of files, turn on Limit Records and enter a limit. Turn on View more records if readers should have a link to the full library, then configure its label, destination, and alignment.
Set table header visibility and sorting
In Content → Appearance, use Hidden Header to hide the table header. Enable Sorting Table to let users change the sort order from the column headers.
Style the Document Library control
Use Style and preview both layouts when the page uses Default or Dynamic.
General
Set the table or card dimensions and the typography and color of any fallback message.
Table View
Set table width and alignment, borders, radius, and shadow. Choose fixed column widths or automatic scaling across the table.
Card View
Set margins and padding for the card area.
Library header
Set header cell padding, borders, text alignment, and typography. Set text and background colors for normal and hover states.
Library content
Set row typography, link and background colors, padding, borders, and alignment. Use alternating row colors if they help users follow rows across the table.
Card content
Style each card’s background, border, radius, shadow, margins, and padding. Set separate typography and colors for field labels and values.
Folder path
The folder path shows the current folder and its parents. Style its spacing, alignment, text, background, border, and shadow so readers can identify the folder and navigate back.
Operation menu
The menu is part of the Name field. Keep that field in Display fields when users need file and folder actions.
Operation button
Adjust the button’s spacing, typography, and text and background colors.
Dropdown
Adjust typography, colors, borders, radius, and shadow for the dropdown. Check its normal and focus states.
Caption
Adjust caption spacing, background, border, radius, shadow, and title styling.
Search bar
Set the spacing, typography, and placeholder color. Check contrast and borders in the normal and focus states.
New item button
Set spacing and typography, then style the text, background, and border in the normal and focus states.
Pagination
Style the page controls in the normal, hover, and active states. Set the gaps between controls and the space above them.
Verify the file scope and access
Review any layout or display settings under Advanced. Advanced options
Put two test files in the selected folder and a third in a sibling folder. Preview the page and confirm the intended folder, sort order, and file list. If using a dynamic path, open two different project records.
As a read-only member, check which files you can see, open, and download. As a member with upload permission, upload a test file and verify its folder and any default values. The folder selection and filters limit the page display. The source library’s permissions govern file access and changes.
Check the page on desktop and mobile, including the file name, operation menu, and any View more records link. Test the empty state with a folder containing no matching files.

