Make annotations visible for all the users and make annotation toggle icon and pop up message invisible

UPASANA2
Mega Expert

How do I make annotations visible for all the users and make annotation toggle icon and pop up message invisible?

11 REPLIES 11

Paul Ciarfella
Tera Guru

I'm running Fuji patch 2.   There are two system User Preferences already defined.   I set the values as follows and the warning disappeared:
glide.ui.annotations.show_hidden_msg = false


glide.ui.show_annotations = true




But the ? icon remains.   There are some responses in the Eureka issues list about how to hide the icon.   I've not tried any.   See reply #60 from Robert Mitchell.


Eureka Issues List



Community Alums
Not applicable

Hey, this looks like a pretty old post but just thought I'd throw my 2 cents in here. I was looking for the same thing and managed to get it from the thread Paul listed.



Just create a client script set to run on load with this:



$j("button#header_toggle_annotations").hide();


Hi,



There is a slight change to do in your code - perhaps needed by the Geneva release.



$j("#header_toggle_annotations").parent().hide();



Jean-Luc


florin_danis
Kilo Expert

Hi guys.


Any news concerning the first part of the request: "make annotation visible for all the users"?


Paul, about your initial suggestion of using "SN.formAnnotations.show()", how exactly should be used? I couldn't find any documentation about formAnnotations. What kind of object is SN and where it is defined? Could you please provide an example of this working?


As I see, when toggling annotation on and off, a record in sys_user_preference is inserted/updated with name = glide.ui.show_annotations.


One solution I see is to create a script to insert/update a record in this table, with Value = true, for all users.


Not sure if other tables are not affected by pressing the ? button to toggle the annotation on and off.


florin_danis
Kilo Expert

Ok, I found how to make annotations visible by default for all users.


In "User Preferences" update the default system entry (the one that has Name = "glide.ui.show_annotations" and no value for User) by setting Value = true and delete any user related records (the ones that have Name = "glide.ui.show_annotations" and a user specified in the User column).


This way, every user that will log next time will get the system preference.