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')",
...
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()....
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 ...
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
...
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' ...
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()....
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.
...
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'/>&...
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&...
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 ...
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....
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 (...
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 ...
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 ...
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 ...
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]
$...
1
vote
Accepted
List item IDs and GUIDs after restoring from recycle bin
Restored items will have the original IDs and Unique IDs.
1
vote
Get GUID of SharePoint list using jQuery
On a page with the ListView WebPart displayed the listGUID is available as
ctx.listName
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
guid × 85list × 17
2013 × 10
2010 × 7
powershell × 7
managed-metadata × 6
sharepoint-online × 5
sharepoint-enterprise × 5
javascript × 5
document-library × 5
document × 5
url × 4
sharepoint-server × 3
development × 3
rest × 3
column × 3
web-services × 3
site-collection × 3
caml-query × 3
taxonomy × 3
list-item × 3
sharepoint-designer × 2
workflow × 2
web-part × 2
2007 × 2