The following samples are available in this solution:
- Searching
Segmented Search- An example of how to bypass the default search limitations of SearchForObjectsByConditions or SearchForObjectsByConditionsEx by instead searching for "segments" of objects from the vault.Search by Display Id- an example of how to search using the "display id" ("external id") when using External Object Type Data Sources.
MFWSCheckOutStatus- An example of retrieving the checkout status of a specific object.MFWSDownloading- An example of downloading files from the M-Files Web Service.MFWSSearching- An example of executing basic searches against the M-Files Web Service.MFWSVaultStructure- An example of retrieving vault structure from the M-Files Web Service.MFWSViewNavigation- An example of retrieving views and their contents from the M-Files Web Service.
Please note that the build actions have been disabled in these samples. This has been done simply to stop them all being installed at build time. To enable the build action, remove the "REM" command from the start of the build action.
Event Tracing- An example to automatically log various vault events and VAF lifecycle events to the event log. Useful to understand which events are executed in various scenarios.Simple Configuration- An example of using the VAF 2.0 to create a simple configuration area in the M-Files 2018 (onwards) admin interface.Complex Configuration- An example of using the VAF 2.0 to create a more complex configuration area in the M-Files 2018 (onwards) admin interface.Xml Importer- An example of a flexible Vault Application that can import data from XML files into M-Files objects. This source code supports the training video available in the M-Files Academy.
Chain Workflows- An example to show how to move an object to a second workflow once it reaches the end of a first workflow.Client to Server communication- An example of how to execute server-side code on a client-side event (e.g. a command click).