Script Apps Console

With this feature, you can test and troubleshoot your scripts within GpsGate Server. You will spend less time wondering what is wrong and more time building meaningful scripts for your business.

Introduction

Creating apps and scripts within GpsGate Server gives you many opportunities to customize your solutions for your business. If you are not familiar with apps and scripts here are some resources to get you started:

Messages

To access the console in the application, go to Admin > Development > App Console.

The Messages section of the App Console will show all logged messages from your scripts:

mceclip2.png

To log something in your script use the log() function in the script editor:

log(VARIABLE_NAME);

or

log(“My message”);

You can search the displayed messages by typing into the search field. You can also limit the number of displayed messages with:

  • Filter by script…
  • Filter by user…
  • Only show errors

Settings

In the Settings section, you can decide if you want everything to be logged or if you only want to log entries that contain specific characters or numbers.

mceclip0.png

Note! This functionality is not the same as the filter you apply in the Messages section. Only messages that contain the characters entered here will be logged. Other messages will be ignored.

You can also set the maximum number of messages to be displayed.

Export

mceclip1.png

The list of message entries can be exported to a .CSV file by pressing the arrow in the top right corner of the App Console window.