The M-Files Community will be updated on Tuesday, April 2, 2024 at 10:00 AM EST / 2:00 PM GMT and the update is expected to last for several hours. The site will be unavailable during this time.

How to check a property value to make sure it is unique?

I want to define a property for an object and check values for duplicates. For example, in the property "foo", when I enter a value, I want it to warn me if some other object already has that same value for "foo".

I assume I'm to do this in the VBScript based property validator when defining the property, but I'm not sure how to access all the values for that property and check if it already exists or not.

I tried this with text type properties, but can it be done with "select from list" type properties as well?