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.

Filter by
Sorted by
Tagged with
15
votes
5answers
37k views

Editing property bag values using powershell

What is property bag in SharePoint 2010? How do I retrieve values from a property bag and get/set the values using powershell?
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({ ...
0
votes
2answers
426 views

What is the best practice to create property in propertybag (+ indexed for search)

I would like to create a new property to the propertybag. And it needs to be indexed by search. I try this but it is not working: private void CreatePropertyBagItem(Web web, string key, string value)...