In this article, you will learn how to save rules for a template.
Before you begin
To learn how to access the Rules page and view some rule examples for a template in SPAN sports performance analysis platform, refer to this
article.
Save rules for a template
Note: Instead of using JSON code from the "Rule examples" dialog box, you can also set up rules directly in the "Template Rules" editor by referring to JSON rules engine examples
here and customizing the code as per your needs, provided it follows the coding tips shown in the "Rules Engine Tips" dialog box.
After opening the "Rule examples" dialog box, click on the "View code" button for any rule document example to see the corresponding rule code.
Once clicked, the rule document code will open, as shown below. Copy all lines, then click on the "CLOSE" button to close the "Rule examples" dialog box and return to the "Template Rules" editor.

Paste the rule code into the "Template Rules" editor, then click on the "Save Rules" button at the top right of the page to save the rules.
