cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

Publish page via workflow

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

Labels: (1)
Reply
2 Replies
Workflow Hero

Re: Publish page via workflow

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.

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: Publish page via workflow

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.

0 Kudos
Accept as Solution Reply