Code Viewing

Viewing the integration script from the platform

Viewing the Integration script fron within the platform

The code viewing scren is devided into 4 subsections:

  1. A viewer to browse through the code

  2. A list of files included in the integration script

  3. A controller to change the code version viewed.

  4. A console that reports errors in case of an invalid code parsed in the platform

The code viewer

This subsection allows a view of the uploaded code to the platform. it also allows to edit the code from within the platform

Included files

The left section of the code viewer shows the list of files and folders uploaded to the platform. Browsing through the different files is done by clicking on the folder/file name.

The top Controller

The top controller of the code viewer supports:

  • changing font size

  • going into full screen mode

  • changing the viewed script version

  • changing the secret accociated with this script

  • committing changes made to the code in the platform into a new version.

To change the viewed script version, click the downward facing arrow next to the script version and commit message. This would open a dropdown with version selection.

To change the secret accociated with this script select a different secret from the secret dropdown.

To commit changes made in the platform, click Push. This would create a new version of the script using the modification made in the platform and try to parse it.

The console

Switching to a failed version and noticing the stack trace of errors within the console

The lower most section of the code viewer is the console. This allows you to view prints made during the data parsing of the integration script. It also allows you to view errors that happened during dataset parse by viewing their stack trace. Once errors would appear in the console, there might be multiple tabs, each describing an error related to a specific asset in your code.

Last updated

Was this helpful?