Forms
In applications, forms are web pages that allow users to interact with the application, such as capturing and displaying the data associated with the application, starting workflows and completing workflow tasks. Examples of forms include leave forms, expense claim forms, or forms that capture SharePoint list item data.
Two form options are available for applications created with the product:
- SharePoint Forms: The default SharePoint forms used to create New items, or Display and Edit existing items in the SharePoint list/library.
- SmartForms: Customizable SmartForms used to create New items, or Display and Edit existing items in the SharePoint list/library.
The standard SharePoint forms such as the New, Display, and Edit forms can be replaced with equivalent SmartForms which can easily be extended and customized to suit the application's requirements. SmartForms can be used to capture information in SharePoint lists and libraries, to initiate workflows on items in the list or library, to action workflow items, to interact with other line of business (LOB) systems through SmartObjects. SmartForms also offer more advanced user Interaction features such as sub forms, dialog boxes, tabs, multiple views and much more.
- If you make a change to a SharePoint list (for example, you insert or delete a column), make sure to update the corresponding SmartObjects, forms, and views if required. Generate these items from the Application page.
- If you make any changes to a SmartObject that you would like to see included in your form, update any corresponding forms and views by deleting and regenerating them. If forms are regenerated, the existing forms are overwritten with new forms and any customization to the existing forms are lost. Alternatively, you can manually update the forms and views using the Designer.
When creating your application, you have the option to select which form technology to use. To use SmartForms, select the check box in the Forms section, which generate SmartForms and by default use these generated forms to interact with the list/library. If you do not select the forms check box, the application uses the standard SharePoint forms. If you un-check the Use SmartForms as the New, Edit and Display forms for this list/library check box, the SmartForms are still generated, but the standard SharePoint forms are used to interact with the list/library.
After creating SmartForms for the application, it is easy to switch to the other form options using the Form Settings page.
- Open the Application from the SharePoint list/library.
- Select Form Settings.
- The Manage Form Settings page opens.
- The forms used to create, edit, and display items in the SharePoint list/library can each be set with a different form option:
- Select A SmartForm and select the appropriate from the drop-down if you want to use a SmartForm
- Select The default SharePoint Item Form if you want to use the default SharePoint form
- Click Save to save the changes to the forms.
- The Reset All button, resets all the form options to the default SharePoint forms and closes the Manage Form Settings page.