Home > CMS- Content Management System > Sharepoint > Retirement of certain SharePoint Online WebPartPagesWebService methods

Retirement of certain SharePoint Online WebPartPagesWebService methods

We’ve identified an issue with five methods belonging to the deprecated WebPartPageWebService API (https://<Site>/_vti_bin/WebPartPages.asmx) that could cause impact to data integrity.

These methods are:

As a result, we are retiring these methods and they will stop returning data after October 12, 2020.

Transition from SOAP to CSOM

Developers should update any existing processes or integrations that use the previously mentioned methods in the WebPartPageWebService to call methods in the LimitedWebPartManager class of the SharePoint Client-Side Object Model (version 16.1.20324.12000, or newer). For more information on how to use CSOM, check out the documentation.

Please use Microsoft Graph APIs where possible, but as the related web part APIs are not yet exposed within Microsoft Graph, CSOM is the answer here.

Setting Web Part Object Properties

To assign an object property to a web part using CSOM:

  • Import the web part using LimitedWebPartManager.ImportWebPart
  • Add the web part using LimitedWebPartManager.AddWebPart

Getting Web Part Connection Info

The LimitedWebPartManager class includes a new HasWebPartConnections property that allows you to determine whether a web part page connection exists.

Source Link

This Article is TAGGED in , , , , . BOOKMARK THE permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">