Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [guid]

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

0
votes
2answers
36 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
116 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
93 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
38 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
140 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
46 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
71 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 ...
0
votes
1answer
403 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
0answers
588 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
64 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 ...
0
votes
1answer
259 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
625 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
210 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
10k 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
24 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
78 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
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
1answer
114 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
4k 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
153 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
54 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
202 views

GUID of SharePoint Objects

Is GUID of SharePoint Objects globally unique? Or is there any case where it could be duplicated?
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
330 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
125 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/...
1
vote
2answers
63 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 ...
0
votes
1answer
482 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
765 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
165 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
635 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
7k 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
472 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 ...
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
9k 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?
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 ...
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
1answer
721 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" -...
0
votes
2answers
473 views

Display GUID column of document in the XML Api request

Before I start, let me just say that I have no experience with Sharepoint. Because of this I do not have the necessary knowledge of the different terminology, so bare with me. That said, I'm currently ...
0
votes
2answers
560 views

Getting ClientContext by guid

If I understand correctly , each SP site has it's own 128 bit generated unique id. Is it possible, in CSOM, to do something like: ClientContext context = new ClientContext('128-bit-generated-id'); ...
0
votes
0answers
69 views

Creating a feature however manifest does not contain GUID ID

Currently I am creating four custom features within a visual studio sharepoint 2010 project. Within the manifest there is no ID generated once the feature has been created for two of the features. All ...
1
vote
1answer
419 views

Best way to copy site collections

I am looking in to copying a whole SP 2013 collection to a new one. (target URL could be in the same server or farm, though unlikely) I want to mention that, this is meant to be a 'copy machine' to ...
1
vote
2answers
6k views

Autoincrement a field based on ID

So I'm trying to autoincrement a field on a list item. First i tried using a calculated value field "=[ID]" which works the first time, but after saving a new item to the list the "[]" are gone and, ...
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 ...
0
votes
1answer
279 views

{ListId} token is not replaced by the Id of the List

I'm extremly new with Sharepoint 2010. In my masterpage, I display a list of news. I'd like to create a permanant "Add news" at the bottom of the list (programmatically) but I can't find the ListId. I'...
5
votes
1answer
16k views

Powershell to List GUIDs of Lists and Libraries but how to seperate

Working on a script that will dump out all of the lists and libraries in a site, I found the script on Mike Smith's Blog: http://techtrainingnotes.blogspot.com/2011/06/finding-sharepoint-guids-using....
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 ...