Forum Discussion
Tortilla
Feb 07, 2019Copper Contributor
Inspecting SharePoint News Metadata in Flow
I have been unable to find a way to inspect News article page metadata via a Flow action. From looking at all the content through SharePoint, it would seem that a news article is essentially just a r...
- Feb 08, 2019
So You do a trigger, whatever that is, Then get file properties pointing to same Site pages library. Then in any action after as shown in e-mail one I can reference it. I could use it in the Condition action as well by adding in Promoted State is equal to 2 etc.
Tortilla
Feb 08, 2019Copper Contributor
Unfortunately they're not there for me. Once I click on Show More, the complete list I get is:
- DisplayName
- ETag
- FileLocator
- Id
- IsFolder
- ItemId
- LastModified
- MediaType
- Name
- Path
- Size
None of the other columns show up.
Feb 08, 2019
So get file properties to get data and update file properties to change
- TortillaFeb 08, 2019Copper Contributor
Appreciate the help! The trouble I have with that is using the Update File Properties or even Get File Properties can't be pointed at the SitePages library -- only the default Documents library (but that library doesn't contain the content I'm looking for).
- Feb 08, 2019Oh. All you need to do is use those actions and manually put in with the specific folder/ library and the in /Site Pages and it’ll let you access it. You can’t select it out of the list.
- TortillaFeb 08, 2019Copper ContributorIf I use Get File Properties and specify SitePages/ it still doesn't work. Maybe it would help to explain what I'm trying to accomplish...
When an item is created in the SitePages library of a site, run a Flow which first checks that the item created is a news item (aka Promoted State = 2), and if so, send an email to someone which outputs some of the metadata associated with that item (author, publish time and date, title, etc).
- Alan MarshallFeb 08, 2019Iron ContributorTry get items and not file properties as it is still a list item as a base type, if that doesn't work, use the Send HTTP to SharePoint action and construct the REST call to select and expand the fields you need
- TortillaFeb 08, 2019Copper Contributor
That's unfortunately a bit beyond my expertise level, but I appreciate the response. :)