Query forms

Find a form

To find a specific form, you use the FormsManager class and LINQ queries. The following code finds a form with the specified formIdthrough the Native API.

 

First, you initialize the FormsManager. Then, you must call GetForms to retrieve all forms and, finally, you filter the lists based on the Idproperty.

NOTE: You can filter by any of the form's properties.

Retrieving all forms

To retrieve all created forms, you use the FormsManager class:

 

First, you initialize the FormsManager. Then, you must call GetForms to retrieve all forms and, finally, you convert to list.

Want to learn more?

Sign up for our free beginner training. Boost your credentials through advanced courses and certification.
Register for Sitefinity training and certification.

Was this article helpful?

Next article

Modify forms