Here we are passing three parameters
- Pass execution context as first parameter. (Check box)
Using getEventSource method we can get the name attribute’s value.
“Sample String Parameter” = string value.
- “name” = string value with schema name of the “name” attribute.
We can use the attribute’s name in our Xrm.page.getAttribute method.
The alert box
Hope it helps!