The CreatorCon Call for Content is officially open! Get started here.

gs.info('x') gs.debug('x') no output in Fix Script in Scope App

treycarroll
Giga Guru

I'm just starting to play around with scoped applications.   I put together what should be a no-brainer fix-script which echoes back the content of a column as a result of a GlideRecord query, but the gs.info() statement in the loop returned no output.  After a while I realized that the issue was not with the GlideRecord query, but due to the fact that gs.info() will not print anything in the console.  Even:

gs.info('Hello World');

prints nothing.  Is there a trick to Fix Scripts in Scoped Applications to get these types of statements to give output?

TC

3 REPLIES 3

sachin_namjoshi
Kilo Patron
Kilo Patron

 gs.info() will end up in System Logs >> Application Logs instead of Script Log Statements.

 

Regards,

Sachin

treycarroll
Giga Guru

Thanks, guys.   So my take away is that if I want to see the immediate output of my code, I will need to use a background script or XPlore toolkit.