Setting composed template values

Sensus supports composed template definitions, where one can relate one template value (of any type) to another template value (of any type).

This chapter follows the Setting Template values chapter.

It is almost identical, but instead of setting 1 value a left and right value needs to be set.

The schema defines it as follows:

type MutProjectVersion {
    // rest is omitted

    setTemplateValueComposed(iconGuid: UUID!, templateGuid: UUID!, left: String!, right: String!): TemplateValue

Please bear in mind that the left and right paremeters only support the following simple scalar fields (for now):

  • TEXT
  • DATE
  • TIME
  • URL