Building a ListView Command Set
Git branch
This section uses the https://github.com/PacktPublishing/Mastering-SharePoint-Development-with-the-SharePoint-Framework-/tree/chapter12/building-a-listview-command-set Git branch from the repository.
For this chapter, we will create a ListView Command Set as per the details mentioned in the Requirement 4: Placing a new order when a product is low in stock section of Chapter 4, Packt Product Management Solution: A Practical Use Case, which, in the Products list, will display a command called Update Stock. Clicking on this command will run a Power Automate flow, which then performs the action of updating the stock.
A Power Automate flow will not be built
Note that we will not be creating a Power Automate flow here as it is out of scope for the topic of this book. However, we will assume that there will be a Power Automate flow that gets triggered when a URL is called, and that flow will update the stock of the selected product successfully...
 
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
     
         
                 
                 
                 
                 
                 
                 
                 
                 
                