How to configure Power Fx command button on activity tables in Dynamics 365/ Model driven apps

Hello everyone and welcome to my blog. In today’s blog we shall discuss about Power FX command designer and why a custom command button on activity tables like email, appointment, task or any other custom activity may not be visible.

For this blog, I am using a custom activity table ‘Donations‘. Using the command designer I inserted a button ‘Grid Functions‘. I intend to show the button when an item is selected in the Main grid of Donations table.

I save and publish the changes. However in the APP, the command button does not show up.

As you can see in the above screenshot, the button is not visible even though a Donation record is selected in the Main grid.

If you open the Command Checker tool, it actually opens the command checker for Activity table (activitypointer). This imply that for every activity table, it is the command of activitypointer table that loads. Activity table is the parent table for all out-of-box or custom activity tables in Dynamics 365/ Model-driven apps.

To add a Power FX command button for an activity table, you must add the command button on the parent Activity table. Check for the below screenshot where I have configured the same command but now the parent Activity table.

After I save and publish the changes, the button is visible on the Donations table.

As I mentioned earlier, this is applicable for any activity table, out-of-box or custom.

For similar topics on Microsoft.NET and Power Platform, subscribe to my blog using the Subscribe option on right pane.

You will also like the below posts.

Debajit Dutta
Business Solutions MVP


Discover more from Debajit's Power Apps & Dynamics 365 Blog

Subscribe to get the latest posts sent to your email.

Discover more from Debajit's Power Apps & Dynamics 365 Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading