Please refer to Using FacetScript for using FacetScript.
Testing FacetScript Snippets
FacetScript snippets can be tested as part of TQL Queries on any deployed project.. Prerequisites for each of these approaches is to Download and install Atomiton Stack locally on your personal host machine.
Using SimpleModel Project:
- Import SimpleModel Project using locally deployed TQLEngine User Interface (or from the your TQLStudio Cloud Account).
- Go to Query Editor Window and Create a new query, let's say ForEach and type enter any valid FacetScript.
- The results will be displayed either in log or as part of Query Response, depending on what snippet does
Following Example prints ContextData on console.