Skip to main content

Is it possible to publish a page via workflow that is not in the same site?

 

Surrounding conditions:

Office 365 

List and page not within same site.

 

List:       https://xxx.sharepoint.com/sites/Site-A/Lists/List

Page:    https://xxx.sharepoint.com/sites/Site-A/A1/default.aspx

 

Within the list there is a column "URL" that contains the different URLs for the different pages.

Workflow should start manually on a list entry publishing the site that is listed within column "URL".

 

Cheers

mai-kel

Perhaps you could solve it by using the CheckOut currentItem Action, then calling an HTTP Webservice action using the checkin() REST API

http://mysite/_api/web/getfilebyserverrelativeurl('relativeUrl/document file name')/CheckIn(comment='RESTCheckin',checkintype=1)

where '1' gives me a major version.


I was able to checkout the page with the "Office 365 check out items" action.

But how do I publish the page? Could you describe the HTTP webservice a little more?

Thanks in advance.


Reply