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

0
votes
2answers
529 views

Question about webpart properties

I have a webpartpage which in this page I added multiple custom webparts which are the same. I wanted to use the .webpart file to add my own custom property like : value so I can treat each webpart ...
3
votes
1answer
959 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
461 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
253 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
311 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
894 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
308 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
69 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
735 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
77 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
178 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
292 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
198 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
115 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
619 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
152 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 ...
4
votes
2answers
4k 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
964 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
219 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
56 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
480 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
255 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
287 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
549 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
76 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
585 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
314 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
681 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
3k 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 ...
1
vote
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
90 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
985 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
1k 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. ...
5
votes
2answers
321 views

How to dynamically generate Business Connectivity Services

We are trying to deploy a Business Connectivity Services(BCS) Model solution where the properties in the model depend on the structure of the data exposed by a web service. Ideally the BCS Model ...
1
vote
0answers
393 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
2answers
351 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 ...
4
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 ...
6
votes
2answers
2k views

Do I need to reset SPWeb.AllowUnsafeUpdates after use?

Do I need to reset the SPWeb.AllowUnsafeUpdates property after use? Seems not, but all over the web there is code like: bool allowUnsafeOrig = web.AllowUnsafeUpdates; web.AllowUnsafeUpdates = true; ...
1
vote
2answers
207 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
560 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) ...
3
votes
2answers
490 views

How to read the xml file from 14 hive

I have a custom timer job by which I need to create custom properties using an xml file (which has all the custom properties). As for the xml file, I'm thinking to create a module for it. And then ...
0
votes
1answer
178 views

Bulk Update of SharePoint Group Properties?

Specifically, I am looking for a way to change the "Who can view the membership of the group?" setting for multiple groups. Any built-in methods? or does it require custom code? Examples of custom ...
0
votes
1answer
237 views

how to have a hyperlink in custom web part property

i am working on a custom web part property and my question is how can i have hyper-link(seen in the below image) or bold or italic text in the custom property for the web part?
1
vote
3answers
487 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
0answers
198 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 ...
7
votes
2answers
1k views

How do I set a list to not be valid for search through the object model?

In WSS 3.0, there's an option under "Advanced Settings" for a List as follows: Search Specify whether this list should be visible in search results. Users who do not have permission to see ...
7
votes
1answer
731 views

SPService, multiple farm jobs, persisted property updates (SPPersistedObject locking?)

I have an SPService class. MySPService : SPService, IBackupRestore, IDiagnosticManager { [Persisted] private string propertyUpdatedByJobsOnAllServers; . . . } I also have a Job that runs ...