문제

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.

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top