DMS Syntax Reference

DMS adds the following builtin macros:

Documents

{{dmsf(17)}} - link to document #17

{{dmsf(17, File)}} - link to document #17 with the text "File"

{{dmsf(17, File, 10)}} - link to document #17 r10 with the text "File"

{{dmsfd(17)}} - link to the details of document #17

{{dmsfdesc(17)}} - link to the description of document #17

Folders

{{dmsff(5)}} - link to folder #5

{{dmsff(5, Folder)}} - link to folder #5 with the text "Folder"

Images

{{dmsf_image(8)}} - inline picture of document #8; the document must be an image file such as JPEG, PNG,...

{{dmsf_image(8, size=300)}}

{{dmsf_image(8, size=640x480)}}

{{dmsf_image(8, size=50%)}}

{{dmsf_image(8, height=300)}}

{{dmsf_image(8, width=300)}} - inline picture of document 8 with a custom size

{{dmsftn(8)}} - thumbnail of document #8

{{dmsftn(8, size=300)}} - thumbnail of document #8 with a custom size

Approval Workflow

{{dmsfw(8)}} - approval workflow status of document #8

The document/folder's ID can be found in it's details.