Custom Crystal Fields

You can control the vocabulary of the fields that you can associate with Crystals or with their diffraction Processings. For this go to Settings and use the respective tabs.

It’s not possible to associate any arbitrary field with the crystals - only those that your administrator registered.

All the custom fields that you associated will be available through the REST API for each crystal. As well as in the SQL reports.

Field types

The fields can be primitive like numbers, strings, boolean values, etc.

But you can also create Nested types and lists. You can go wild and create a list of nested objects. These will be represented as JSON arrays when submitting or fetching them:

{
  "nestedArray": [{
    "nestedFieldA":  "val",
    "nestedFieldB":  12
  }]
}