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 am a content type which has to have a lookup field.

I have created two exactly identical lists in hub site collection and the consumer site. Then I created the lookup site column and added to the content type in the hub. Unfortunately, syndication failes with the following message:

Unable to find a lookup list /spikes/consumer/Lists/LanguagesList. The list is not part of the exported package and does not exist in the destination site collection.

Does anybody know how to resolve this issue?

Many Thanks, Gido

share|improve this question

3 Answers 3

up vote 2 down vote accepted

here is how I did based on http://ken-sharedpoints.blogspot.com/2010/06/content-type-hub-sync-lookup-lists.html?showComment=1296122223860#c3793669839818038356:

  1. published the content type (this is the content type which will keep the reference data)
  2. Created the list in hub and associated it with the content type
  3. Saved it as a list templated
  4. Exported the list template from hub
  5. Added the listtemplate.stp into list templates gallery in the subscriber site.
  6. Created a list based in the imported list templated
  7. Published the content types that have the lookup columns.
share|improve this answer
    
This doesn't work in my case. If I create a lookup column it is targeting a field in a list based on the GUID. Having a new list, created from template or not, it has a unique GUID and the lookup doesn't work. Could you share your method of implementation in more detail please? –  Boris Jul 12 '12 at 11:18

The Lookup column has a ListID property which contains the GUID associated with the list it is looking up to, so the ID of the list being lookup to on subscribing site collections must use this ID.

Best way to do this is either create this list through code using CAML, or to template the list from the Hub, and use this template to create the list on all subscribing site collections.

share|improve this answer

It sounds like your published site column isn't looking up the list in the different site collection (which you've probably already figured out).

You may have a list that looks the same but unless you deployed a listinstance sharing the same guid it probably won't work.

In SP2010 you're better off addressing this requirement with Managed Metadata although there are probably reasons why this approach is invalid for your situation.

share|improve this answer
    
Niel, Thanks for the reply. Ken in his post [ken-sharedpoints.blogspot.com/2010/06/… has mentioned that thsi approach has worked for him –  gido Jan 27 '11 at 9:28

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.