Created
February 1, 2019 21:52
-
-
Save cgillis-aras/dd1fb4fced517a9af0f46d35996eeb6a to your computer and use it in GitHub Desktop.
Sample code for displaying the content of an HTML file in a dialog within Aras Innovator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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