Code Viewing
Viewing the integration script from the platform

The code viewing scren is devided into 4 subsections:
A viewer to browse through the code
A list of files included in the integration script
A controller to change the code version viewed.
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

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.
The same errors should appear directly within your console when using the CLI to upload assets. It is highly recommended to analyze the errors from within your console to prevent switching between your local development environment and the platform
Last updated
Was this helpful?