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 have the following scenario:

  • A Term Set setup called "Projects"
  • The first level of terms under "Projects" are all names of Clients (eg. ClientA, ClientB, ClientC...)
  • The second level of terms under each Client are names of actual Projects (eg. ClientA\ProjectX, ClientA\ProjectY, ClientB\ProjectZ...)
  • A root level site collection that house a collection of Client subsites.
  • Each client subsite contains a document library that has a column linked to the "Projects" term set.

I have the following requirement to implement:

  • When browsing a document library within the site for ClientA (url: http://root/ClientA) the metadata navigation hierarchy should only display the second level of terms that are underneath "ClientA" in the Term Set (eg. ProjectX, ProjectY).

Any ideas on what would be the best way to implement this?

share|improve this question
    
I have a similar requirement. wherein the termset will be categorized according to the department and the term for one department should not be visible for the other department, the termset will be configured in the document library. would like to know how you achieved this. With regards srividya S –  user4478 Aug 18 '11 at 10:44
    
@srividya it is possible using the UI as Neil mentioned below and it is logical that it should be possible to implmement in code. As my comment below though i did not end up implementing it. –  mundeep Aug 22 '11 at 12:44

1 Answer 1

up vote 2 down vote accepted

Yes

I would customise the "Project" site column. Instead of looking at the 1st level (Client Name) I would start it at the 2nd level (Project name) and then within each site/library ensure that column is configured against the correct Client. This can be done either via the UI or via code (in case you have an event handler that fires when creating a site/list).

Cheers

Neil

share|improve this answer
    
Thanks Neil, looks like it works via the UI, unfortunately i now have a conflicting requirement so currently won't be able to look into implementing this in code :( –  mundeep Jul 8 '11 at 9:22

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.