FindItems function
Applies to JungleDocs for SharePoint 2010-2019.
For a similar tutorial for JungleDocs for Office 365, click here.
This article describes the formula syntax and usage of the FindItems function in JungleDocs.
Description
Returns items from a SharePoint list, filtered by specific values.
Syntax
FindItems(listTitleOrUrl; columnName; value; [additionalParameter; additionalParameterValue])
The FindItems function syntax has the following arguments:
- listTitleOrUrl Required. A SharePoint list name. List URL is also supported to specify the list on another site.
- columnName Required. A SharePoint column name (internal column name is recommended).
- value Required. The value to find items by.
- additionalParameter Optional. An additional parameter: a SharePoint column name (lookup columns, choice columns, and Boolean columns are also supported) or a date condition.
- additionalParameterValue Optional. The value of the additional parameter (text or number).
Remarks
- To use the FindItems function, you need to create a repeated section.
- You can use an unlimited number of additional parameters in a formula.
- Additional parameters work only as an equal condition and they are combined by and operators. For Boolean columns, use 0 to filter No values, and 1 to filter Yes.
Example
FindItems("Contacts";"Company";"Contoso")
Finds items in the Contacts list, matching the Contoso value in the Company column.
FindItems("TestList"; "ChoiceColumnName"; "ChoiceColumnValue"; "BooleanColumnName"; "0")
Finds items in the TestList, matching ChoiceColumnValue in the ChoiceColumnName and matching the Boolean column No value.
FindItems("TestList"; "ExpirationDate"; Today())
Finds items in the TestList, matching a dynamic date (today) in the ExpirationDate column.
FindItems("TestList"; "ExpirationDate"; "01/10/2016")
Finds items in the TestList, matching a static date in the