Document libraries

Since version 1.125.0 FormCraft 365 also works on document libraries (template 101): the form edits the file's metadata, the file itself stays untouched.

Where the form appears

What stays in SharePoint

File name

The default library form starts with a File name field (FileLeafRef) that can be renamed. The extension is protected: if the user removes it, the original is re-appended; a changed extension is not replaced, the original is appended to the end (a.xlsx → a.xlsx.docx). An empty name, the characters " * : < > ? / \ | and a trailing period are rejected with a message. The field can also be added to a custom layout in the designer.

The header and breadcrumb show the file name when the Title field is empty.

File preview

The Document preview widget offers the Current file source on a library: it shows the file of the open item (Office, PDF, image) with an Open button that opens it in a new tab; the file name in the preview header is a link too. In Display mode the File name field is also a link to the file.