Using an Update Service
Content Studio
only sends content items to an update service on demand. In order to
force
Content Studio
to use an update service, you must add a
vdf:updateservice
element to one of the field
elements in a
publication's content-type
resource. For example:
<field type="basic" name="postcode"> <viz:updateservice href="update-service-uri"/> </field>
When this field is modified by a user in Content Studio, a VDF Payload document representing the entire content item is sent to update-service-uri. update-service-uri should be a relative URI referencing a service in the local domain.
Note that although the viz:updateservice
"trigger" is
only added to one element, the update service is free to modify any
fields in the submitted document, and
Content Studio
checks all fields in the returned document for
vdf:annotation
elements.