-
Add a Custom "Mark as Paid" button on Main Invoice View/Main GridHi,In the Apply to each control, update the invoice records from the previous step List rows.Best Regards,
Dengliang Li
-
Add a Custom "Mark as Paid" button on Main Invoice View/Main GridHi Dengliang Li,I have tried the solution that you have mentioned but I'm actually stuck at "Apply to Each" control and it seems like this control used to get the output from the previous step. Can you further guide me about this step again so that I can re-check my flow for any error as such.Thanks!
-
Add a Custom "Mark as Paid" button on Main Invoice View/Main GridHi,you can add a new button editing the commnad bar with PowerFx. Try this:Add Power Fx buttons to model-driven apps – Ben Prins
-
Add a Custom "Mark as Paid" button on Main Invoice View/Main GridHi,
You can use Smart Button to create a Mark as Paid button. Click on this button to call Power Automate Flow.
Call Workflow directly from a button using Ribbon Workbench - CloudFrontsCopy the following code and place it where indicated in the first image.const req = new XMLHttpRequest();// This URL comes from the connector in the flow / when an HTTP request is received / generated URL.var url = "<Your URL>";req.open("POST",url,true);req.setRequestHeader("Accept","application/json");req.setRequestHeader("OData-MaxVersion","4.0");req.setRequestHeader("OData-Version","4.0");req.setRequestHeader("If-None-Match","null");req.setRequestHeader("Content-Type","application/json ");req.send();
Then with Power Automate Flow you can mark all active invoices as paid.
Fill in the HTTP Post URL here.// This URL comes from the connector in the flow / when an HTTP request is received / generated URL.var url = "<Your URL>";
If my answer was helpful, please click Like, and if it solved your problem, please mark it as verified to help other community members find more.
If you have further questions, please feel free to contact me .
Best Regards,
Dengliang Li
Helpful resources
Quick Links
Subscribe to
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
Leaderboard
Martin Dráb 222,727 Super User
a33ik 84,305 Super User
Richard Wheeler 75,730