The approach shown below is only compatible with version 2.0 of the Vault Application Framework, where the target audience runs M-Files 2018 or higher. If using version 1.0, or to maintain compatibility with M-Files 2015.3 and lower, configuration attributes should be used instead.
Version 2.1 of the Vault Application Framework introduces a new base class for your applications to inherit from. This new base class encapsulates a large chunk of boilerplate code that was previously required to be implemented manually.
Implementing a custom dashboard involves overriding the CustomValidation method:
The information returned by the CustomValidation method should be the same as with the VAF 2.0 implementation.
Each configuration node can define a method which executes additional validation of the configuration. In the sample below, the CustomValidator method has been set as the Validator for the configuration node.