How to find List name from List internal name

Hi

I have SharePoint 2013 farm.  I got an error when saving a Site Collection as site template.  The error indicates a missing List on the site.  I traced the correlation ID in ULS and found the error on the missing List but the error only listed out the List internal name as below:

List does not exist
ListInternalName={6E2A5D6E-E881-4C5B-A563-E0FDB3352435}

I searched for ways to converse the ListInternalName to List name but none successful so far.

If anyone have found way to get list name from its Internal Name,  please share.

Thanks in advance for any advise / suggestion.

August 24th, 2015 12:04pm

Hi Swanl,

Please check whether the following url helps

https://johanleino.wordpress.com/2009/04/20/find-splist-by-using-the-internal-name/

Regards  Roy Joyson
Please remember to mark your question as "answered"/"Vote helpful" if this solves/helps your problem.

Free Windows Admin Tool Kit Click here and download it now
August 24th, 2015 12:53pm

Hi

From the error message, it seems like a list id, you can get all list id with the following code, run the following code in Windows PowerShell ISE:

Add-PSSnapin Microsoft.Sharepoint.Powershell
$site = Get-SPSite "http://sp"
$sitelists = foreach ($web in $site.AllWebs) {
foreach($list in $web.lists){ $list }}
$sitelists |Select Title,id |Export-CSV C:\liststitles.csv

Then you can find the List Title

Besides, here are similar issue posts for your reference:

https://social.technet.microsoft.com/Forums/sharepoint/en-US/e390386e-4822-476c-b8cd-2977b9aebee9/list-does-not-exist-error-after-saving-the-site-as-template

https://social.msdn.microsoft.com/Forums/office/en-US/a86819cd-856f-4d32-a4e1-fedf2071fc62/trying-to-save-site-as-a-template-and-got-error-list-does-not-exist?forum=sharepointdevelopment

Best Regards

Lis

August 25th, 2015 3:26am

Hi Lisa

I ran the PS script successfully on the Site and checked all the list ID but none maching the ListInternalName found in the ULS log. 

so I don't know if list ID and ListInternalName are the same thing.

to be exact, the error is as below.

bstrListInternalName={6E2A5D6E-E881-4C5B-A563-E0FDB3352435} ,dwBaseType=-1 ,dwBaseTypeAlt=-1 ,dwServerTemplate=-1

I also tried the links you suggested but none work so far

Thanks for trying

Free Windows Admin Tool Kit Click here and download it now
August 25th, 2015 5:56pm

Hi Roy

can you explain a little more like how do I run this script as where to I put in the   ListInternalName={6E2A5D6E-E881-4C5B-A563-E0FDB3352435}

I copied and run the script as is, not knowing where to input the GUID and it did not prompt for any either.  I got lot of error almost on every lines..

Thanks

August 25th, 2015 7:38pm

I finally found the what cause the error and got it resolved.

Turn out,  the error message in the ULS log just helps to point out the ListInternalName  but actually it was not a list that caused the problem in question. if After listing out all the list ID and still can't find the match with the error GUID, you will need to open the site in SPD and search for it.  It could be any other webpart but in my case it was a Summary Link webpart added to the site home page.

So I did the following to get it resolved:

  • Opened the site in SPD and open the page where the error came from
  • Searched for the GUID  above {6E2A5D6E-E881-4C5B-A563-E0FDB3352435}
  • Found the GUID and where it was located within a Summary Link web part in the page.
  • Removed all the codes in the Summary Links web part session
  • Saved the page and close out SPD
  • Opened the site and edited the page with SharePoint GUI editor
  • Added a Summary Links web part and recreated whatever links I had before
  • Saved the page
  • After that I could save the site as a template successfully

Hope this help someone.

Thanks

Free Windows Admin Tool Kit Click here and download it now
September 3rd, 2015 3:39pm

Hi,

Thanks for your sharing.

Best Regards,
Lisa Chen

September 6th, 2015 9:00am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics