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
1answer
56 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
0answers
92 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: ...
0
votes
2answers
226 views

Sharepoint 2010: Get the List's / Library's IRM properties

I have been struggling with something lately. Does anybody know where I could pragmatically find a list's IRM settings? I am talking about these properties: Thanks, Dan
0
votes
1answer
371 views

Change “Select” choice in dropdown list to not a choice

I have a drop down list field and it's a required field, but I don't want the select default choice to be a choice. How do I accomplish this in Infopath?
0
votes
1answer
311 views

Getting the properties of an item through web services

Is it possible to get the SPListItem.Properties property of an item through one of the out-of-the-box API web services in SP 2013?
2
votes
1answer
973 views

Document ID not showing in document properties

I have enabled the Document ID Feature, and it works just fine; in the document library, I can have a view showing the IDs. However, the ID is not visible when I check the document properties, and ...
0
votes
1answer
100 views

How do i add a custom web part property with a dropdown list

How would i do this for a system.web.ui.webcontrols.webparts.webpart, i have found many articles showing how to do this for microsoft.sharepoint.webpartpages.webpart but this wont work for the ...
2
votes
1answer
415 views

Is it Possible to create Client Web Part enum property dynamically?

I am creating an SharePoint Hosted App using CSOM technology. I want to set the ClientWebPart Property dynamically. I want to add enum property Dynamically. App will bring all the list name from my ...
4
votes
1answer
501 views

Required permissions to read from a farm's property bag?

Which permissions are required to read from a farm's property bag? Background: The property bag needs to be accessed read-only from a .NET application which runs under a specific user account on any ...
0
votes
1answer
250 views

SPWorkflow.Tasks is empty when not in debug

I'm facing strange problem. I have following code to get last item workflow and its task item. var wfCol = item.Workflows; if ((wfCol == null) || (wfCol.Count == 0)) return null; var wfItem = ...
0
votes
1answer
72 views

storing persistant data at farm level for a timer job

Ive created a timer job and a application page so i can set some custom values that the timer job uses. Im currently storing the values in the farm.properties hastable so that the timer job can ...
2
votes
2answers
257 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 ...
0
votes
2answers
862 views

Hide Columns in Document Information Panel, but show in properties panel

I am trying to hide some columns from view in the DIP, but allow users to change them in the properties panel for the document. I am trying to associate 3 base content types for attaching different ...
5
votes
6answers
20k 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 ...
1
vote
2answers
673 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 ...
3
votes
1answer
1k views

Access Denied when Adding to SPFarm Property Bag

I am trying to add a new property to the SPFarm property bag but am getting an access denied security exception. As you can see in the code below it is begin ran with elevated privileges, so I don't ...
3
votes
4answers
549 views

SharePoint List / Library property bag

I'm working with sharepoint 2007 and i have a question, does a sharepoint library / list has something like property bag, where i could store some properties for the list? Like a SPWeb object. Or ...
2
votes
1answer
319 views

Access SPList.RootFolder.Properties from Client

Is there a way to access the SPList.RootFolder.Properties key/value pair collection from a client, either via Lists.asmx or the new client object model? I know I can create my own ISAPI endpoint and ...
2
votes
1answer
995 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 ...
2
votes
1answer
1k views

Get document properties.Keys value

I'm iterating all lists in a site collection trying to get all metadata, their values and eventually count them. I'm not so far yet, but I'm stuck in getting the values from a documents (file) ...
0
votes
1answer
353 views

Programmatically add new fetched properties to webpart

I have a webpart which I extend and i would like to programmatically add extra fetched properties to those that already exist, but I cannot succeed in that, maybe you could be of help to me. So here ...
2
votes
0answers
73 views

Why the Required property of field is changing to false?

I created site column with Required="true". Then I created site content type and added my column to it . Then I created list, selected "Allow management of content types?" to "Yes" and added my ...
0
votes
1answer
915 views

Update custom property on listItem using -replace in powershell?

I have two different web application with one site collection each. One Site collection is privat and the other on is public inside the intranet. The public site links to the private site which link ...
2
votes
2answers
87 views

Not pulling document properties when moving a Document Library

I'm attempting to move a very large Document Library from SP2007 to SP2010 but I cannot get the Properties of the Documents to move with the files. The library is too large to export as a Template ...
0
votes
1answer
232 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 ...
1
vote
1answer
362 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; ...
0
votes
2answers
242 views

Can we find out in Event Receiver group Users like in a CS file

In CS file I used this code and it's worked: SPWeb site = SPContext.Current.Web; int managerGroup = site.Groups["Właściciele witryny Main"].ID; if ...
1
vote
1answer
128 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 ...
2
votes
2answers
852 views

SPSite.RootWeb.AllProperties is null Claims Authentication

I just created a new WebApplication & Site Collection in sharepoint. Note : WebApplication uses Claims Authentication mode, Custom Trusted Identity Provider for my application. In powershell ...
1
vote
1answer
21 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
0answers
162 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 ...
5
votes
3answers
5k 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 ...
1
vote
1answer
1k 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
261 views

What is the start/expiry date properties called?

I need to access the scheduling/publishing start date and expiry date from code-behind (event receiver) - but I'm not sure what they're called. Probably vti_... I'm assuming? Thanks a lot.
0
votes
1answer
58 views

Where does the value of a crawled metadata property come from?

I have little to no experience with SharePoint and am working on an ASP.NET website that uses SharePoint for search by calling a SharePoint web service. From snooping around, I've been able to ...
1
vote
3answers
649 views

How to check if a item in a custom list have a property or not

I added a check Check Box to a custom list library form which works well with new files uploaded and I can check the property Value by bool.Parse(listItem.Properties["columnName"].ToString()); but ...
0
votes
3answers
264 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 : ...
1
vote
1answer
314 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 ...
2
votes
1answer
594 views

how to get Custom List Item Property

I added a new column to Sharepoint Custom list which is boolean type, now each time I upload a item to list, it displays that column to check or leave it blank, by default its checked, I wanna access ...
1
vote
1answer
80 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
660 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 ...
0
votes
2answers
2k 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?
0
votes
0answers
333 views

Some users unable to edit document properties

As of last week, a small handful of users are unable to upload or edit properties of documents. The users get the dropdown to the right of the document (If it is already uploaded), or uploaded via ...
1
vote
1answer
777 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
4k 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. ...
3
votes
1answer
1k 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 ...
2
votes
2answers
1k views

Activate Feature in Powershell and specify custom properties

I want to activate a feature with custom properties. It is easy to do in onet.xml by providing Properties: <Feature ID=“78277796-98D9-4276-B7D2-E3374AAC43D8“> <Properties> ...
0
votes
1answer
96 views

How to selectively forbid deleting of tasks in SharePoint 2010?

I am new to SharePoint, sorry if answer to my question is obvious. I want to forbid deleting some tasks for users. I can use event receiver for my purpose: public override void ...
4
votes
1answer
1k views

Is accessing AllProperties efficient?

I'm currently storing a few values in the SPWeb.AllProperties hashtable. But I'm thinking of adding even more data into it. Before I start using it more and more though, I wondered if using ...
0
votes
1answer
2k views

Full crawl not picking up the properties from content type even though they are populated and being used

After running multiple full crawl the search service app still not picking up the metadata or properties from site column and content types. The columns are well populated with 500,000+ documents. ...