Override annotations

Annotation preferences for each user are stored as user preferences with the name “glide.ui.show_annotations”.

You can override that configuration and change the visibility with the following code on the client side:

SN.annotations.show();Code language: CSS (css)
SN.annotations.hide();Code language: CSS (css)
SN.annotations.toggle();Code language: CSS (css)

The user preference works at the platform level, and you might want to alter this behaviour in a particular form.

This is an undocumented feature, so try to avoid using it unless strictly necessary. You probably don’t need this.