Skip to main content
Kinetic Community

Kinetic Request CE Submission Search

Searches a kapp or form for submissions and returns any matching submission objects in the specified return format.


By downloading this file, you acknowledge that you agree to our Terms of Service

Detailed Description

Given a Request CE Space, Kapp, and optional Form, searches for submissions with a given query. The query parameter allows anything that can be passed into the query parameter in the /submissions endpoint of the Request CE API (including the limit= and q= parameters). Before being sent to the Request CE instance, the query is escaped by running the URI.escape() command on the inputted query string. After all the submissions that match the query have been returned, the handler formats it into one of three possible output formats: a JSON string, an XML string, or an XML list of submission ids.

If ID List is selected as the Return Type, the output looks like:


Note: The limit by default for submissions in 25, so if you want to retrieve more submissions than that add a limit=n (where n is an integer representing the new limit) to the query string


Name Description
Error Handling Determine what to return if an error is encountered.
Space Slug The Space the submission is being retrieved from (defaults to info value if not provided).
Kapp Slug The slug of the Kapp to search for submissions in.
Form Slug The slug of the Form to search for submissions in.
Query The query that will be used to search the submissions. Ex: limit=999&q=values[Frequency]="<%=JSON.parse(@source['Data'])['Frequency']%>"
Return Type The format that the results should be returned in.

Sample Configuration

Parameter Example Configuration
Error Handling Error Message
Space Slug  
Kapp Slug catalog
Form Slug test-form
Query include=values&limit=100&q=values[Any Text] IN ("Testing","String")
Return Type JSON


Name Description
Handler Error Message Error message if an error was encountered and Error Handling is set to "Error Message".
Count The number of submissions that have been returned.
Result List of submissions that match the query --JSON,XML, or ID List

Change Log

Version Date Description
1.1 2018-05-25 * API Server Info Value changed to allow ${space} in the url for subdomain support (ie. https://${space}.localhost:8080/kinetic)
1 2017-11-08 * Initial version. See README for details.