Question

I need to create a custom action in SharePoint's ribbon so it will work on every list and library. I am creating such action using SP Designer but I can do it only for one particular list.

Is there any way to create such action using the SP Designer which will work in all site's lists and libraries? If not, please suggest another way of implementing such button.

Thanks in advance.

Était-ce utile?

La solution

Create that Button in the Master Page and use javascript/jquery to hide it for pages whose current page URL do not contain "/Lists" or "/Forms". In this way you can have your button for only lists and libraries.

Licencié sous: CC-BY-SA avec attribution
Non affilié à sharepoint.stackexchange
scroll top