Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback

Last updated on 3 April 2026

Admin
VBScript code is edited in the Edit VBScript code window available in the following dialogs: The available variables are described in the table below.
Note: When you develop new extensions or edit existing ones, we recommend that you replace VBScript content with Vault Application Framework (VAF) compatible code for future compatibility. For more information on the benefits of VAF development over VBScript, refer to The Vault Application Framework in M-Files Developer Portal.
Note: The M-Files API documentation is available online: M-Files API.
Note: In a shared M-Files Cloud environment, you can only install custom code that M-Files has validated.

Property definitions not shown for scripts

The property definitions listed in the following table are not shown by using the PropertyValues variable in scripts:

ID Name
24 Status changed
22 Single file
27 Deleted
28 Deleted by
33 Comment
29 Version label
30 Size on server (this version)
31 Size on server (all versions)
32 Marked for archiving
46 Collection members (documents)
47 Collection members (document collections)
101 Class groups
41 Assignment description
42 Deadline
43 Monitored by
44 Assigned to
45 Marked as complete by
97 Marked as rejected by
79 Workflow Assignment
81 Accessed by me
82 Favorite view
89 Object changed
90 Permissions changed
91 Version label changed
92 Version comment changed
93 Deletion status changed
96 Conflict resolved
105 Object changed for export
106 Object version changed for export

For example, the following piece of script results in a "not found" error:

Dim DeadlineValue
DeadlineValue = PropertyValues.SearchForProperty(42).TypedValue.DisplayValue
Tip: You can use the GetProperties method to get all the properties of a specific object.

Still need help?