Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I would like to validate when i create a new list item that the metadata item selected is a specific item and not a top level category

enter image description here

for example in the above you should not be able to select People or Commercial as they are top level categories. But HR, reporting and summary should be able to be picked.

Whats the best way to do this. We currently have a custom content type in which we define this column but I cant see a way of doing this kind of check either via the UI or the fielddefinition.

My thoughts are that the best way to do this is via creating a new content type edit form which understands this validation but i was wondering if theres an easier way.

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

Go into your Managed Metadata Term Store (through Central Admin -> Manage Service Applications, then select your Managed Metadata Service), select the top level terms you want to be unavailable, and un-check "Available for Tagging".

You won't have to perform any validation, because users simply won't be able to select them as terms.

share|improve this answer
    
Thanks that's perfect –  Luke McGregor Apr 12 '13 at 23:20
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.