質問

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