Skip to main content

registerTemplate

Register a new template to be used for IMX requests. The cmmnModel is compiled/deployable model that has been processed with JSON.stringify (escaping " and newlines) Registering templates is only allowed for Linckr AMDIN role.

Possible exception(s) that can be thrown:

  • Validation Exception when the Cmmn model xml is invalid
registerTemplate(
template: TemplateInput!
): Template!

Arguments

registerTemplate.template ● TemplateInput! non-null input

Type

Template object

TODO: This template is more like a Linckr admin Template that contains much more data then a provider should be able to see. Need to think about the domain naming We can postfix with -config to clearly show it is an admin model -> TemplateConfig, DataserviceConfig, ... TODO: Return namesI18N, so the admin can see the names