Instantly share code, notes, and snippets.

Embed
What would you like to do?
Sample code for displaying the content of an HTML file in a dialog within Aras Innovator
// Set the arguments being passed to the dialog
var param = {
title: "Test HTML",
aras: top.aras,
dialogWidth: 500,
dialogHeight: 250,
content: 'test.html' // Put path to HTML file here
};
// Open the dialog
var topWnd = top.aras.getMostTopWindowWithAras();
var wnd = topWnd ? topWnd : window;
wnd.ArasModules.Dialog.show('iframe', param);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment