I have a model driven app that has this web resource in it that creates a button that the user can click. (short story) - basically - in the else condition I want to trigger a Power Automate flow that will send an email to a vendor, with the VID ( var VID = formContext.data.entity.getId();) to be able to edit a dataverse record. Can that be done?
Was looking into the HTTP Request trigger... ??
Thanks in advance.
Xrm.Navigation.openConfirmDialog(confirmStrings, confirmOptions).then( function (success) { if (success.confirmed) { var VID = formContext.data.entity.getId(); VID = VID.toString().replace("{", "").replace("}", ""); var url = "https://apps.powerapps.com/play/e/59f66dc4-d69c-4b98-8ba0-01b59185ba02/a/ad9fd324-564c-46fc-ab1b-bdf8cf0fae53?tenantId=8395b8e4-d017-486b-a04e-7e46b2103d4b&hint=335304d0-7387-4d9c-8398-e4cd39dec17c&sourcetime=1708557430176?ID="; url = url + VID; // window.open(url, '_blank').focus(); window.open(url, "Vendor Request App", "width=1200,height=1000"); } else { //alert("Vendor"); } }
(
stampcoin
67
Michael E. Gernaey
66
Super User 2025 Season 1
rzaneti
41
Super User 2025 Season 1