Jun 22 2021 01:01 AM
Add a button to document library in Sharepoint online and able to do my custom operations.
Jun 22 2021 02:30 AM
@vaibhav_vashist If you are using SharePoint online, you can achieve this using SPFx ListView Command Set extension.
For more information on how to develop it, check this documentation: Build your first ListView Command Set extension
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
Jun 22 2021 02:35 AM
Jun 22 2021 02:57 AM
@vaibhav_vashist What kind of operations you want to perform?
You can also Create a button to launch a Power Automate flow within document library using JSON formatting. Check below documentation for this:
Create a button to launch a Flow
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
Jun 22 2021 03:17 AM
Jun 22 2021 03:27 AM
My suggestion will be to develop a SPFx ListView Command Set extension as you will have greater flexibility & more options to perform CRUD operations on documents.
You can also use SP PnP JS in SPFx extensions which will help you to perform the CRUD operations more easily. You can find few SPFx extension samples to get started with in below GitHub repository:
SharePoint FrameWork extension samples
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
Jun 22 2021 03:43 AM