Hi Stephan,
Doing this from within a HTML snippet is a bit cumbersome.
My advise:
Option 1: use a JavaScript action if possible
Option 2: use the JavaScript snippet widget, in that widget the dataview context entity can be used in the JS code as a variable which is stated in the widget
Option 3: use the HTML snippet. It is hard to get the dataview entity the snippet is encapsulated in. The dojo framework has a function called dijit.getEnclosingWidget. THis can be used here, but needs some Dojo expertise.
Hi Ivo
Thanks for your support.
I have some issues with the code.
Where and how i set the nanoflow i want to execute with the parameter $customdomain?
Thanks for any help!
Stephan
I found now a Solution with a microflow.
mx.data.action({
params:{
applyto: "selection",
actionname: "ForgotPasswordCustomization.LaunchTenantHomePage",
guids: [ '${tempGUID}' ]
},
origin: this.mxform,
callback: function(obj) {
//Object not required
},
error: function(error) {
alert(error.message);
},
onValidation: function(validations) {
alert("There were " + validation.length + " validation errors");
}
});
Thanks Stephan