Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing latest article 8
Browse Latest Browse All 25064

Sharepoint Online rest api: how to get the "AuthorByline" field?

$
0
0
Struggling to understand the arcane thinking behind the author byline field in a news post. This call gets the name in the "created by" field fine, but for news posts I need the "author byline" field:

    https://xxx.sharepoint.com/sites/xxx/_api/web/lists/getbytitle('Site Pages')/items?$select=Title,FileRef,CanvasContent1,Videourl,BannerImageUrl,Author/Title&$expand=Author&$filter=ID eq '193'

The internal field name is "_AuthorByline" but the response I get is that doesn't exist. Does the field have to be a managed property for the api call to work? 

I should add that in a search rest api, "Author" returns the "AuthorByline" field, if populated, "created by" if not..


Viewing latest article 8
Browse Latest Browse All 25064

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>