Create Custom Local Property in Sharepoint Terms

In my project there is a requirement to manage Terms with Custom Local property. For that there is a simple way to create or update custom local property in term. We can use this code at the time of Term create or update. Here is Code to create custom local property for particular term set.

/// Creates the custom local properties of a Term
private void CreateCustomLocalProperties(Term term)
        term.SetLocalCustomProperty("Property1", "Value1");
        term.SetLocalCustomProperty("Property2", "Value2");
        term.SetLocalCustomProperty("Property3", "Value3");

We can see our custom local property inside Central Admin > Manage service applications > Managed Metadata Service > select your term inside Term set:


Leave a Reply

Your email address will not be published. Required fields are marked *