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.

learn more… | top users | synonyms

1
vote
2answers
20 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
48 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 ...
3
votes
1answer
2k 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
0answers
19 views

Editing site properties

I've been trying to edit site properties of a subsite using workflow, but somehow the workflow must have edited the properties of the rootsite instead.... now my arrow beside the 'Advanced' button is ...
0
votes
1answer
92 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
1answer
60 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
1answer
34 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 ...
1
vote
0answers
34 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 ...
0
votes
0answers
7 views

Using key-value defined in Site Options inside Designer Workflow

We have some key-value defined in Site Options for a site using SharePoint Designer. We want to use these values inside our Reusable Workflow designed using SharePoint Designer. I searched but cannot ...
4
votes
1answer
2k views

Update vti_author in SPDocumentLibrary item using PowerShell?

I want to update the property vti_author in an item in a SPDocumentLibrary, but it doesn't work. The items original vti_author is the same even after running this script, why? $spSite = Get-SPSite ...
5
votes
1answer
204 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 ...
1
vote
2answers
1k 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; ...
0
votes
2answers
77 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: ...
4
votes
3answers
1k 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: ...
0
votes
1answer
69 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 ...
0
votes
2answers
363 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 ...
1
vote
1answer
2k views

Access ListItem.Properties from Javascript COM

Is there a possibility to access the ListItem.Properties from the Javascript COM? All I'm seeing is the possibility to read all Fields. There also is the funny [SP.ListItem.LoadExpandoFields()][1], ...
0
votes
1answer
364 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 ...
1
vote
4answers
2k views

Get List by “InternalName”

I'm trying to use the SharePoint 2013 JavaScript Object Model to retrieve a List via an internal name equivalent. SPList doesn't have a Name or Internal Name property. It is referred to by the ...
5
votes
3answers
8k views

Users unable to edit document properties

I have a document library on SP 2010 in which all users, including myself as the admin/owner, are unable to update properties of certain documents. Documents were moved to this folder from another ...
2
votes
1answer
225 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 ...
1
vote
2answers
829 views

Question about webpart properties

How can I access a custom property in my webpart? I have a page that contains webparts, which contains multiple instances of the same custom webpart. I wanted to use the .webpart file to add my own ...
0
votes
2answers
35 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
106 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
0answers
102 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 ...
2
votes
1answer
2k views

Edit Properties does not open when uploading document

I was under the impression that if you have a column with a required value, the dialog "Edit Properties" should be displayed automatically when trying to upload a file. I distinctly remember seeing ...
0
votes
2answers
192 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
938 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 ...
0
votes
0answers
81 views

Display page properties on Sharepoint page

I want to display a page's properties in the page itself. I can see them on my list of pages by modifying the view but if I want them to show on the actual page I have to do it manually. Is there a ...
1
vote
1answer
276 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 ...
0
votes
1answer
53 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 ...
0
votes
1answer
62 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 ...
0
votes
1answer
345 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
73 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 ...
0
votes
2answers
283 views

Error when I fill in metadata in excelsheet Document Information Panel

I am using sharepoint 2010. I have a document library with a contenttype. I have some word, excel and pdf documents inside of it. When I open an existing excel sheet and go to the Document Information ...
2
votes
1answer
444 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?
0
votes
3answers
273 views

Creating public properties in sandboxed webpart solutions

I'm trying to port a farm solution to a sandboxed one, and I can't figure out how to port this piece of code: [ToolboxItem(false)] public partial class vClockPartSB : ...
0
votes
2answers
41 views

Version is being changed when editing document properties

Is it possible to edit "Properties" of a document? Each time I edit "properties" of any document, version is being changed. Is it possible to edit and it remain in same version?
0
votes
1answer
241 views

Save properties of a Webpart programmatically

I want to save the properties of web part somewhere in Xml/Xslt, So that if i remove a web part and then, again add it. previous properties will be retrieved automatically into the web part.
0
votes
1answer
25 views

Run some code when property of the webpart has changed

Is it possible to run some piece of code when a user edits a page and changes specific WebPart property value? I thought I would simply add the piece of code to setter of the property but ...
1
vote
1answer
90 views

Security trimmed results for custom query on property

The sites in my site collection are using a custom property to determine what "type" of site they are. E.g. web.Properties["SiteCategory"] = "SomeCategory1"; I'm planning on creating a web part to ...
6
votes
6answers
27k views

How to use relative URL for image in Master Page?

I am using a logo in my Master Page which will be displayed on all pages. How do I use its relative URL? Currently it is written as: <img src="/sites/Style Library/Images/logo.jpg"> But it is ...
0
votes
3answers
253 views

Using an application page to programmatically add a property to a SharePoint web

Apologies, this is definitely a can't see the woods for the tree's moment! Can someone kindly remind me the correct way of adding/modifying a property bag entry on the current SPWeb object from an ...
0
votes
2answers
267 views

Are farm admin privileges required to update SPContentDatabase property bag?

If I store custom data inside SPContentDatabase.Properties, must I be farm admin to be able to update it? E.g. SPContentDatabase contentDatabase = GetContentDatabase(); ...
5
votes
3answers
2k views

SharePoint Property Bags

Has any one worked with SharePoint Property Bags ? I found few helpful articles but that helped me only partially. I want to write a code that writes and retrieves information from Property Bag. I ...
1
vote
1answer
647 views

How to make web part with properties for Js Development only

I want to start development for SharePoint with JavaScript, but I am not sure if it provides the same flexibility as the server side development, for example I would like to make a web part with ...
2
votes
2answers
318 views

Dates and times in Properties vs Fields

I'm trying to roll my own archiver for SharePoint. I always try to let the underlying object serialize itself. Only when it fails do I try to use .ToString(). Anyway, while inspecting the Properties ...
1
vote
3answers
2k views

DefaultValue on WebPart Custom Properties

I'm new to SharePoint and I'm developing a WebPart. I'm trying to create some properties with a DefaultValue, but they stay null. Here is how I'm defining my property in my class: public static ...
0
votes
2answers
158 views

SPCopyDestinationCollection.Add() Method Does Not Persist to the Database

I'm attempting to run a basic PowerShell script to fix a lot of broken "Send To" destination links that resulted from a site migration from one farm to another. I wanted to proof-of-concept this on ...