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
0
votes
1answer
30 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 ...
0
votes
2answers
1k 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 ...
0
votes
1answer
807 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
1answer
875 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
94 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
3answers
733 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
1answer
948 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" ...
0
votes
1answer
375 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
104 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 ItemDeleting(...
0
votes
1answer
268 views

Set no to Allow this site to appear in search results using XMl and c#?

I need to set No for Allow items from this list to appear in search results? for my custom list, so I achieved this by following PowerShell scripts //Get the list which was created SPList spList = ...
0
votes
1answer
37 views

Prevent Web Part Apply/OK based on Custom properties

I'm building a SP Web Part with custom properties which is working pretty much the way I want. One of these properties is a text field holding the name of a list in the SPWeb. I'd like to prevent ...
0
votes
2answers
60 views

Upload document dialog box trimmed

For a particular document library in SP 2013 when i try to upload documents, the dialog box to enter the properties is hidden/trimmed. What can be the issue?
0
votes
1answer
85 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
114 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
2answers
392 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 ...
0
votes
2answers
331 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(); contentDatabase.Properties["...
0
votes
1answer
138 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
247 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 ...
0
votes
2answers
757 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
911 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
727 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?
0
votes
1answer
114 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 system....
0
votes
1answer
562 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 ...
0
votes
1answer
62 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 ...
0
votes
3answers
293 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 : System.Web.UI.WebControls....
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. ...
0
votes
1answer
473 views

Word Document properties

We are using Sharepoint WSS 3.0 and MS Office 2007. When ever we create or update a document's 'effective date' in the document's properties (under Prepare--> properties) and save to the server, it ...
0
votes
0answers
17 views

SPFx re-render web part after Property Pane closes while in DisplayMode.Read

I have a SPFx anchor tag web part that is hidden while the page is in read mode. I'm using DisplayMode.Edit to determine that while the user edits the page and adds the web part. I'm trying to figure ...
0
votes
0answers
18 views

What dlc_expirationlastruncorrelation indicates in SharePoint Online Site Option Parameters

In my SharePoint Online project I have created an IMS Policy in document library. Now I know that this is dependent on Expiration and Policy Update timer jobs for any action to occur. In SPO these ...
0
votes
0answers
9 views

Retrieving and displaying values on my web part

I have created a web part property to take in a string value by user and then search my document library for a list of documents that contains the specific value entered, for example "ABC". However, ...
0
votes
0answers
12 views

How to display information on my webpart

I have created a web part property to take in a string value by user and then search my document library for a list of documents that contains the specific value entered, for example "ABC". However, ...
0
votes
1answer
29 views

How to Crawl the metadata for pages

I need to crawl the data of fileRef. How to handle to proceed with that? This information is contained inside the pages. Can anyone assist with this? { "odata.type": "SP.Data.PagesItem", "...
0
votes
1answer
79 views

Setting Custom Properties on Files

I have 200 files I need to upload regularly to sharepoint 365, users sync that folder with onedrive. Now, some guy has come along and added a bunch of "properties" for my files, such as "Category" and ...
0
votes
0answers
43 views

Update a web parts zone using JavaScript?

Is it possible for me to update a web parts zone property using JavaScript/jQuery?
0
votes
0answers
131 views

cannot access public properties of one userControl (FirstControl.ascx) from another UserControl (SecondControl.ascx) in sharepoint

I have created a userconrol named FirstControl.ascx and SecondControl.ascx in Sharepoint. Both the controls automatically created under CONTROLTEMPLATES\MySolution\.. folder Within SecondControl.ascx ...
0
votes
1answer
39 views

Where to store web-app wide property with web-scoped feature?

I need to store two URLs in a web-scoped feature. The reason for this is that my solution is deployed unto two different sites and I want to use these properties for storing the urls of these sites so ...
0
votes
1answer
332 views

Get all the lists on sub webs using javascript

I would like to know how to get subweb lists using CSOM. I actually know how to get lists on a web and how to get a sub web collection but I can't figure out how to get lists on sub web collection. ...
0
votes
1answer
876 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 ...
0
votes
2answers
332 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: /web/getFolderByServerRelativeUrl('/path/to/my/...
0
votes
2answers
122 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
0answers
410 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 User ...
0
votes
1answer
405 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
29 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 ...
0
votes
1answer
513 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
84 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 ...
0
votes
1answer
2k 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 ...
0
votes
0answers
436 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 ...
0
votes
1answer
251 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
358 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?
0
votes
2answers
6k views

Sharepoint properties update using Excel VBA

I am able to upload files to Sharepoint through VBA but I'm not able to update these properties to have their properties updated with 'Document Status' and 'Confidentiality' Fields. Until these are ...