Hide Settings option which is a part of the menu dropdown

WebViewer Version:10.8.0

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? No
Does the issue only happen on certain browsers? No
Is your issue related to a front-end framework? No
Is your issue related to annotations? No

Please give a brief summary of your issue:
Hiding the Settings option which is a part of the menu dropdown.

Please describe your issue and provide steps to reproduce it:
Is it possible to hide only Settings action and the line above, which are within the menu dropdown?

Please provide a link to a minimal sample where the issue is reproducible:
settingsApryse

Hello kkk,

Please refer to our guide here: Hiding-elements | Apryse Documentation

Best regards,
Tyler

Hello tgordon,

I did. I don’t want to remove the menu completely by using
instance.UI.disableElements([“menuButton”]), I want to remove the “Settings” item under this menu.

Hello kkk,

Try:

instance.UI.disableElement('settingsButton')

Best regards,
Tyler

Hi tgordon,

I worked! Thank you very much!

image

Is there a way to hide this line below the Print button?

Hello kkk,

That would be:

instance.UI.disableElement('printButton')

Best regards,
Tyler