Hi All,
I want to add a custom button next to a field in a Dynamics 365 form. So I have used the following code and follow the instructions here-
https://www.tutorialspoint.com/microsoft_crm/microsoft_crm_html_web_resources.htm
<html><head>
<style>
.button {
background-color: 00bfff;
border: none;
color: white;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 10px;
cursor: pointer;
border-radius: 6px;
}
</style>
<script>
function TestClick()
{
alert("clicked!");
}
</script>
<meta charset="utf-8"></head>
<body>
<button class="button" onclick="TestClick()">Click</button>
</body></html>
But the output is like this on the form
Can someone please tell me what am I missing. What I actually want to do is when someone click on the button I want to execute a workflow, currently W/F is executing via a button in the ribbon. First i want to get display the button on the form.
Thanks.