...
Testing FacetScript Snippets
There are two ways in which 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 TQL EngineAtomiton Stack locally on your personal host machine.
Creating a New Package Definition File
Executing Snippets as part of TQL Queries
The second approach to testing FacetScript snippets is to execute them along with a TQL Query as part of any already deployed project. On the
...
Using SimpleModel Project:
- Import SimpleModel Project using locally deployed A-Stack 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.