Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

Script include assistance

GabeF
Tera Contributor

This is the Script Include, the call breaks on the console.log statement.

It executes the prototype statement but then exits

2 REPLIES 2

Jennifer Metz
Tera Guru

Hello @GabeF,

 

Replace console.log with gs.info('PhotoshootSlotChecker Loaded');

 

When using a scoped application, server side logging requires you to use the following:

  • gs.debug() – detailed debug output

  • gs.info() – general informational logging

  • gs.warn() – warnings

  • gs.error() – errors

 

I recommend reviewing Debugging Best Practices on the developer portal. 

 

I hope this helps!

 

Jennifer Metz
Technical Lead | Infosys

Thanks Jennifer, I'd just read that in the same link.