Some test text!
Web / Guides / Annotation attachments
WebViewer supports attachments for annotations, and this currently enables attaching files to the replies in notes panel.
When adding a reply, the user can click the attachment icon to add attachments to their reply. If the file format is image-based, a preview will render.
After posting the reply, the attachments added will show with the note content. The attachments will persist after downloading.
Clicking on the attachment will open it in a new tab inside WebViewer. Note that you need to enable the MultiTab feature first.
instance.UI.enableFeatures([instance.UI.Feature.MultiTab]);
WebViewer provides some APIs for customizing the default behaviors.
The preview of attachments can be enabled by using enableAttachmentPreview.
WebViewer(...)
.then(function(instance) {
instance.UI.NotesPanel.enableAttachmentPreview();
});
The preview of attachments can be disabled by using disableAttachmentPreview.
WebViewer(...)
.then(function(instance) {
instance.UI.NotesPanel.disableAttachmentPreview();
});
Trial setup questions? Ask experts on Discord
Need other help? Contact Support
Pricing or product questions? Contact Sales