About this article
This article explains how to find the data accessible from SharePoint when using the SharePoint App Connector so it can be used in smart templates through the binding syntax.
Prerequisites
|
How to find the data available from the SharePoint App Connector
- In SharePoint go to the page where the
Create Document
button is shown:
- Click
Create Document
The Composer opens - Press F12 to open the Developer Tools of the (Composer) browser and select the Network tab.
- In the Composer select any template and click
Next
- In the lower right corner click
Other actions
- Now in the 'Name' task pane on the Network tab in the Developer Tools click
create
- In the right task pane select the Headers tab and scroll down to the section named 'Request Payload'
- Expand
externalContent
- Expand
List
,Site
andWeb
. The result looks like this:
- The (purple) fields can now be used in bindings in a template using a HostSystem binding.
For example{{HostSystem.List.Title}}
will show the value ‘Documents’ in the document,{{HostSystem.Site.GeoLocation}}
will show 'EUR' and{{HostSystem.Web.Title}}
will show 'My Team Site'.
|
Comments
Article is closed for comments.