Вопрос

I've tried this other solution for lists, and it also works for document libraries but it doesn't add the menu that I need.

This is the menu that gets added:

enter image description here

And this is the one I need to add:

enter image description here

Это было полезно?

Решение

Rather than using ListItemMenu and ListItemMenuAllowed, try CalloutMenu and CalloutMenuAllowed.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с sharepoint.stackexchange
scroll top