Requirement Add a custom button on Portal Page to cancel an operation. Solution While working on Dynamics 365 portal, sometimes, we need to add additional buttons on the web page. We can create a liquid template if we want to implement some complex logic and buttons, but if it is just a matter of a quick custom button, we can use Web Page Script area.
Let’s say we want to have a Cancel button next to the Submit button on the custom contact page. We can simply use the following steps: