12 เมษายน 2555 20:25
I have a termset with multiple levels. For ex.,
-- New York
-- New Jersey
I have a couple of content types that all refer to the above Location sitecolumn that is a managed meta data column. The difference is in ContentType1, the site column should only show Canada and below terms as the selection and in ContentType2, the Location sitecolumn should show USA and below as the selection. I can accomplish this with 2 different site columns, one for each content type. But can I accomplish this by with one sitecolumn, showing different levels in the Termset hieararchy depending on content type?
16 เมษายน 2555 8:38ผู้ดูแล
Using separate columns with expected terms in each column is the normal way for your scenario, however, from your description, if you want to use one site columns, make part of terms available for the column based on content type seems to make a detour.
Based on my understanding, a workaround may be that create event receivers for each content type, in the event receiver, when new/updating the item, check whether the meta data column terms is correct for the content type, and change the column if needed, set it based on the content type, more information about create event receiver for content type:Thanks,
TechNet Community Support
- ทำเครื่องหมายเป็นคำตอบโดย Qiao WeiMicrosoft, Moderator 20 เมษายน 2555 13:18