We are introducing a new feature to help you to test and troubleshoot your scripts within GpsGate Server. You will spend less time wondering what is wrong and more time on building meaningful scripts for your business.
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:
- Login to SiteAdmin
- Go to Plugins tab.
- Set the Repository URL to: http://beta.gpsgate.com
- Under My Plugins tab, make sure that Patch.v4 is installed and up to date.
The App Console is accessed from the Development menu in your VehicleTracker application. The Messages section of the App Console will show all logged messages from your scripts. To log something in your script use the
log() function in the script editor:
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
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.
Note! This functionality is not the same as the filter you apply in the Messages section. Only messages that contains the characters entered here will be logged. Other messages will be ignored.
You can also set the maximum number of messages to be displayed.
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.
Discuss this blog post on the forum please