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
0answers
15 views

File Upload Option

I've made my own visual web part which works fine however I'd like to give the user an option to upload an image that can then be use by that web part. How do I define this in my code? At the moment ...
0
votes
0answers
16 views

Metadata fields not shown for Office files but shown for PDF

We have an out-of-the-box document library with some Office documents and PDFs inside. I've added some columns (site-existing ones): Comments, Company, Keywords. Now when I view/edit properties: ...
0
votes
0answers
21 views

Add Properties to a SharePoint Apps

I am working on SharePoint 2013 on-premise, I am developing a Provider-Hosted Apps, and I wonder if it is possible to create App properties which will be set up when the apps is installed on a ...
0
votes
0answers
15 views

Access properties from within another web part

I have a problem regarding accessing the properties of a web part from another web part. For testing, I made the following setup of two (farm-) web parts. One stores a property called TestProperty and ...
0
votes
0answers
36 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 ...
0
votes
2answers
18 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
28 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
21 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
49 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 ...
0
votes
3answers
63 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
75 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(); ...
0
votes
1answer
76 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
152 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 ...
2
votes
1answer
170 views

Open web part properties panel with javascript

I'm looking in a way to open the right side properties panel of my web part with javascript. This way when the user adds the web part to a page, a message and a button are displayed. Onclick the panel ...
0
votes
0answers
38 views

Displaying Sharepoint objects in PropertyGrid - low performance

At first i didn't know where I should ask this question since it's about Windows Forms and SharePoint but after a bit of searching I decided this is a good place. I would like to know if there's a ...
0
votes
2answers
66 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 ...
0
votes
1answer
14 views

Internal Database location of Properties data

I have a number of documents stored in a Sharepoint library which has a number of properties. The data which I need to store in each property is available in a temporary sql table. I'm trying to ...
1
vote
2answers
134 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 ...
0
votes
3answers
580 views

create_DialogOptions is not a function

I have a Custom Tool part on my web part that handles properties. It has a link that when clicked shows up a modal dialog but I'm getting this error: TypeError: SP.UI.$create_DialogOptions is not a ...
0
votes
1answer
266 views

Web part instances on Pre Render

I've developed a custom web part. With custom properties it loads an iframe along with other text. Then i tried to add this web part twice on the same page everything works fine except the "preview" ...
1
vote
1answer
510 views

SharePoint Designer 2013 Interface not saving or updating to reflect actual file state

I am noticing a few issues with SharePoint Designer 2013 and I am wondering if I am doing something wrong and if there are any fixes. I am working on Publishing Site Page Layout. I try to save a ...
0
votes
0answers
63 views

How to display all my items in a list (property Word)?

I have a list of items which I use as a column in a content type. To be more precise, I list all my clients and when I upload a document I need to fill client property from a dropdown list, which ...
0
votes
0answers
25 views

Can I configure Min/Max properties to be formula/lookup based?

I have a List with a lookup value and I'd like to configure the min/max properties on another column to be based on that lookup: <Field Name="ParameterName" ...
0
votes
1answer
49 views

I can't find the markup for webpart properties in visual studio

I've created a custom web part editor but I don't know where to look if I want to find the markup for all the properties of my webpart inside visual studio. I mean I can create new controls on ...
0
votes
2answers
142 views

Trying to populate a dropdownlist with the webapplications from the farm on a custom property in a visual webpart

I'm trying to populate a dropdownlist with the webapplications in my farm. This dropdownlist is supposed to be visible from the custom property pane on the visual webpart that I'm creating. This is ...
1
vote
1answer
53 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
80 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
129 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
256 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
201 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
482 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
73 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 ...
3
votes
1answer
273 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
324 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
134 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
57 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
135 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
493 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 ...
3
votes
6answers
10k 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
2answers
422 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
796 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
388 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
204 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
137 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
681 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
256 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
65 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
623 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
74 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
150 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 ...