Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

Please refer to Using FacetScript for using FacetScript.

Testing FacetScript Snippets

There are two ways in which FacetScript snippets can be tested. Prerequisites for each of these approaches is to Download and install TQL Engine 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. Here are the steps to try them on SimpleModel Project.

  1. Import SimpleModel Project using locally deployed TQLEngine User Interface (or from the your TQLStudio Cloud Account).
  2. Go to Query Editor Window and Create a new query, let's say ForEach and type enter any valid FacetScript.
  3. 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.


  • No labels