Hello,
I hope you are well.
I'm new to Infor EAM and have a quick question.
Is it possible to create a global utility class that can be used in any screen or is it possible to write javascript code?
For information, our application is hosted on the cloud.
Small example of what I would like to do:
Javascript of a screen:
Ext.define ("EAM.custom.external_fojobs",
{
extend: "EAM.custom.AbstractExtensibleFramework",
getSelectors: function ()
{
EAM.custom.Utils.myConstant;
}
}
Global class:
const myConstant = "Constant test";
Ext. Of fine ('EAM.custom.Utils',
{
extend: "EAM.utils.Utils",
alternateClassName: 'Custom.Utils',
statics:
{
getMyConstant ()
{
return myConstant;
}
}
Thanks
Walid from France