Do you have an issue with a specific file(s)?
No
Can you reproduce using one of our samples or online demos?
No
Are you using the WebViewer server?
yes
Does the issue only happen on certain browsers?
No
Is your issue related to a front-end framework?
Yes
Is your issue related to annotations?
Please give a brief summary of your issue:
(Think of this as an email subject)
I am trying to create a custom tool group in the header and disabling the other (View, Annotations, etc).
I want to add some specific tools like freeText, Add an image, etc. But I am facing a problem in the data element field. Is there any proper list of data elements with tool group names that can be helpful?
The closest we have to a list of data-elements was previously mentioned by the support bot: Hiding/Showing DOM elements in WebViewer UI - List of elements. Unfortunately the list isn’t exactly up-to-date, but we are working on a solution to fix this. The guide also shows how to inspect and read through the DOM to get specific tool names.
As a courtesy here are some of the requested data-element values:
Underline - underlineToolGroupButton
Highlight - highlightToolGroupButton
Free Text - freeTextToolGroupButton
Undo - undoButton
Redo - redoButton
Eraser - eraserToolButton
Add Image - stampToolGroupButton
File Attachment - fileAttachmentToolGroupButton
Add Tick/Cross - countToolGroupButton
Date/Calendar - You can use Rubber Stamp tool and create a custom stamp to show date/time - rubberStampToolGroupButton
I may not have provided all tool groups you requested, but follow the above guide to understand how I fetched these names for any other tools you wish to hide/show.