Build a Modern Delete Confirmation Popup in Your Custom Page

It’s pretty easy to add an expression in your custom pages to allow someone to delete a record. Sure, they still need to have a Dataverse security role that gives them delete permissions for that to work, but we shouldn’t make it so easy that someone could make a mistake without some kind of confirmation. … Continue reading Build a Modern Delete Confirmation Popup in Your Custom Page

Use The Dynamics Environment Default Theme In Your Custom Pages

Themes have been around in Dataverse/D365/CRM for years and years. In fact, I wrote about how to create them back in 2017 when I first started this blog! There has since been an additional way to modify the app headers (although I am not a fan because it is limited and there is no way … Continue reading Use The Dynamics Environment Default Theme In Your Custom Pages

Creating Dynamic Cascading Dropdowns with Related Entities in a Custom Page

If you are used to customisation in Model-driven Apps you will know that out of the box you can add a lookup field then filter a second one based on a selection made from the first. Call it a cascading, dependent or hierarchy connection between the two. This is something pretty common that you might … Continue reading Creating Dynamic Cascading Dropdowns with Related Entities in a Custom Page

Tips & Tricks Using The HTML Text Control In Your Custom Pages

When first starting out with your Custom Pages and wanting to display data, it’s tempting to pick the Label option. It’s right there in the Popular section when you go to insert, and it likely does what you need. But what about other options like creating a hyperlink, or changing the colour of things, making … Continue reading Tips & Tricks Using The HTML Text Control In Your Custom Pages

Make Fields Required In Your Custom Pages To Prevent Missing Data

I think creating a Custom page is pretty easy. Once you have the basics you can create the bare bones pretty quickly including some functionality with a Patch statement to update your records. It’s the fine tuning and making sure the custom page works all the time and doesn’t allow users to submit multiple times, … Continue reading Make Fields Required In Your Custom Pages To Prevent Missing Data

Show Or Hide Custom Pages Using Power Fx Formulas In Your Model-driven Apps

Hopefully by now you’ve added a Custom page to one of your Model-driven Apps (MDA). Once you’ve done this, it is so satisfying, and a great way to extend functionality for your users. When you add the button it’s important to make sure it opens and that can be what you focus on the most, … Continue reading Show Or Hide Custom Pages Using Power Fx Formulas In Your Model-driven Apps

Prevent Users Making Multiple Submissions From Custom Pages

This is one of those things that is so simple and basic BUT if overlooked it can create a lot of mess, frustration and confusion. Depending on what your custom page is designed to do, you likely have a submit button on it. If your button is then using a Patch statement to update existing … Continue reading Prevent Users Making Multiple Submissions From Custom Pages

Adding A Custom Page To A Form Ribbon In A Model-driven App

If you have started creating a custom page, the end goal adding a custom page to a form ribbon in a Model-driven App (Dynamics 365 Customer Engagement, CRM, Dataverse or whatever you want to call it). That is where your users will find it and interact with it. How do you do that? Well there … Continue reading Adding A Custom Page To A Form Ribbon In A Model-driven App