querySubmissionsByNamespace( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Creates a query to retrieve a list of submissions.

Note: The Submissions API is only available in Wix Studio.

The querySubmissionsByNamespace() method builds a query to retrieve a list of submissions from the specified namespace and returns a SubmissionsQueryBuilder object.

Note: You can only query submissions from a specified namespace. Use the query filter on the namespace field, otherwise you will receive an error.

The returned object contains the query definition, which is typically used to run the query using the find() method.

You can refine the query by chaining SubmissionsQueryBuilder methods onto the query. SubmissionsQueryBuilder methods enable you to sort, filter, and control the results that querySubmissionsByNamespace() returns.

The following SubmissionsQueryBuilder methods are supported for querySubmissionsByNamespace(). For a full description of the Submissions object, see the object returned for the items property in SubmissionsQueryResult.

PROPERTYSUPPORTED FILTERS & SORTING
_idascending(),descending()
formIdascending(),descending()
namespaceeq(),in(),ne(),ascending(),descending()
statusascending(),descending()
_createdDateascending(),descending()
_updatedDateascending(),descending()
seenascending(),descending()

Permission Scopes

For app development, you must have one of the following permission scopes:
Manage Submissions
Learn more about permission scopes.
Method Declaration
Copy
Method Parameters
optionsQuerySubmissionsByNamespaceOptions

Query options.

Was this helpful?
Yes
No