How to convert a section to use SmartLayoutsA SmartLayout-based form provides attractive, consistent spacing of horizontal elements such as field labels and Text Input controls, even when sections are embedded within sections. SmartLayouts contribute to a professional-looking application and may improve user productivity and quality.
For new development, use of SmartLayouts is recommended. If you have user forms or flow action forms created in releases before V5.5, consider "upgrading" them to achieve all or most of the Smart Layout benefits.
In many cases, you can convert some or non-SmartLayout form to use only SmartLayouts, realizing some of the benefits. In other cases, conversion is inadvisable or impractical.
For the harnesses and sections, identify each included section, sections included within those sections, and so on.
Work in a new RuleSet version. Start by saving each rule to be converted into the higher RuleSet version.
Upgrade or rebuild the harness first. Then upgrade or rebuild the harness or flow action .
Follow these tips to "upgrade" an older layout into a quasi-SmartLayout layout.
Single, Double, or Triple SmartLayout format.Hidden or Hidden (Sub), change it to No Format.Custom to Single, Double, or Triple.Label for the leftmost column and click Apply. Make the second column have a Column Type of Field and the third column have a Column Type of Spacer. Repeat to mimic the Single, Double or Triple pattern of columns. Save the rule form.The upgrade process in Approach 1 preserves your previous settings within individual cells (except for width, height, and styles), and preserves many previous settings for the layout itself. However, the result of this "upgrade" is not a true SmartLayout. To achieve a true SmartLayout, you must reproduce the cells in a SmartLayout.
Single, Double, or Triple SmartLayout format.Single, Double or Triple as appropriate. The Smart Layout is empty.Hidden or Hidden (Sub), select No Format for the Header of the SmartLayout panel.Original user form. Labels and fields are not aligned on the left or the right, and have differing widths.
After upgrade. (Added green lines to emphasize uniform widths)
|
SmartLayout, template |
|
Harness, Section, and Flow Action forms — Adding a Smart Layout |