Documentation Center

Configuring for mandatory property fields

You can indicate if a field (property) is mandatory in the user interfaces and through the WebServices API.

Typically a field (property) is accessible in two user interface, website and client tools, and through the WebServices API.

User interfaceFile (on the server)Valid when:
WebsiteCompulsoryFields.xmlThe setting is immediately valid when reopening the website.
Client toolsMetadataConfig.xmlThe setting is valid on the client when synchronization of the adapted file has occurred.

When using the API, most projects want to check on mandatory fields. To check your current settings, start C:\InfoShare\App\Database\Common\DatabaseIndependent\Examples\Full-Export\RunSetup.bat on the server. The result is a file named exportInfoshare_result.xml in the directory where the bat file is located. The file is best viewed when opened in your web browser. Search for Custom Fields to see if fields are mandatory.

To remove a mandatory setting
  • create a TriDKXmlSetup script to remove the database setting
  • make a backup of the database so if necessary, you can restore the current configuration
  • run the script when no one is using the system