Versions Compared

Key

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

...

First we will set the object property name, that which we want to validate. After that the name of the wanted catalog must be specified.

Code Block
languagejava
titleSet PropertyId and Name of the Catalog
final String propertyId = "[Name of property]";
final String catalogueName = "[Name of catalog]";

Then we will implement our metadata handling method validateObject. Here we will iterate through the imported or updated object and search for the requested property. When the property is found, it and the authorization token will be send to the private validation method validateProperty.

...