SmartForms
SmartForms are browser-based forms and views that can also be accessed using the K2 Workspace (Mobile) app. You can also add forms to SharePoint lists and libraries.
SmartForms use SmartObjects to query and update information from SQL databases, web services, and more.
You can create SmartForms to display data on a form, or call SmartObject scalar (single record) and list methods to capture information people enter on the form.
Lastly, you can also use SmartForms to start and action K2 workflows.
The components of SmartForms include:
- Forms: Pages that contain views, controls, and rules
- Style profiles: Use style profiles to add colors to your form design
- Views: Use Item views to show single records and List views for multiple records. Views contain controls and rules
- Controls: Such as text boxes, labels, drop-down lists and buttons, usually bound to SmartObject data
- Rules: Business logic for forms, views and controls
- Expressions: Used to perform calculations and data transformation
See How To: Build a Simple K2 Application for an example of building a simple K2 Application including a SmartObject, view, form, and workflow.