Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
titleExamples

The following examples show usage scenarios for this service.

Version Box
since10.0

The following examples apply since version 10.0. For previous version please refer to the version box below.


Example Box
titleInsert a Property Value

Shows how a property is added in front of an existing property.

The reference property is specified with the URL parameter Sort Key.

Code Block
{
  "name": "New Property's Name",
  "value": "The value of the new property.",
  "position": "before"
}



Example Box
titleInsert a Property with Controls

Besides setting the value, the controls may also be set.

Code Block
{

  "name": "New Property's Name",
  "value": "The value of the new property.",
  "controls": "hide",
  "position": "before"
}



Version Box
until9.x

For all examples keep in mind: The name of the property, as well as the document it is part of, is specified in the URL.

Therefore the ref property must be set.

Example Box
titleInsert a Property Value

Shows how a property is added in front of an existing property (Sort Key in this case).

Code Block
{
  "value": "The value of the new property.",
  "position": "before",
  "ref": "Sort Key"
}



Example Box
titleInsert a Property with Controls

Besides setting the value, the controls may also be set.

Code Block
{
  "value": "The value of the new property.",
  "controls": "hide",
  "position": "before",
  "ref": "Sort Key"
}




...