is there way to add list item using sharepoint add-in or extension

163 views Asked by At

is there way to add list item when user right click of a file using sharepoint add-in or extension as following image enter image description here

1

There are 1 answers

2
baywet On BEST ANSWER

What you're looking for is a list command set extension in a SharePoint Framework solution. Check the documentation.
If you want your extension to appear in the right click menu make sure you set the Location attribute to ClientSideExtension.ListViewCommandSet.ContextMenu (or ClientSideExtension.ListViewCommandSet for both the menu and the bar) in the elements.xml file.