Quantcast
Channel: SharePoint 2013 - General Discussions and Questions forum
Viewing all articles
Browse latest Browse all 26374

How to hide standard ECB on Office 365 (Share Point online) for a SharePoint hosted App?

$
0
0

Hallo,

I have a problem to deal with ECB in SharePoint online by SharePoint hosted app. I want to hide some standard menu items e.g. "Publish", "Compliance Details", etc.

But it seems difficult to use the solution from on-premise, http://msdn.microsoft.com/en-us/library/cc768565%28v=office.12%29.aspx

because it needs to save the "customcore.js" in "\Template\layouts\1033".

It may be possible to override function in "core.js" like this.

http://social.msdn.microsoft.com/Forums/en-US/dd7abbfa-7b61-46be-90f2-c997a98462d9/hiding-ecb-menu-items?forum=sharepointdevelopment

But Microsoft updates Office 365 sometimes. e.g. I have overriden "AddDocLibMenuItems", but now it changes. My app doesn't work anymore.

How can I hide it with the best way? Thanks very much!

Regards

Jie




Viewing all articles
Browse latest Browse all 26374

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>