Questions tagged [properties]

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.

Filter by
Sorted by
Tagged with
1
vote
2answers
3k 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 ...
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
4k views

How to get SPSite aka SPWeb property bags using ClientContext? [duplicate]

Possible Duplicate: Grab a specific property bag using ECMA script I would appreciate if some paste a sample code to get the property bags values using ClientContext?
1
vote
2answers
621 views

Add hyperlink to custom web part properties

I would like to add a hyperlink to a custom web part which will take the users to a web page on a new window with the configuration settings for the web part. If I try and add a text property as below,...
1
vote
2answers
999 views

WebPart property with a HyperLink editor?

I am currently developing a SharePoint 2010 WebPart that has a custom property which has to capture the Url of an external website. In an attempt to make the WebPart more complete I would like the ...
1
vote
1answer
223 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
52 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, ...
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....
1
vote
1answer
1k 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 ...
1
vote
3answers
3k 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 ...
1
vote
2answers
217 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 ...
1
vote
1answer
10 views

Created columns are not showing in the page detail form of web page in SharePoint Online?

I need to add a date and time type properties and change it via page details form of web page. When I add properties in the Pages library, it is not shown in the page details form of web page in the ...
1
vote
1answer
2k 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 ...
1
vote
1answer
1k 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 ...
1
vote
1answer
1k 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 ...
1
vote
1answer
256 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 ...
1
vote
1answer
458 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 ...
1
vote
2answers
478 views

AssociatedGroups collection of SPWeb?

I'm having a hard time understanding the purpose of adding an SPGroup to the AssociatedGroups collection (or its respective property bag item) of a site other than the group(s) appearing in the quick ...
1
vote
1answer
76 views

Setting a custom property to specify user permission and creation of groups

I've been reading a few blogs on how to create custom properties in a visual webpart. I've set three values on a dropdownlist and populated the custom property with these values. When I change the ...
1
vote
1answer
154 views

Multiple files upload to document library simultaneously & Custom property

I have a custom SharePoint 2007 document library which has a custom boolean column "Is it Important". It works perfectly for all documents if I upload documents one by one regardless of if its a word ...
1
vote
1answer
23 views

how to ask for document properties only if another property is first assigned

for example, property #1 is "color," with the choices blue or green. property #2 is "hue." if someone selects "blue" for the "color," then their options for "hue" are navy and aqua, whereas if the "...
1
vote
1answer
542 views

Get all webs with certain property value

If I have a certain number of webs within my site collection, and those web have set some property, eg. web.Properties["foo"] = "bar". I'd like to get list of all the webs which have property foo set ...
1
vote
1answer
89 views

How to make two activities communicate in my workflow

I'm working on a workflow in which I'm calling a custom activity. After the call of the custom activity I'm trying to get properties which have been changed in the custom activity in my ...
1
vote
1answer
1k views

SharePoint 2010 Ribbon Customization (Copy/Paste List Item Properties)

I have a requirement to copy and paste only the properties of a document library item. There must be two button on the Edit-Form.aspx ribbon that allows me to copy and paste only the properties. I ...
1
vote
1answer
7k views

How to change folder properties inside a sharepoint library

We have an existing SharePoint library that was created years ago for project management. The users who used to manage it are no longer with the company. The library is setup with multiple folders. ...
1
vote
2answers
229 views

Packaging custom properties for mysites in sharepoint 2010

Is it possible to package custom properties that i manually create for profile for mysites in sharepoint 2010. E.G. music, hobbies ... So next time i just next time i dont need to do it manually when ...
1
vote
3answers
758 views

Is ist possible to share viewstate properties between webparts?

I have a class "Wepart A" and a class "Webpart B" which have some similiarities. So I introduced a BaseWebpart from which A and B inherit. I want to share 2 properties (SortColumn and SortDirection) ...
1
vote
3answers
502 views

Term Set in sp2010

I noticed that "Choice List Settings" is missing when adding a custom property to user profile (thru CA). Did it get replaced with Term Set? If yes, will the multi-value custom field play well with ...
1
vote
1answer
106 views

How do I set a property of the feature control loaded within a delegate control?

I'm currently have a delegate control as such; <SharePoint:DelegateControl runat="server" ControlId="MainNavigation" AllowMultipleControls="true"> I also have a feature which has a element ...
1
vote
2answers
719 views

Caching mechanism for parameters stored in a web application's property bag

I got following scenario. A web part needs certain configuration parameters (primitive data types) like e.g. an URL (string) to retrieve and show data from an external system. As each instance of the ...
1
vote
0answers
27 views

How to display metadata on a site page - SharePoint 2016?

Similar to (How to display metadata on a site page), I'm trying to figure out how to display page metadata on the page itself (like ModifiedBy and Modified date, as well as some custom metadata ...
1
vote
0answers
17 views

SharePoint can't write document properties when I upload a word document

SharePoint is not able to populate document proprieties when I upload word documents to the document library. Our Sharepoint document library designed in a way when we upload documents, There is ...
1
vote
1answer
22 views

Do not see document properties I created

I moved a handful of documents out of a SharePoint library to a brand new library using the content and structure tool. I added new documents to the new library and wanted to update the properties. ...
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
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.
1
vote
1answer
68 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
85 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
21 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
0answers
322 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
850 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 ...
1
vote
1answer
685 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 ...
1
vote
0answers
121 views

Sharepoint 2010 - get List IRM properties with client object model

This link here shows you how to get the IRM properties of a list with the sharepoint sdk: http://sharepoint.nauplius.net/2013/07/using-powershell-to-manage-sharepoint-information-rights-management-...
1
vote
1answer
510 views

List item Title goes blank after editing document in Word

I am creating new document in document library using this code: private SPListItem CreateNewDocument() { SPContentType documentContentType; byte[] bytes; string templatePath; ...
1
vote
0answers
206 views

Can't update document properties through any API - only through check out and check in

I have a few documents in a library that I can't seem to update the properties for through the Web UI, the ListData.svc (JSON/JS), the object model or PowerShell. We have a property called Data Rights ...
1
vote
1answer
794 views

How bind a custom ContentType with activity CreateTaskWithContentType ?

When I create a task with activity "CreateTaskWithContentType", I can't bind a custom ContentType with the list "Tasks". For the moment I try to bind my CT with the correct path in properties ...
1
vote
0answers
545 views

Multiple Propset Guid Mapped to a Category

I'm working in a powershell scrip for F4SP 2010 server that reads lines from a .csv file and creates the mappings between managed properties a crawled properties. I don't have much problem, just a ...
1
vote
0answers
218 views

“Search Option” adding Multi-Value properties but wont show up as intended

I added 3 new Property to user profile (thru CA > Manage User Properties). These are Team ID, Team Name, Team Type. Team Name and Type are string Multi Value type field. I have a bdc that should ...
0
votes
2answers
491 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 ...
0
votes
2answers
259 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/...
0
votes
1answer
497 views

Web Part Properties in different pages

Soo, I created an webpart, and I've added a custom property. The webpart works fine. Now I want to add this webpart in another page also, but with a different property value. The problem is that if ...