Questions tagged [property-bag]

a property bag simply contains a series of name/value pairs that correspond to the Feature properties, which are formatted with System.String.

8 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
4k views

Set value in web property bag using REST API

I am trying to manage web properties from property bag using REST API. It is pretty straightforward how to get the values var url = "https://site.sharepoint.com/_api/web/allProperties"; $.ajax({ ...
2
votes
0answers
288 views

clear sharepoint property bag cache without apppool cycle

I've inherited code that uses the P&P code for accessing a farm-level property bag property on SharePoint 2013 SP1. The code has an application page to manipulate the property bag, and another ...
1
vote
0answers
17 views

How to update a site collection property bag with xml like data using powershell?

I've tried this: $spSite = Get-SPSite -Identity http://mysitecollectionUrl; $spwWeb = $spSite.OpenWeb(); $xmlFileContent = GetContent -Path ./myXmlFile.xml $spwWeb.AllProperties["myPropertyBagKey"...
1
vote
1answer
226 views

SharePoint 2013 list item property bag and search

Question for SharePoint 2013 Does anyone know if it’s possible to index property keys at the SPListItem level? I know you can at the web, list level etc, but I really need for property values at ...
1
vote
0answers
34 views

Encrypty property in a Farm propery bag

I'm using SharePoint Property Bag Settings 2013 to set my property bag. I would like to encrypt a password at farm level in it. So from Central Administration/System Settings I tried to set an ...
0
votes
0answers
21 views

SharePoint Online Site Collection PropertyBag - how to apply crawled property to child content of site collection (e.g. documents in library)?

In my enterprise search page, I want users to be able to filter their results by choosing 'site' metadata. I've already setup a filter for site name using the ows_SiteName crawled property - it works ...
0
votes
1answer
32 views

How to restrict access to property bag values in sharepoint online before loading

I need to restrict specific users to read/update property bag values in SharePoint Online web part. Only few users should have get/set permissions. Any references or leads would be appreciated.
0
votes
1answer
52 views

Create propertybag doesn't work the first time

I have the following code below. The first time I run this code it doesnt create the property in the propertybag. The second time it will create the property. Why??? string newValue = new ...