What Aras won´t tell you about…Non-Standard Dialogs!

Innovator offers us a lot of useful pre-build functions to display messages to end users. But they haven´t told us, that even more flexible ways are available! Join my journey where we will reveal the secret of non-standard dialogues!

⚠️Important: Use this one at your own risk! This is an unofficial tech tip. In case of doubt, always only use official recommend Standard Dialogs!

Used code:

const notify = aras.getNotifyByContext(window);
notify("Let´s test our notify");
notify("Let´s test our notify with 15s timeout",{timeout: 15000, type: ''});

notify("I am an orange warning notification. I am very helpful in situations were you don´t want to show a popup",{timeout: 50000, type: 'warning'});
notify("I am a green success notification. I do pretty much teh same as aras.AlertSuccess",{timeout: 50000, type: 'success'});
notify("I am a red error message. I am also very helpful in situations were you don´t want to show a popup",{timeout: 50000, type: 'error'});
notify("I am the blue notification box. Useful for neutral feedback",{timeout: 50000, type: ''});

aras.AlertError("Something went very wrong");
aras.AlertWarning("Something went only slightly wrong");
aras.AlertSuccess("Something went right!");

return;

Leave a Reply

Your email address will not be published. Required fields are marked *