Skip to main content

Posts

aras.prompt Method (aras Object)

aras.prompt Method Shows prompt box with stylish dialog. Syntax aras.prompt( msg , defValue , argwin ) Parameters Name Type Description msg String Required. The text to show in prompt box. defValue String Required. The default input text. argwin Object Optional. The window to display prompt box. Default is current window. Return Value A Promise object. See Also aras Object Aras Innovator Client Framework

aras.confirm Method (aras Object)

aras.confirm Method Shows confirm box with modal dialog. If showModalDialog method is unavailable, native JavaScript confirm box will be shown instead. Syntax aras.confirm( message , ownerWindow ) Parameters Name Type Description msg String Required. The text to show in confirm box. ownerWindow Object Optional. The window to display confirm box. Default is current window. ※If showModalDialog method is unavailable, this parameter will not be used. Return Value A Booelan. Returns true if user click the "OK" button, otherwise returns false. See Also aras Object Aras Innovator Client Framework

aras.AlertWarning Method (aras Object)

aras.AlertWarning Method Shows warning message with stylish dialog. Syntax aras.AlertWarning( msg , argwin ) Parameters Name Type Description msg String Required. The text to show in warning dialog. argwin Object Optional. The window to display warning dialog. Default is current window. See Also aras Object Aras Innovator Client Framework

aras.AlertSuccess Method (aras Object)

aras.AlertSuccess Method Shows success message at bottom left of window. Syntax aras.AlertSuccess( msg , argwin ) Parameters Name Type Description msg String Required. The text to show at bottom left of window. argwin Object Optional. The window to display success message. Default is current window. See Also aras Object Aras Innovator Client Framework

aras.AlertError Method (aras Object)

aras.AlertError Method Shows error message with stylish dialog. Syntax aras.AlertError( errorMessage , technicalErrorMessage , stackTrace , argwin ) Parameters Name Type Description errorMessage String or Object Required. The text to show in error dialog. If passing an object, the method will try to get error message from it. technicalErrorMessage String Optional. Technical message to show in details of error dialog. stackTrace String Optional. Stack trace to show in details of error dialog. argwin Object Optional. The window to display error dialog. Default is current window. Return Value A Promise object. See Also aras Object Aras Innovator Client Framework