Thanks for this js. I am trying the solution out, but facing difficulties in accessing xrm.page attributes. I am opening a web-resource through "Alert.showWebResource". Can you tell me how can I access Xrm.page inside this web resource ?? and How can I link the methods in the web resource to the "buttons" parameter in Alert.showWebResource??
↧