Stack Exchange Network

Stack Exchange network consists of 174 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

In SharePoint properties are name/value pair assigned to Site Collections, Sites, Webs, Lists, Libraries, Pages and Web Parts. Properties can be changed programatically or by using PowerShell.

3
votes
1answer
26 views

How to extend search count in content search Web part?

I have created the sharepoint 2013 content search web part. it shows only maximum of 50 results , i need to extent the count upto 200. is possible to do it in extended content search web part without ...
0
votes
0answers
14 views

view properties in search

I have made a search field for "my lsat documents" and "my last checked out documents". I need to add a column with a button for each document to display the predefined modal box with it's properties. ...
0
votes
1answer
266 views

to save to the server, correct the invalid or missing required properties

We are using SP 2013 and Office 2010 (yes old) and we are having some trouble when saving a new document to the library as the required fields, even though they are filled in, are still considered as ...
0
votes
0answers
34 views

Did not find the required 'results' property on the object wrapping a feed

I'm using the library here https://github.com/vgrem/phpSPO When I try to update the title of a web using: $ctx = new ClientContext($site_url, $authCtx); $web = $ctx->getWeb(); $web->...
1
vote
0answers
18 views

How to create a custom property for targeted audience within a sharepoint web part

So I have an existing Sharepoint web part and I want to allow a button within that web part to hide or show depending on the users group, however I also want this to be configurable like the targeted ...
1
vote
1answer
532 views

REST API, access document library's document properties

Am quite new to REST API. Our is a SharePoint 2016 on premises environment. We have document library. This document library has a property of type 'Choice'. We added a document and set the value for ...
0
votes
1answer
148 views

Set no to Allow this site to appear in search results using XMl and c#?

I need to set No for Allow items from this list to appear in search results? for my custom list, so I achieved this by following PowerShell scripts //Get the list which was created SPList spList = ...
1
vote
1answer
146 views

How to filter a document in document library based on file properties using caml query?

I need to filter several documents in document library based on file properties(Two managed metadata property)using CAML query. Please suggest me an idea to achieve this
1
vote
1answer
741 views

How to get current page properties in SharePoint page using c#?

I have created the SharePoint custom page called "Finance.aspx".I have changed the page title as 'Finance page'.i need to the current page title from page properties using c# code. please suggest ...
0
votes
0answers
40 views

Update a web parts zone using JavaScript?

Is it possible for me to update a web parts zone property using JavaScript/jQuery?
4
votes
3answers
770 views

Crawled Properties missing in Powershell but show in Central Admin

I have a set of crawled properties I want to map to managed properties using powershell. But for some strange reason they can't be found when using PS, but they show up in the UI and I can make them ...
0
votes
0answers
59 views

cannot access public properties of one userControl (FirstControl.ascx) from another UserControl (SecondControl.ascx) in sharepoint

I have created a userconrol named FirstControl.ascx and SecondControl.ascx in Sharepoint. Both the controls automatically created under CONTROLTEMPLATES\MySolution\.. folder Within SecondControl.ascx ...
0
votes
1answer
38 views

Where to store web-app wide property with web-scoped feature?

I need to store two URLs in a web-scoped feature. The reason for this is that my solution is deployed unto two different sites and I want to use these properties for storing the urls of these sites so ...
0
votes
1answer
228 views

Get all the lists on sub webs using javascript

I would like to know how to get subweb lists using CSOM. I actually know how to get lists on a web and how to get a sub web collection but I can't figure out how to get lists on sub web collection. ...
1
vote
0answers
15 views

Properties Window only shows one field

The Properties window should show multiple fields on a document. Instead it just shows the first field. If I switch to Sharepoint Classic, it shows OK.
0
votes
1answer
37 views

Prevent Web Part Apply/OK based on Custom properties

I'm building a SP Web Part with custom properties which is working pretty much the way I want. One of these properties is a text field holding the name of a list in the SPWeb. I'd like to prevent ...
0
votes
2answers
4k views

Sharepoint properties update using Excel VBA

I am able to upload files to Sharepoint through VBA but I'm not able to update these properties to have their properties updated with 'Document Status' and 'Confidentiality' Fields. Until these are ...
0
votes
0answers
37 views

Item Edit Properties URL in workflow [duplicate]

I have a workflow that requests a user to add metadata. I have the link to the document working fine but would like to add another link that would take user directly to edit document properties. ...
1
vote
1answer
1k views

Update Document Properties using C# - SharePoint Online

I have a drop off library in a site collection on a SharePoint Online tenant and I am writing a C# console application to update properties of uploaded documents, my code doesn't seem to update the ...
1
vote
1answer
47 views

Properties of Team Sites and Publishing Sites

I was just checking on the various features and properties of the various types of sites available in SharePoint 2013 and then I came across the Edit Properties Settings. In the Team Site Properties, ...
0
votes
2answers
48 views

Upload document dialog box trimmed

For a particular document library in SP 2013 when i try to upload documents, the dialog box to enter the properties is hidden/trimmed. What can be the issue?
1
vote
1answer
63 views

Update properties of document

I'm trying to update properties of documents in my SharePoint site using C# code. This is the code I'm using to get to the folder I need: public SPArchiveBDI(string sharepointsite, string ...
1
vote
2answers
79 views

Event Receiver SharePoint list- Is there something like properties.AfterProperties to use for text coulmns?

I tried using properties.AfterProperties in event receiver that I am using for sending updates in SharePoint list to specific e-mail addresses. So far I found that it's working well with yes/no ...
1
vote
0answers
19 views

Access Document Properties With Filename - SP 2010

I have a document library that currently exceeds the list view threshold for all views, so I cannot see any of the library's documents, and I want to edit the properties of a document. I know the ...
1
vote
1answer
175 views

Can I get Last write time of a file in SharePoint via Powershell?

Is it possible to get when was the last WRITE time of a file in a document library by using Powershell? $url = "http://myserver/sites/mysite/shared%20documents/myfile.xlsx" $webclient = New-Object ...
0
votes
1answer
716 views

Inserting barcode into document when it creates

I am using SharePoint online (office 365). As you know, you can add the value of fields(Site columns) from a Document library into a document by using Quick Parts. I have manged to add Barcode field ...
1
vote
0answers
292 views

SharePoint 2013 - Search results web part - how to display page title instead of page filename

I'm trying to set up landing pages with a dynamic page list based off tags, I've gotten it to work correctly - how ever I can not for the life of me get the results to display with their correct page ...
1
vote
1answer
387 views

'System.UnauthorizedAccessException' when accessing AllProperites if elevated web

Though the web is elevated, I get the following exception 'elevatedWeb.AllowAnonymousAccess' threw an exception of type 'System.UnauthorizedAccessException' when I try to access the elevated web ...
11
votes
1answer
898 views

Custom properties for app part

I am developing a provider hosted SharePoint app part. I have defined some custom properties for the app part. I am testing the app in a SharePoint online tenant. On a developer site when I edit the ...
5
votes
1answer
952 views

Change / rearrange / move user properties - Powershell

Is there a way with PowerShell to rearrange / change the order of user properties? If I create a custom user property and make it visible on the mysite I have to click like 100 times to get in to the "...
0
votes
2answers
289 views

Is it possible to GET a list of Files in a document library with “extended properties”

I have a document library to which I added some extra columns, mainly important one is "country". I can GET the list of Files using the following URL: /web/getFolderByServerRelativeUrl('/path/to/my/...
1
vote
2answers
2k views

How to display Title field as editable in Edit Properties

I have a custom Content Type, and a library template with that Content Type, that includes showing the default Title column. I created a library with the template with that Content Type yesterday, and ...
2
votes
3answers
4k views

How to modify Author field of ListItem

I am building a migration tool that is migrating items from an XML schema to SharePoint list fields. Everything is working fine except when it comes to the migration of Created By fields. I need to ...
2
votes
1answer
3k views

Document Library Metadata Lost when Office File replaced?

I have a Document Library with many properties on it's Content Type. After uploading many types of files and enteringtheir metadata (properties), some users may need to re-upload that file in the ...
4
votes
1answer
992 views

SharePoint 2013: Client Object Model NavigationNode properties

Can we set NavigationNode objects properties through Client Object Model [C#]? Below is the server side code of what I want to achieve through Client Object Model: var newNode = new SPNavigationNode(...
0
votes
1answer
658 views

Extract Site Collection Properties to File

Is there a way to extract all the Site Collection properties to a file using SharePoint Management Shell
0
votes
2answers
90 views

Custom views on the list of document Libraries in a site?

for managing contracts (collections of documents) I'm using a Document Library per contract. I will end up with hundreds (500+) of document libraries. Is it possible to make custom views on the list ...
0
votes
1answer
669 views

I want to disable Edit Properties from a sharepoint form library

I have created a sharepoint form library, with custom content type. I have an InfoPath form that creates with custom code a new items in library and copying some fields in to list columns using the ...
0
votes
0answers
361 views

Filter content types based on folder properties

Given: some Content Types with "categories" multi-value property (sample values are: "legal consulting", "accounting consulting"); some folders each one with a single value "category" property User ...
0
votes
2answers
462 views

Problem to read custom webpart properties (if it's not static)

I have problem with custom properties. I want to set custom boolean value or write custom text. It do not work, if I don't set values to static. However, if I set value to static all webparts share ...
1
vote
1answer
625 views

Removing fields from document properties bar on Excel sheet linked to SharePoint library

I have an Excel sheet which is linked to a library in SharePoint, which has a 'Document Properties - Server' section at the top. They fill out the Excel sheet, save it to the library, and the ...
6
votes
4answers
5k views

SPO Retrieve HasUniqueRoleAssignements property using Powershell

I am trying to retrieve HasUniqueRoleAssignements property for multiple SharePoint Online lists using Powershell. I can do it for each one in SharePoint on-premises: $ctx.Load($list....
0
votes
1answer
85 views

Can I edit standard wiki properties? (eg. Created By) How?

The question says it all: I am looking for a way to edit the standard wiki properties, mainly Modified By and Created By. I did a massive load of the wiki database at once through a program, but that ...
1
vote
1answer
3k views

New Managed Properties don't contain values

We are facing a very unusual issue at one of our customers. Newly created managed properties are not being filled with values. The scenario: SharePoint 2013 the Search Service Application has been ...
1
vote
2answers
3k views

Event receiver CancelWithError

I need to show an error message during in the ItemAdding event from a SP2013 event receiver. I used this code in case of error: properties.Status = SPEventReceiverStatus.CancelWithError; properties....
0
votes
1answer
97 views

How to prevent Files with same Name?

I have a service that takes a file from a library and send it to an already specified folder. This becomes a problem when I'm having files with same names on diferent folders. Lets say that the ...
3
votes
3answers
7k views

Changing the Title of a Web Part Page

I have a page that I am unable to change the page title from the file name of the URL. I'd like to be able to change the title of the page so it is something different. I've tried editing page ...
0
votes
1answer
774 views

Sharepoint 2013 REST-API: get global propertybag value

on farm level we have stored several values in propertybag. As far as I've understood the REST Api there is no way to get that values because the AllProperties endpoint is on web level. So what to ...
0
votes
2answers
251 views

Add custom properties at the WEB level?

I have several custom bits of information that I would like to store at the web-level, similar to how project-level properties are stored and accessed, like logo, title, etc on the _layouts/15/...
3
votes
1answer
2k views

Maximum length of SPSite Name and Description property values

Is there any reference to the maximum size for the Name and Description properties of a site collection?