Updates the TemplatedNode.templatedFields of a TemplatedNode based on field Does not check authorization permissions, and does not save the provided node afterwards. Validates the new value of the updated field.

Parameters

node

the node to update the templated field of

field

the name and new value of the field to update

Throws

if the new value for the field is invalid, or the field does not exist