New answers tagged

1

Interesting use case, I am not sure if we are able to update via REST API but with CSOM you definitely can update Below Below is using Powershell CSOM, but same can be used in C# or Javascript object model. function Change-WebPart { #variables that needs to be set before starting the script $siteURL = "https://spfire.sharepoint.com" $userName =...


1

I found a solution! The properties I am looking for are inside a web part labelled "Web Part Page Title Properties". Here is the REST API call: _spPageContextInfo.siteAbsoluteUrl + "/_api/web/GetFileByServerRelativeUrl('" + {{Url of Web Page}} + "')/GetLimitedWebPartManager(1)/WebParts" + "?$expand=WebPart/Properties" + "&$filter=WebPart/Title eq 'Web ...


3

Try using endpoint something like below: _spPageContextInfo.webAbsoluteUrl +"/_api/web/GetFolderByServerRelativeUrl('SitePages')/Files?$select=Name,Title,ServerRelativeUrl,ListItemAllFields&$expand=ListItemAllFields


Top 50 recent answers are included