Updates the TemplatedNode.templatedFields of a TemplatedNode based on the input Does not check authorization permissions, and does not save the provided node afterwards Validates the new value of the fields If templateWasUpdated, validates all fields. Requires that the new template is already set
Parameters
the node to update the templated fields of
defines how to update the templated fields
if true, no longer existing templatedFields are removed, and all existing fields are validated
Throws
if the new/old value for a templated field is invalid
Updates the TemplatedNode.templatedFields of a TemplatedNode based on the templatedFields Does not check authorization permissions, and does not save the provided node afterwards Validates the new value of the fields If templateWasUpdated, validates all fields. Requires that the new template is already set
Parameters
the node to update the templated fields of
values to update the templatedFields
if true, no longer existing templatedFields are removed, and all existing fields are validated
Throws
if the new/old value for a templated field is invalid, or a field does not exist