Low Code Button (LCB) is a lightweight and customizable tool designed to empower Developers, Consultants, and Citizen Developers to easily bridge Dynamics 365 Ribbon Bar buttons to Power Automate flows. This managed solution provides an intuitive interface, enabling the seamless integration and management of interactive buttons directly within your Dynamics 365 environment.
Watch the demo here.
- Empowerment: Allows Developers, Consultants, and Citizen Developers to independently configure button integrations without extensive coding.
- Flexibility: Supports various button types, execution modes, and dynamic payloads.
- Integration: Seamlessly connects Dynamics 365 Ribbon Bar to Power Automate.
-
Download the latest managed solution from the releases section.
-
Import the solution into Dynamics 365:
- Navigate to make.powerapps.com, then Solutions, and import.
- LowCodeButtonMaker: Full permissions for button configuration.
- LowCodeButtonUser: Read-only access for end users.
- Open the LCB (Low Code Button) Settings app.
- Create language entries:
- Add languages with unique LCID (
esp_lcid).
- Add languages with unique LCID (
- Navigate to Button Settings.
- Define new button entries:
- Specify a unique Button Name (
esp_buttoname). - Configure the endpoint, payload, and button type (Form, Grid, Subgrid).
- Specify a unique Button Name (
Note: Associated Views are not supported.
Configure additional behaviors like execution modes, confirmation dialogs, spinners, and notifications in Advanced Button Settings.
- Use Command Bar Designer in Dynamics 365.
- Select the desired location (form/grid/subgrid).
- Add new commands:
- Use
LowCodeButtonBase.js(esp_/js/LowCodeButtonBase.js). - Invoke
LCB.ButtonRegistration.onClickfunction.
- Use
- Parameters:
- Forms: Use
PrimaryControl. - Grid/Subgrid: Use
SelectedControl. - Button name as the second parameter.
- Forms: Use
Configure using Power Fx formulas directly in Command Bar Designer.
LCB remains compatible with Ribbon Workbench, though Command Bar Designer is recommended.
Customize button payloads to include only necessary data. Preview payloads with Show Example Payload to copy-paste them to the HTTP Trigger connector in Power Automate, enabling you to use Dynamic Content in your flows.
- Form Payload: Includes entity names, record ID, and user ID.
- Grid/Subgrid Payload: Includes entity names, record IDs, user ID, and optionally, parent entity details.
For sync buttons:
- Success without Redirect: Respond with HTTP 200.
- Success with Redirect: Respond with:
{
"redirectUri": "https://example.com"
}- Error Handling:
{
"title": "Error Title",
"message": "Detailed error message"
}Async mode follows a "Fire and Forget" approach without processing responses.
Contributions are welcomed:
- Fork and branch the repository.
- Clearly commit changes.
- Submit a pull request.
Licensed under Creative Commons Attribution-NonCommercial-ShareAlike (CC BY-NC-SA).
Contact us for support:
- José Martínez Lago: LinkedIn | [email protected]
- Stephan Charles: LinkedIn


