Updating the ListView Command Set
Git branch and commit reference
This section uses the https://github.com/PacktPublishing/Mastering-SharePoint-Development-with-the-SharePoint-Framework-/tree/chapter12/updating-a-listview-command-set Git branch from the repository.
Please refer to the https://github.com/PacktPublishing/Mastering-SharePoint-Development-with-the-SharePoint-Framework-/commit/8965e1ac9fb0f0abfde62928d351f083c893809a commit for this section.
In this section, we will see how to change the code of the ListView Command Set. The following points provide an outline of this section:
- The HTTP-triggered Power Automate flow can be called using GetorPostmethods of an HTTP request, hence, we will be adding a simple HTTP service to the code.
- We have only one command as part of this ListView Command Set, called Update Stock, so related updates will be made in the manifest file of the ListView Command Set and in config/serve.json, which will be used during development...
 
                                             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
     
         
                 
                 
                 
                 
                 
                 
                 
                 
                