# Creating a score (classic)

Some functionality of Experience Optimization is linked with Finder (classic).

{% hint style="info" %}
Nexthink Finder is a Windows-only desktop application whose functionality is now available within the Nexthink web interface. Nexthink can now be used directly from a browser and most functions no longer require an additional desktop application.
{% endhint %}

Scores are described in the form of [XML files](https://docs.nexthink.com/platform/~/changes/Sh4xqs4GDClkDKT9Hvux/user-guide/experience-optimization-classic/rating-devices-and-users-with-scores-classic/score-xml-reference-classic). To create a new score, either:

* Use the Nexthink Scores Creator tool from your web browser (recommended).
* Directly write the XML of the score with your favorite text editor or with a specialized XML editor to define a new score and import it into the solution.

Contact Nexthink Customer Success Services to help you build your own scores or fine-tune the available scores to suit your needs. Check the [Nexthink Library](https://www.nexthink.com/library) for the latest published packs that include scores.

## Score definitions <a href="#creatingascore-classic-scoredefinitions" id="creatingascore-classic-scoredefinitions"></a>

A score definition holds the detailed description of either one composite score or one leaf score in a single XML file. Note that a composite score is usually comprised of several subscores. Therefore, in practice, XML files that hold the definition of a composite score contain the definition of all the subscores on which the main composite score depends.

## Procedure <a href="#creatingascore-classic-procedure" id="creatingascore-classic-procedure"></a>

To write a new score or update an existing score:

1. Open the [Nexthink Scores Creator](https://scores-creator.nexthink.com/) tool from your web browser:
   * If you want to write a new score, click the button **Start a new score** at the top of the window.
   * If you want to modify an existing score, click the button **Load score...** and choose the XML file to upload.
2. Optional: Click **Settings** to configure the Web API settings of a reachable Engine.

   1. **Engine IP**: Type in the address of the engine.
   2. **Port**: Type in the port number of the Web API in the Engine.
   3. **Version**: Select the product version to generate a compatible score definition.

   The Engine settings let you test the scope and NXQL queries used in your scores thanks to the buttons:

   * **PREVIEW SCOPE**
   * **PREVIEW QUERY**.
3. Fill in the forms for the main score and the subscores.
4. Click **Save score...** to save your score as an XML file.
   * If any error is detected in your score, a warning message appears before saving the file.

\
Alternatively, if you are fluent in XML or want to make a quick local change to one of your scores from your computer:

1. Open your favorite text editor or specialized XML editor.
2. Write the definition of the score in an XML file, according to the [XML schema of scores](https://docs.nexthink.com/platform/~/changes/Sh4xqs4GDClkDKT9Hvux/user-guide/experience-optimization-classic/score-xml-reference-classic#scorexmlreference-classic-score-xml-validation).
3. Save the XML file.

Once you have the XML file with the contents of your score:

1. Open the Finder as a user with the right to edit scores ([the profile of the user must allow system configuration](https://docs.nexthink.com/platform/~/changes/Sh4xqs4GDClkDKT9Hvux/user-guide/experience-optimization-classic/score-xml-reference-classic#scorexmlreference-classic-scorexmlvalidation)).
2. Select the **Scores** section on the left-hand side panel of the main window.
3. Right-click the header of the **Scores** section or the empty area below it.
4. Select **Import > Scores from file...** from the menu.
5. In the dialog, choose the XML file that holds the definition of your score.
6. Click **Open** to import the score.

## Limit on the number of scores <a href="#creatingascore-classic-limitonthenumberofscores" id="creatingascore-classic-limitonthenumberofscores"></a>

Two limiting factors put a constraint on the maximum number of scores that can be defined:

* **Storage**: 500 scores in total (either composite or leaf scores, including subscores in the count).
* **Computation power**: 50 leaf scores of the **Computation input** type. Be careful if you use complex NXQL queries with **except**, **union**, or **intersect** in leaf scores since they might sensibly increase the computation power needed.

If you need to go over these limits, contact Nexthink Customer Success Services for an evaluation of your setup and configuration customization.

{% hint style="info" %}
The operations described in this article should only be performed by a Nexthink Engineer or a Nexthink Certified Partner.

If you need help or assistance, please contact your Nexthink Certified Partner.
{% endhint %}

***

RELATED REFERENCES

* [Nexthink Scores Creator (external)](https://scores-creator.nexthink.com/)
* [Score XML Reference](https://docs.nexthink.com/platform/~/changes/Sh4xqs4GDClkDKT9Hvux/user-guide/experience-optimization-classic/rating-devices-and-users-with-scores-classic/score-xml-reference-classic)
* [Nexthink Library](https://www.nexthink.com/library)
