Oct 17 2018 07:14 AM
Oct 17 2018 07:14 AM
I am using Flow to create News items in SharePoint using information that is coming from an external application. I have a REST call getting all of the news post properties from the external application and then writing out those properties to a copy of a Repost Page (.aspx).
The issue I've hit is the Description field for the Repost Page content type is not available in the Update File Properties action in Flow.
So I tried using the Send HTTP Request action to update the Description field but, to no avail. I'm able to update other properties with no problem but, can't seem to write to Description.
Any ideas on how to achieve this or known limitations?
Nov 20 2018 06:09 AM
I am experiencing exactly the same and haven't found any answers yet. In fact, your posting is the only one I have found addressing this issue. And I assume you haven't found any solutions, either?
Anyway, here are some observations:
My guess is this is just one of those 'blind spots' where MS develops new features such as modern pages, but forgets that these features should also be programmatically accessible.
Nov 20 2018 08:28 AM
No luck yet. I beat my head against the wall for several hours trying to write HTTP Post requests to change it.
Thanks for the insight into the other methods you've tried.
I think you're right, it's probably just an oversight. Hopefully, it's something that MS will make accessible in a later update.
I saw this announcement in the Message Center last week that gave me some glimmer of hope:
"Change the description in Page details: Previously, the first text that appeared on the page was auto-selected as the page description. You can now add your own custom description in Page details."
I may be grasping for straws connecting the two but, it seems like if they're making it available in page details it can be targeted via HTTP request.
Dec 12 2018 12:25 AM - edited Dec 12 2018 12:28 AM
It is a real pain that the new modern SharePoint web parts provide functionalities using hidden columns not available from REST API. It is unfortunately preventing us from submitting 2 new Flow Templates integrating 1) News and 2) Events from our Azure based backend system.
The Events list doesn't expose the URL from REST or from the Events list item NewForm + EditForm only when clicking "Add new Event" in the web part from the homepage of a communication site.
Here we would like to Sync data from backend system with planned events for the company without having to manually create / maintain the items in the SP list as well..
Any help from @msft on this matter?
Oct 01 2019 01:52 PM
I dropped this for several months and just picked it back up.
I found this excellent article that helped me immensely.
Step 6 explains how you can use the _api/sitepages/Pages([id])/SavePageAsDraft resource to update the meta data for Modern Site Pages, which also works for Repost Pages.