1

Could you help me please, how can I set a value to custom web property in SharePoint and then get this property later?

Now, I only can get all default properties using [web url]/_api/web.

2
  • Hi @Propool, did you try solution given below? is it working for you? let me know if you still need help with this. Commented Mar 25, 2023 at 10:03
  • I am checking to see how things are going there on this issue. Commented Apr 6, 2023 at 6:04

1 Answer 1

1

You can use PnP PowerShell to set a value to custom web property in SharePoint online.

Example:

Set-PnPPropertyBagValue -Key MyKey -Value MyValue

Then you can retrieve web property using:

Get-PnPPropertyBag -Key MyKey

Documentation: Set-PnPPropertyBagValue

1

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.