I disabled a few elements in the header and now I have two unnecessary dividers left. I would like to remove these also, but can’t get it to work. I already tried the solutions provided in the existing topics. Maybe the solutions of these older topics don’t work in the newer WebViewer verions?
I already found the data-element name of the dividers: “divider-0.1” and “divider-0.3”. How can i disable them?
I’m using Webviewer 11.9.0, because the newest Version caused some bugs in our implementation.
EDIT: I tried the provided solution from the docs, like this:
Hello, I’m AiRon, an automated tech support bot While you wait for one of our customer support representatives, I can help you with your question.
Removing dividers from the header in WebViewer can be managed using the Modular UI API. The approach involves filtering the components you wish to remove, including dividers, and then setting the items in the container appropriately. You can filter out the dividers by their type or dataElement and apply changes to the items array in the header.
Some things you can try:
Identify the container where the dividers are located, such as groupedLeftHeaderButtons.
Use the setItems method to filter out the dividers by checking their type or dataElement.
Ensure that you are using the correct version of the WebViewer that supports the Modular UI API.