I need to add both a custom ribbon button to change a field value of all selected items in a list/list-webpart and I'm interested in creating a custom action in the ECB (context menu) and hover panel that shows up over documents to do the same thing.
What is now the proper way of doing this because I'm seeing old examples show
So which is it?
Is the JS script suppose to run every time the site loads or just once to add the custom action? And if it's just once, I'm I suppose to do a check every time to see if this custom action has already been added?