Hot answers tagged

13 votes
Accepted

How to get List name by its GUID using Javascript

You can use the below rest call as well.: Replace guid with your list guid. $.ajax({ url: _spPageContextInfo.siteAbsoluteUrl + "/_api/web/lists(guid 'b778bbec-dd69-4a6c-9437-c73972c36292')", ...
Gautam Sheth's user avatar
  • 30.9k
11 votes

How to get List name by its GUID using Javascript

Using Client Object Model will help in this case: var oList; function getListTitleById() { var clientContext = SP.ClientContext.get_current(); oList = clientContext.get_web().get_lists()....
Arsalan Adam Khatri's user avatar
6 votes
Accepted

SharePoint list template doesn't appear in Add apps

SharePoint Template files (.stp) are not zip files. They are actually cabinet files - so the correct extension if you want to browse their content would be .cab, not .zip. Since you were able to ...
SPArcheon's user avatar
  • 6,868
6 votes
Accepted

Get GUID of SharePoint list using jQuery

You can get it using REST query. The code should be: $( document ).ready(function() { GetListGuid('Lib1'); }); function GetListGuid(listTitle){ try { //REST Query to get the List Title ...
users1100's user avatar
  • 3,230
3 votes

How to get List name by its GUID using Javascript

We can also achieve this by using PnP JS library. This is open source javascript framework contains lot of utility and helper methods based on SharePoint REST API. <script type='text/javascript' ...
Shantha Kumar Thambidurai's user avatar
3 votes

Get GUID of SharePoint list using jQuery

Nice Solution added by @users1100 for SharePoint 2013. You can try JSOM also. It will work for both 2010 & 2013. var clientContext = new SP.ClientContext(); var oList = clientContext.get_web()....
Atish Kumar Dipongkor's user avatar
2 votes

Migrating from SP2010 to SP O365 has lost document library and list IDs. (GUIDs)

In the last year SharePoint online has launched an Migration API that will retain Documents IDs, Any 3rd party tools that support that API will get that benefit if they are using it right. ...
Simon Bourdages's user avatar
2 votes
Accepted

How to get details of a document with its GUID - facing error "Value does not fall within the expected range."

Try this string guid = "put-your-guid-here"; CamlQuery query = new CamlQuery(); query.ViewXml = String.Format("<View><Query><Where><Eq><FieldRef Name='UniqueId'/>&...
TARUN's user avatar
  • 2,856
2 votes

SharePoint 2013 Caml Query on GUID using CSOM returns empty

there is no SPList.GetItemByUniqueId if you can use id try GetFileById(id) If you can't use id In caml query use one of theses queries Query 1 query.ViewXml = String.Format("<View><Query&...
SPmaghrabe's user avatar
1 vote

Enable Site Feature Guids

What you are looking for is the Document ID service feature. It is found at the site collection level. So, you need to go to the site collection settings > site collection features (under site ...
Gautam Sheth's user avatar
  • 30.9k
1 vote
Accepted

Construct External Link to Sharepoint Document by GUID

If GUID is all you have and you want to avoid extra requests via REST, then the only way to construct the links is this. You need to construct a URL using the following parts: https://TENANT....
Denis Molodtsov's user avatar
1 vote

Getting document from a library based on GUID in SharePoint 2007

I am assuming you're referring to listitem Unique ID. As per quick glance at the list of STSADM operations this cannot be done. Your options to fetch the item are: Set up powershell on the farm (...
Slaven Semper's user avatar
1 vote

Get URL to site collection from site collection GUID

Try using some powershell commands as given below(Not tested): Solution 1: Save All Site GUID on local drive. For example, E:\temp\SiteID.txt with each ID on new line and run below script: $content ...
Ganesh Sanap - MVP's user avatar
1 vote

Get URL to site collection from site collection GUID

Hello you should tell your SharePoint Administrators to check SharePoint Search Service Application, Content Sources, Crawl Logs and Errors. They probably need to Reset Index and Full Crawl the ...
Zdeněk Vinduška's user avatar
1 vote

Find field in site collection based on GUID

If you are familiar with REST API, there is a simple way: https://m365x873105.sharepoint.com/sites/<SiteName>/_api/web/lists(guid'GUID OF THE LIST')/fields(guid'GUID OF THE FIELD') Best ...
AIMEN BOULAHIA's user avatar
1 vote

Get List Names of all Lists using particular site columns

I ended up doing this: $site = Get-SPSite "http://nameofsite/sites/subsite" $filePath = "E:\lists.txt" $array = "array of site column names" $column = $site.RootWeb.AvailableFields[$element] $...
rsford31's user avatar
1 vote
Accepted

List item IDs and GUIDs after restoring from recycle bin

Restored items will have the original IDs and Unique IDs.
Paul Strupeikis's user avatar
1 vote

Get GUID of SharePoint list using jQuery

On a page with the ListView WebPart displayed the listGUID is available as ctx.listName
Danny '365CSI' Engelman's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible