• Skip to main content
  • Skip to primary sidebar
  • Skip to footer
  • Technology
    • Development
    • Hardware
    • Intune
    • Microsoft
    • Office
    • Office 365
    • Security
    • SharePoint
    • Software
    • SQL server
  • Personal development
    • Blog
    • Career
    • Freelancer
    • Knowledge
    • NEWS
    • Private
    • Thoughts
  • Consulting services
  • Contact me

Not only IT

About life, IT and other things...

Home » Technology » Development » Lookup field issue with List template

Lookup field issue with List template

March 21, 2013 By Tomasz Szulczewski Leave a Comment

I’m working for my customer with SharePoint project. As there’ s nothing the part of the project is creating lists from scratch. As they weren’t too complicated I just save list template from my developer machine as stp file. Just a few seconds and the list was created on my client SharePoint farm. But when I display the list in some cases were issues. What’s happen? I’ve discovered that fields with issues where lookup fields. But why??? All list with lookup columns where already in place… Then I just learned that SharePoint use list GUID’s to link lists. So my field in list template is linked to column from my developer machine, by GUID, but my client SharePoint has a lists with different GUID’s and that’s the reason. So what to do?

1. Get your stp file and rename extension of the file from stp to cab.
2. Then you should be extract Manifast.xml file.
3. Replace the old value List Id in Lookup field with list GUID from the destination site

4. Save the file

5. Create cab file with Visual Studio with your xml file

6. When cab file is created rename it again into stp file

7. Upload to destination site and it works now
[adblockingdetector id=”5770e6ed85560″]

Related

Filed Under: Development, SharePoint Tagged With: SharePoint

About Tomasz Szulczewski

I've got more than 20 years of IT experience. IT is my passion and I am still increasing my skills. I work as a SharePoint, Office 365 and Azure architect.

Reader Interactions

Leave a Reply Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Join the Newsletter

Social media

  • Facebook
  • Instagram
  • LinkedIn
  • Twitter
  • YouTube

Search this site

Sign up for Wise accounts

Signup and earn $25

payoneer
payoneer

My latest achievement

Microsoft 365 Certified: Enterprise Administrator Expert
Microsoft 365 Certified: Enterprise Administrator Expert

Tags

Azure Azure Active Directory BizSpark Blog career Certification cloud conference edge freelance Freelancer Hardware home office InfoPath Intune Knowledge licensing Microsoft Microsoft 365 News Office Office 365 Personal development Power virtual agent Private security SharePoint SharePoint designer SharePoint online Software SQL server upwork Windows Windows 365 yammer

Footer

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

Copyright © 2022 Tomasz Szulczewski