Forum Discussion

Hariharan2468's avatar
Hariharan2468
Copper Contributor
Jan 17, 2025

Custom Context button not working in site page (Library as webpart)

I'm facing the issue. Created ListviewCommandset Extension for context menu is working fine on library level and able to see my custom button but when i add the document library as webpart in the site page , I'm not able to get the custom context menu.

I have used SP version of 1.19 also 1.20 and 1.16 also.

Tried with CSOM code also SP.ClientContext for context.

 

Also tried this.context.listView.SelectedRows. All this are working fine on Document library level not as webpart in site page.

 

Please give any solution to achieve this . Thanks in advance

No RepliesBe the first to reply

Resources