a!documentViewerField( label: a!defaultValue(value: ri!label, default: "Document"), labelPosition: a!defaultValue( value: ri!labelPosition, default: "COLLAPSED" ), document: local!document ),
Hello All,
How can I open document in new window with the above code and the document names are in grid.
Discussion posts and replies are publicly visible
If your document records are sitting in a dedicated table, you can create a record on it and create a related action that has this documentViewerField.
Could you try creating a new interface in the site (containing the documentViewerField), and for openit use a!safeLink (with full url) , with target NEW_TAB?
How can I open new interface in URI with safelink. Could you give me a sample if you have.
a!safeLink( label: "Company web site", uri: "<url of the task in a process instance>" )
Or you can simply hide your grid interface and show a document viewer field with a link to reset the visibility.