Overview
Sometimes managed properties need to be triggered from outside the containing object.
Solution
Here is a quick sample for how to use a vault extension method to trigger automatic (re)calculation for a managed property.
NOTE: Before deploying anything, please test and adjust the sample as needed.
I used Compliance Kit Managed Properties (which is part of the free configuration accelerators license) to create a simple automatic value for a document, "{Person} document". This outputs that dynamic value for property "Automatic property value":
Now, I want to update this value whenever the Person name changes. For this I used the Vault Extension Method that is described in the Compliance Kit Configuration Manual (see Knowledge Base). Note that I have not limited this to any object type! So, this needs more filters before actual use.
Now what happens is when I change Person object, it will search for anything pointing to it and ask the vault extension to perform recalculation for that specific object.
