Skip to main content

Posts

Showing posts from April, 2025

How to pass the IDs of selected rows to Power Automate

This article is for you if: You would like to select one or more records from data grid or subgrid Get the IDs of the selected rows Pass these IDs to Power Automate Flow To do this, you will require the following components: Power Automate Flow with Http trigger XrmToolBox: Ribbon Workbench (RWB) tool a JavaScript Step 1: Create a Power Automate Flow We will be triggering a flow using HTTP request when the button is clicked in our Model Driven App. For your trigger, select ‘When a HTTP request is received’. We will need a Request Body JSON Schema. This is how the data (row IDs) will be passed from the JavaScript to power automate flow. Paste the following Schema into the box: json { "type": "object", "properties": { "TimesheetIds": { "type": "array", "items": { "type": "string" } } } }...