Read configuration of a VAF and Metadata Card

Hi, we are working on a VAF that can report various information like users and sizes of vaults to a documentation vault. Now we would like to also save VAF configs and the Metadata Card config to a vault as objects.
We found that the new M-Files Property Calculator VAF can save its config with "Configuration History".
We would like to know how this is done and if we possibly could read configs from other VAFs or even vaults.
The LoadConfiguration Method of VaultConfigurationDomainOperations looks like a starting point.

Parents Reply
  • Thanks, this helped, we now have a working prototype to save AVS, MDC/MCC and the config of the VA to M-Files.
    We were wondering if there is any way to access configs of other Vault Applications (in the same vault).

    In GetRegisteredConfigurationDomains(ConfigurationDomainType.Other) on index [0] we find the current VA, are there other ConfigurationDomains or anything else I'm missing?

Children
  • From recollection there is nothing here which stops that, provided you have access to NVS.  I know that external applications have used this approach to enumerate data for various purposes.  I don't have further samples than that developer track PDF though.

    However: acknowledge that this is not something which other applications expect you to read or edit.  There may be some concerns with you doing so (e.g. secrets).