I am using the following code to send an email as the Onclick action. I can see the Set-UDElement works, as I get the pop-up “order submitted” , but the Send-MailMessage never appears to work. Any gotchas I’m missing?
think it might be combining the params and New-Input and the New-UDButton. If I strip out and use just the New-UDButton , and put specific values rather than using variables i can get it work. …more investigation