Questions tagged [guid]

A globally unique identifier (GUID) is a unique reference number used as an identifier in SharePoint.

1
vote
0answers
26 views

How to know what object is used for sharing in SharePoint online via powershell

I have retrieved a report to extract all the site groups across site collections in SharePoint Online tenant. During this process, I have got an item "sharing links with GUID". how to find what item(...
1
vote
0answers
20 views

Why is there a UUID attached to each object identity?

I am using CSOM to access sharepoint objects, and I need unique identifiers for site collections, webs, lists, and list items. So when you have an object identify for example for a site collection, ...
0
votes
2answers
43 views

Get URL to site collection from site collection GUID

Using SharePoint Search Query Tool I have found out that some old "ghost" instances of my site collections exist on some servers in a big farm. When I use the search functionality in SharePoint I get ...
3
votes
2answers
142 views

SharePoint list template doesn't appear in Add apps

I have a SharePoint list, I saved its template, downloaded it and renamed the .stp extension to .zip. After that, I extracted manifest.xml file, edited it and changed the list's GUID. After that, I ...
0
votes
1answer
263 views

Getting GUID of a document using REST

I can preview a document in sharepoint by hitting /sites/sitename/_layouts/15/WopiFrame2.aspx?sourcedoc={GUID}&action=view&wdSmallView=1 I know I can also get the preview by just placing the ...
1
vote
0answers
51 views

GUID field in EditForm

I have some GUID fields in a custom list. I've created a webpart to manage that list. By code I can edit the content of these fields successfully (with JSOM). However, I can't add the values for ...
1
vote
1answer
5k views

CAML query managed metadata field using the TermGuid

I have a dropdownlist which I populate with the names and IDs of a bunch of terms from my term store. When I then select a term in the dropdownlist an autopostback happens. When this postback happens ...
0
votes
1answer
507 views

Find all lookup fields that point to a List

I have List X which needs simplifying. List X has 70 fields and I will split out about a third of the fields from List X and recreate them in List Y. After I can link the two lists, List Y will ...
1
vote
1answer
162 views

Unable to create a Term Set using powershell. Error:- “Cannot convert argument ”lcid“, with value…Input string was not in a correct format.”

I want to create a term set using powershell, and i need to pass the term set GUID, as i want to create a copy of our staging term sets inside our live server, so i can export/import managed metadata ...
0
votes
1answer
50 views

Same GUID'S for files in sharepoint 2013 library

I have come across one rare incident while i'm doing some work with SharePoint 2013 library and the issue is i'm getting same GUID's for 3 files while retrieving files information from the library. ...
0
votes
1answer
76 views

Workflow to copy document from list to list in a different site collection by using GUID?

I am trying to copy a single document from one document library to a document library in another site collection. Here is an existing workflow that uses a GUID as a destination. The GUID shown here ...
1
vote
0answers
665 views

Get the library name from GUID in VBA

I want to pull information from a SharePoint 2016 list in VBA. Below Code is what I found and that is working without depending on a view. Unfortunately the SQL query uses the list Name. A user could ...
2
votes
1answer
71 views

SharePoint Field with Guid type always has null value

I have a custom page library with Guid type field in my SP2013 portal. ItemAdded event receiver set value to this field. But when I try to get value from this field by update receiver I get always ...
4
votes
3answers
2k views

Is there a way to start a SharePoint workflow from VBA code?

I created a tool in Excel VBA that generates a custom report from the data I pulled from a SharePoint list via Excel VBA code. What I want to do is change/update the "Status" field for items within ...
0
votes
1answer
309 views

Create a list item and specify its GUID

I'm aware that (integer) ID can't be specified for a list item when it gets created (and why), but it seems like there should be a way for a client to specify the GUID for an item it is creating. This ...
0
votes
1answer
770 views

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

I am trying to get the document details of a document with its GUID, but error says "Value does not fall within the expected range." query.ViewXml = "<View Scope='Recursive'>" + _ "<Query>...
0
votes
1answer
226 views

Get all list item ID's that have been read by user - from audit log - SPList.GetItemByUniqueId - value does not fall within the expected range

SharePoint 2013 on premises. I'm executing a query on audit log with restriction to a specific list and user. I'm getting results and I need to get the list item ID using the guid in the results and ...
10
votes
3answers
11k views

How to get List name by its GUID using Javascript

I have created a survey list. I need to change the redirection from QstNew.aspx page to Overview.aspx. For this purpose,I require list name to be fetched dynamically. I can get the list GUID from ...
2
votes
0answers
26 views

Create custom list with predefined LIST GUID [duplicate]

I need to create custom list with predefined list GUID. I have found no clues to do that.Can anyone suggest the code.
0
votes
1answer
79 views

SharePoint 2010 People Search Results with Managed Properties returns GUID

I have been tasked with adding some extra phone numbers to our SharePoint 2010 People Search results. To do this, I have created some custom Managed Properties, and mapped them to the relevant Crawled ...
0
votes
1answer
1k views

Get List Names of all Lists using particular site columns

I need to get the names of all the lists using specific site columns. I've got the following code $web = Get-SPWeb "http://nameofsite/sites/subsite" $filePath = "E:\lists.txt" $array = "array of site ...
1
vote
1answer
10k views

Find field in site collection based on GUID

Looking for a way to locate a field by it's GUID in my site collection...any one know a way to do this in powershell and dump out where the field is being used?
1
vote
1answer
1k views

How to use Manage Metedata Taxonomy as a Source for Dropdown box in Infopath

I have an InfoPath form with a dropdown box, where I want users to be able to select which department they work in. Department details are stored in Managed Metadata : Managed Metadata Service -> ...
1
vote
2answers
73 views

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

I have some code the uses the ID of an item in a list or document library to work fully. Now that our site has been migrated from SP2010 to SP in O365 the documents and list entries being returned do ...
1
vote
1answer
121 views

List item IDs and GUIDs after restoring from recycle bin

I want to know if we delete List items and then restore same items from recycle bin, then they will be restored with new IDs and GUIDs or with the old IDs as before deleting?
4
votes
3answers
5k views

Get GUID of SharePoint list using jQuery

I have different sites like http://SP.abc.com/SPSite1 http://SP.abc.com/SPSite2 http://SP.abc.com/SPSite3 and each having one Library with the same name called Lib1. Now I want to get GUID of this ...
1
vote
0answers
156 views

Assigning a Unique ID to List Entries Based on other Columns

So here's the set up; I've got a list with a bunch of columns (Task ID, Task Description, Project, Start Date). It's being used as an action tracker where anyone can choose to add an item and a form ...
0
votes
1answer
55 views

is either new SPSite(string url) or new SPSite(GUID guid) better than the other? how

I have cached access to either the Url or the GUID for multiple SharePoint site collections (SPSites), and I am trying to create new references to them for permissions purposes (SPSite constructor). ...
2
votes
2answers
209 views

GUID of SharePoint Objects

Is GUID of SharePoint Objects globally unique? Or is there any case where it could be duplicated?
2
votes
3answers
3k views

Is there a way to see GUID for a metadata column in a list without using a SharePoint Designer?

Is there a way to see GUID for a metadata column in a list without using a SharePoint Designer? I could have used SharePoint Designer but I can't because the customer has turned it off for some ...
1
vote
1answer
28 views

Which ID to use store the entity locally

I am building an app where I need to store the Sharepoint Entities locally. Which of the following Ids is best suited for such scenarios? GUID. Unique Id. Id.
0
votes
1answer
352 views

Detect Content Type by Name JS

I have some javascript running behind my NewForm.aspx. I would like to modify a Choice field based on the Content Type being used. I can determine the Content Type by checking the parameter: ...
0
votes
2answers
127 views

How can I link to the Upload Document page without using the GUID of the document library?

Currently I'm showing the Upload Document screen in a modal so my users can upload a document to a Document Library. The URL I'm calling to display that modal is this: http://example.com/_layouts/...
2
votes
1answer
436 views

FullTextSQLQuery with a Taxonomy GUID in Where Clause

I've created a few documents and tagged them with various Taxonomy Terms from a Term Set. The terms I have chosen are children of other Terms. I've executed a crawled and created a Managed Property ...
0
votes
2answers
2k views

New-SPContentDatabase creates database with guid instead of name

I am quite new to Sharepoint and I have a question that has been bugging me for a few days now. I have a powershell script that is setting up some site collections in a Sharepoint webapplication I ...
0
votes
1answer
495 views

Web Part specific DOM Manipulation. Two identical Script Editor Web Part Code blocks

We have a script editor web part with javascript that references some jquery libraries. The code creates web part properties and hides DIV tag in the web part based on some conditions. It works ...
0
votes
1answer
819 views

URL to list with view passed on as GUID

Is there a possibility to create a URL to a list/library with a certain view but not using on the .aspx in the URL but the GUID of that view? So not: https://company.com/sites/DocLib/Forms/View1....
1
vote
0answers
1k views

Unable to locate the xml-definition for FieldName with FieldId

On a site collection of SP2013 on-premise farm, I found there are many similar log occur every minute. The logs are like: Unable to locate the xml-definition for FieldName with FieldId '', ...
1
vote
1answer
167 views

“List not found” error when deploying WSP to host-named site collection

We have prepared a SharePoint site collection with a site and a sub-site which we have saved as two WSP template files, including content. These deploy fine to our Staging server when we put them ...
6
votes
1answer
10k views

Get Library and Folder from document guid (C#)

Information given I am using version 16.0.0.0 of the Microsoft.SharePoint.Client library. There are several different document libraries in the SharePoint site. In code, we are given a list of ...
0
votes
2answers
82 views

How do I show a single event on a page?

I want to display a calendar list entry on a page. I know the GUID of the entry, but I'm not sure which webpart to use. Basically I want to display the title, location, start time etc on a webpage. I'...
-1
votes
1answer
638 views

Get selected item ID to display in customized DispForm javascript

I'm using SharePoint Online and have a SharePoint-hosted app. I have a page with a question form that send data in to SharePoint. I show my question form in my DispForm for my list (I added my app as ...
2
votes
2answers
8k views

Is there a way to get all file URLs for a library with a single REST request?

I have a bunch of images in a library that I need to get URLs for each item. I can get the GUIDs with this: /sites/mysite/_api/web/lists/getbytitle('Rotating%20Banner')/items Is there a way to ...
0
votes
1answer
488 views

GUID field from data base table in external list

I created an external list based on table from data base. But one field in my table has type "uniqueidentifier" for GUID values and does not display in external list. Is there any way to solve this ...
3
votes
3answers
8k views

Get Web Part name from GUID

We're migrating from SP2007 to SP2010 and are seeing some error messages about missing web parts during the upgrade, but the error messages only list the GUID and not the web part name. Is there a way ...
10
votes
5answers
871 views

What are the benefits of grabbing a list by Guid compared to any other way

I know its always best to access a list by its Guid since it won't ever change, compared to accessing a list by Title or Url, but what are the other benefits of grabbing a list by the Guid? There ...
1
vote
0answers
137 views

MySites URL - use another query paramater other than accountname? GUID? | SP 2013

Is it possible to use a different query parameter other than accountname for Mysites? For example, can we use the GUID to link a person to the person.aspx page? The problem is that because the ...
0
votes
4answers
4k views

How to programmatically get Feature ID?

In order to programmatically activate a feature, you need its Feature ID (some type of GUID) that is set in the .feature file. Is there a pretty way of retrieving this value programmatically, so that ...
0
votes
1answer
740 views

TermSet 'ID' is a ReadOnly property

I'm trying to set a TermSet.ID in Term Store, but fail since this is a read-only property. Is there any way to override the ReadOnly setting? if ((Get-PSSnapin "Microsoft.SharePoint.PowerShell" -...
2
votes
4answers
13k views

Get the List id (Guid) for a list by name in SP 2010 Programatically

If I pass in the name of a list is it possible to get the GUID id of that list and return it? I know you can get it on creation of the list, but I am assuming the list is already created. Assuming i ...