Article Details
Id:13590
Product:finPOWER Connect
Type:NEW
Version:3.00.00
Opened:11/02/2016
Closed:22/02/2016
Released:06/07/2016
Job: J016912

Scripts; Web Service (Web API) and HTML Widget type Scripts; A new flag allows debug information to be returned in the HTTP Response headers

A new option on the Web page of the Scripts form for Web Service (Web API) and HTML Widget type Scripts allows debug information to be returned in the HTTP Response.

When this box is checked, any finBL.DebugPrint statements called while the Script is executing will be appended as HTTP Headers in the response.

Each debug line will appear as a separate HTTP Header, e.g.:

Debug-1: This is line 1
Debug-2: This is line 2
Debug-3: This is line 1

This information can be viewed in Web Browsers using their built-in debugging tools. It can also be viewed from the Test Web Services form.

The Script Details report has been updated to show this new setting.