Add Values Programmatically

Configuration

For this example, the default grid configuration has been used.

Grid configuration

Set value

See the example below to see how a value can be added or changed programmatically. To update a value of a property editor you need the Content Service.

Although the use of a GUID is preferable, you can also use the numeric ID to get the page:

If Modelsbuilder is enabled you can get the alias of the desired property without using a magic string:

Last updated

Was this helpful?