0

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.

1 Answer 1

1

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.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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