SharePoint Single-Record Data Provider

SharePoint Single-Record Data Provider

General Info

This Data Provider is used to fetch a single list item from a SharePoint custom list or document library based on its ID. The result value is a javascript object
The properties used to configure this provider are the following:
  1. Url: The url of the SharePoint site where the list/document library belongs. Leave blank in order to use the current one.
  2. List: The SharePoint list/document library name (selection from a dropdown)
  3. ID: The ID of the list item to fetch.
A formula can be used to any of the above fields, in order to specify a dynamic value that is going to be resolved during runtime. In order to do that, make sure you precede the value with an equals sign (=). For example, you can use the following expression if the ID of the list item depends on a value of another textbox control in your form:
=form.GetControl("txt_ItemID").GetValue()
or alternatively
={txt_ItemID}

See Also

For more info about the concept of Data Providers, their usage and their common properties (Name, OnDataLoaded, Condition, etc) see Basic Concepts: Intro to Data Providers