Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

ActionUtils

mjocasio23
Tera Expert

I have overriten a UI action from dmn_demand or idea table from the demand suite to carry over in my new application scope. I noticed I get a warning in systen log: ActionUtils isnot define. How can I call this global code in my application scope ?

 

1 ACCEPTED SOLUTION

No impact to OOB features.

You are must make this util available to be called from all app scopes.

 

Regards,

Sachin

View solution in original post

7 REPLIES 7

sachin_namjoshi
Mega Patron

you need to use global.ActionUtils  in your UI action code to call ActionUtils.

ActionUtils is in Global Scope.

 

Regards,

Sachin

what about action.get('something'); ? 

It still error out

 

gs.include('ActionUtils');
var au = new global.ActionUtils();
au.postInsert(ideaRec);

 

 

please make sure that ActionUtils is accessible from all scopes.

 

find_real_file.png