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.

Was it helpful?

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top