Introduction To IBM Lotus Forms Viewer


Published on

IBM Lotus Forms Viewer is a desktop application that allows you to view XFDL and XForms forms. This presentation provides an overview of Lotus Forms Viewer, including:
What's New in Version 3.5.1
Using Lotus Forms Viewer
Setting preferences
Using Smartfill
Overview of Viewer settings.

Published in: Technology, Business
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide
  • The Viewer began as a stand-alone product, but this mode is the least often used today. In general, user’s will only work with the Viewer in stand-alone mode when they open a form directly from their local computer. Although the Viewer is not embedded in a browser in this mode, it can still submit forms across the network. It does this by calling the communication libraries that underlie the installed browser, but does not open the browser or inherit any of its settings while doing this. The Viewer can also email forms in standalone mode by passing the work to the default MAPI email client, or by using some built-in email libraries.
  • Plug-in mode is the most commonly used mode, since this is the default mode when the user opens a form from a website. In this mode, the Viewer uses the browser for all network communications, except email. For email, the Viewer either passes the work to the default MAPI email client, or uses some built-in email libraries.
  • User’s can quickly fill in today’s date by typing an asterisk and tabbing out the field. Note that this uses the computer’s system clock, and will be wrong if the clock is not set right.
  • Mandatory items require input. The Viewer enforces this by not allowing users to tab away from those items if they are not complete, and by warning users who try to save/print/submit/sign the form that some mandatory data is missing. If you tab twice, you can leave a mandatory field. This feature was added to support users with disabilities, who may not be able to use the mouse to navigate the form.
  • When active input checking is on, the user will not be able to enter incorrect data into form items. For example, if they try to type ASD into a field that is formatted as a telephone number, none of the characters will be registered and the field will remain blank. In contrast, passive input checking allows the user to type anything, then checks the input when the user tries to tab out of the field. Both cases are shown more fully in the following slides.
  • As with mandatory fields, you can tab twice to leave a field with an error. Once again, this is to support users with disabilities who may not be able to use the mouse to move around the form.
  • Each item has a bounding box. This is the total area the item takes up on the form. Usually, the edges of this bounding box are invisible to the user, since that space is reserved for borders. Activating the bounding boxes makes it easier to see which items overlap, and by how much. This may be relevant when using signatures, since all signature apply an overlap test to the form. See the ufv_settings: validoverlap later in this presentation for more information.
  • Setting the locale only sets the language used by the Viewer interface. It does not change the language of the form itself, or the locales of any currency or date fields within the form. Those settings are dictated by the form alone.
  • Identity Filter: You can have multiple digital certificates installed on your computer. Each certificate may be used for a different purpose. For instance, you might have one certificate issued by your company and another certificate issued from your bank. In such cases, it may be useful to filter out the bank certificate, so that you automatically get the company certificate when using forms. CRL Distribution Points: Digital certificates can be revoked by the company that issued them. This means that the certificate is no longer valid, and should not be used to create signatures. The validity of each certificate is checked by consulting a Certificate Revocation List, which is a list of certificates that have been revoked. Browsers normally store portions of these lists locally, but to get the most up-to-date information they have to check the lists on the Internet. You can set your Viewer to consult these lists on the Internet each time. However, be aware that this requires Internet access and may slow down the signing process.
  • Each form must be individually created to use Smartfill, which also requires each form to use the XML Data Model. Furthermore, each form must use a common data model. For example, if you create three forms that use the same address information, each form must use exactly the same data model for that information before they can share data through Smartfill. Because of this requirement for common design practices, Smartfill is most useful when a single company is designing multiple forms that require the same information. In this case, the central design group can ensure that the forms are created to use the same data. Always keep in mind that Smartfill writes data directly to the local computer, and that this data is not encrypted or secured. This means that Smartfill is not a good tool for storing sensitive information, such as credit card numbers.
  • Smartfill was designed for the XML Data Model. Forms that do not contain an XML Data Model cannot include this feature. However, you can simulate Smartfill behavior in XForms forms by using XForms submits that write to disk. The main drawback with this approach is that it will happen completely automatically – the user will not see the load/save dialogs that are part of the Smartfill feature, and will have no warning that data is being written to or read from their drive.
  • The ufv_settings option can be placed in either: The global item in the global page – this creates a setting that is global to the entire form. The global item in any named page – this creates a setting that only affects that page.
  • Introduction To IBM Lotus Forms Viewer

    1. 1. Introduction to Lotus Forms Viewer Lotus Forms Technical Enablement August 2009 IBM Software Group IBM Confidential | September 2007
    2. 2. Outline <ul><li>What’s new in 3.5.1 </li></ul><ul><li>Using the Viewer </li></ul><ul><li>Setting the Preferences </li></ul><ul><li>Smartfill </li></ul><ul><li>Form-based Viewer Settings </li></ul>
    3. 3. What’s new in 3.5.1
    4. 4. What’s new in 3.5.1 <ul><li>Improved Performance </li></ul><ul><ul><li>The speed increase is most noticeable when rendering forms with many items or forms with items that are refreshed such as tables and panes </li></ul></ul><ul><li>Added support for Business Spaces </li></ul><ul><li>Numerous bug fixes </li></ul>
    5. 5. Using the Viewer
    6. 6. What is the Viewer? <ul><li>Client-side application for viewing and filling Lotus Forms </li></ul><ul><ul><li>Installed on the end-user’s computer </li></ul></ul><ul><ul><li>Draws the visual form based on the XFDL source code </li></ul></ul><ul><ul><li>Allows user to interact with and fill form </li></ul></ul><ul><ul><ul><li>Enforces and maintains the internal logic of the form </li></ul></ul></ul><ul><li>Works in two modes: as a stand-alone application or as a browser plug-in </li></ul><ul><ul><li>Stand-alone – Viewer opens by itself to show form </li></ul></ul><ul><ul><li>Plug-in – Viewer opens embedded in a web browser to show the form </li></ul></ul>
    7. 7. Stand-alone Viewer <ul><li>Viewer opens by itself to display form </li></ul><ul><li>Default behavior when double-clicking form on local file system </li></ul><ul><li>Can email and submit forms across the network, even though browser is not open </li></ul>Viewer Toolbar
    8. 8. Plug-in Viewer <ul><li>Viewer opens embedded in a browser </li></ul><ul><li>Default behavior when opening a form from a website </li></ul>Viewer Toolbar Browser Toolbar
    9. 9. Using the Viewer Toolbar <ul><li>Provides quick access to commonly used features </li></ul><ul><li>Some buttons may be missing or grayed out, depending on the form </li></ul><ul><ul><li>Some buttons are not always active </li></ul></ul><ul><ul><ul><li>Font and Paragraph buttons only available if page contains rich text </li></ul></ul></ul><ul><ul><ul><li>Check spelling button only available if focus is in a field or combobox </li></ul></ul></ul><ul><ul><ul><li>Help mode button only available if page contains help messages </li></ul></ul></ul><ul><ul><li>Form itself can dictate which buttons are available (discussed later) </li></ul></ul>
    10. 10. Toolbar Buttons Open Save Save As Print Email Preferences Font (rich text only) Paragraph (rich text only) Check spelling (current item) Check spelling (all items) Zoom out Zoom in Zoom Factor Context Help Help About
    11. 11. Filling Forms: Dates <ul><li>To enter today’s date, type an asterisk and tab out of the field </li></ul><ul><li>The asterisk is automatically replaced with today’s date </li></ul><ul><ul><li>The date is retrieved from your computer’s system clock </li></ul></ul>
    12. 12. Filling Forms: Mandatory Input <ul><li>Mandatory input is shown by a yellow color </li></ul><ul><li>If you don’t enter something, you will be prompted when you try to tab out of the field </li></ul><ul><li>Tab a second time to leave the field without entering anything </li></ul><ul><ul><li>You can change this through a preferences setting </li></ul></ul><ul><li>Users who try to submit/save/sign/print without all mandatory information are warned, and asked to confirm their action </li></ul><ul><ul><li>You can override this behavior on a form-by-form basis (discussed later) </li></ul></ul>
    13. 13. Filling Forms: Input Checking <ul><li>You can set the Viewer to use predictive input checking </li></ul><ul><li>When predictive input checking is enabled (default) the Viewer checks for errors as you type </li></ul><ul><li>You can turn off predictive input checking by de-selecting the Do Predictive Input Checking checkbox in the Input panel of the Viewer Preferences </li></ul>
    14. 14. Filling Forms: Predictive Input Checking <ul><li>This means the Viewer checks your input as you type </li></ul><ul><li>A field may restrict data entry to numbers that follow a phone number pattern </li></ul><ul><li>In this case, the Viewer will not let you enter invalid data </li></ul><ul><ul><li>Typing “250 asd” will only enter “250” </li></ul></ul>
    15. 15. Filling Forms: Regular Input Checking <ul><li>The Viewer checks your input when you try to tab to the next item </li></ul><ul><li>For example, consider the same phone number field </li></ul><ul><li>You can type invalid data, but it is flagged when you try to tab out </li></ul><ul><ul><li>You can’t tab out the first time </li></ul></ul><ul><ul><li>You can tab a second time to leave the field with bad data </li></ul></ul><ul><ul><li>Number of tabs required can be configured in preferences </li></ul></ul>
    16. 16. Filling Forms: Help Messages <ul><li>Each item in a form can have a help message (depends on form design) </li></ul><ul><li>To see the help message, you must: </li></ul><ul><ul><li>Enter help mode by clicking the Help Mode button in the toolbar </li></ul></ul><ul><ul><li>Move the pointer over an item with help </li></ul></ul>
    17. 17. Help Messages <ul><li>Help messages are also shown with error messages </li></ul><ul><ul><li>Shown even if you do not have Help Mode turned on </li></ul></ul>
    18. 18. Setting the Preferences
    19. 19. About the Preferences <ul><li>The Viewer Preferences set default behavior for the Viewer </li></ul><ul><li>The Preferences are divided into four sections: </li></ul><ul><ul><li>Basic – browser accessibility setup </li></ul></ul><ul><ul><li>Input Options – type checking, date format, tabbing, and Smartfill </li></ul></ul><ul><ul><li>Printing Options – page layout and other options </li></ul></ul><ul><ul><li>Advanced – locale setting, security options, and others </li></ul></ul><ul><li>Some changes are applied as soon as you save the Preferences; other changes are applied once you close then re-open your form </li></ul>
    20. 20. Preferences: Basic (1/4)
    21. 21. Preferences: Basic (2/3) <ul><li>WWW Browser Configuration </li></ul><ul><ul><li>Network access – sets how submitted forms are handled: </li></ul></ul><ul><ul><ul><li>Online – forms are submitted and closed. </li></ul></ul></ul><ul><ul><ul><li>Online with backup – forms are submitted, backed up locally, then closed. </li></ul></ul></ul><ul><ul><ul><li>Offline – you cannot submit forms. </li></ul></ul></ul>
    22. 22. Preferences: Basic (3/3) <ul><li>Accessibility Configuration </li></ul><ul><ul><li>Enhanced Focus Indicator </li></ul></ul><ul><ul><ul><li>Viewer uses a small black square in addition to the normal cursor to show the location of the focus on the form </li></ul></ul></ul><ul><ul><ul><li>Square appears at top left of item that has focus </li></ul></ul></ul><ul><ul><li>Operating System Colors </li></ul></ul><ul><ul><ul><li>Viewer uses the colors defined by the OS </li></ul></ul></ul><ul><ul><ul><li>This does not affect the form itself, only the windows and dialogs around it </li></ul></ul></ul>
    23. 23. Preferences: Input Options (1/3)
    24. 24. Preferences: Input Options (2/3) <ul><li>Type Checking Options </li></ul><ul><ul><li>Predictive Input Checking </li></ul></ul><ul><ul><ul><li>When on, Viewer checks input as the user types and prevents bad input </li></ul></ul></ul><ul><ul><ul><li>When off, Viewer checks input when the user tabs out of the item and alerts user if input is bad </li></ul></ul></ul><ul><li>Date Formats </li></ul><ul><ul><li>Sets the format the user prefers to use when typing in a date </li></ul></ul><ul><ul><li>Viewer will automatically convert user’s input to field’s format, if different </li></ul></ul>
    25. 25. Preferences: Input Options (3/3) <ul><li>Tabbing Options </li></ul><ul><ul><li>When on, stops user from tabbing out of invalid or empty items; user must tab a second time to leave item </li></ul></ul><ul><ul><li>When off, user can leave item normally (with single tab) </li></ul></ul><ul><li>Smartfill </li></ul><ul><ul><li>Enables/Disables Smartfill feature </li></ul></ul><ul><ul><li>Discussed in more detail later </li></ul></ul>
    26. 26. Preferences: Printing Options (1/3)
    27. 27. Preferences: Printing Options (2/3) <ul><li>Conversion Options </li></ul><ul><ul><li>Use these options to print items differently than they show on-screen </li></ul></ul><ul><ul><li>Includes: </li></ul></ul><ul><ul><ul><li>Radios as check boxes </li></ul></ul></ul><ul><ul><ul><li>Radios without values </li></ul></ul></ul><ul><ul><ul><li>No scroll bars on fields </li></ul></ul></ul><ul><ul><ul><li>Fields as blank lines </li></ul></ul></ul><ul><ul><ul><li>Border around entire form </li></ul></ul></ul><ul><li>Page Layout Defaults </li></ul><ul><ul><li>Sets default page layout for printing (eg. Fit to page, tile, etc.) </li></ul></ul><ul><ul><li>The printsettings option in individual forms can override this </li></ul></ul>
    28. 28. Preferences: Printing Options (3/3) <ul><li>Miscellaneous Options </li></ul><ul><ul><li>Print each page as a separate job </li></ul></ul><ul><ul><ul><li>Used for printers that do not have enough memory for the whole form as a single print job </li></ul></ul></ul><ul><ul><li>Print black and white (excluding images) </li></ul></ul><ul><ul><ul><li>Corrects problems printing color forms </li></ul></ul></ul><ul><ul><ul><li>Prints the form in grayscale </li></ul></ul></ul><ul><ul><ul><li>Images remain in color </li></ul></ul></ul>
    29. 29. Preferences: Advanced (1/4)
    30. 30. Preferences: Advanced (2/4) <ul><li>Form Appearance Options </li></ul><ul><ul><li>Show boundary </li></ul></ul><ul><ul><ul><li>Draws a boundary around all items (bounding box) </li></ul></ul></ul><ul><ul><ul><li>intended to help when designing forms </li></ul></ul></ul><ul><ul><li>Use ‘X’ style check boxes </li></ul></ul><ul><ul><ul><li>Check boxes display an X rather than a check when selected </li></ul></ul></ul><ul><ul><li>Scroll fields on zoom </li></ul></ul><ul><ul><ul><li>Zooming sometimes makes small changes to word-wrapping, which can cause a few words to extend beyond bottom of field </li></ul></ul></ul><ul><ul><ul><li>Adds scrollbars to zoomed fields when required to show all text </li></ul></ul></ul>
    31. 31. Preferences: Advanced (3/4) <ul><li>Viewer Language </li></ul><ul><ul><li>Locale </li></ul></ul><ul><ul><ul><li>Sets the default locale for the Viewer </li></ul></ul></ul><ul><ul><ul><li>Affects the Viewer’s dialogs, tooltips, and so on </li></ul></ul></ul><ul><ul><ul><li>Does not affect the form itself </li></ul></ul></ul>
    32. 32. Preferences: Advanced (4/4) <ul><li>Security Options </li></ul><ul><ul><li>Identity filter </li></ul></ul><ul><ul><ul><li>Filters digital certificates on the local computer based on the user’s identity </li></ul></ul></ul><ul><ul><li>Check CRL Distribution Points </li></ul></ul><ul><ul><ul><li>Checks certificate revocation lists online to be sure latest lists are used </li></ul></ul></ul><ul><ul><ul><li>Can slow down signing process </li></ul></ul></ul><ul><ul><ul><li>Must be connected to network </li></ul></ul></ul>
    33. 33. Smartfill
    34. 34. What is Smartfill? <ul><li>Automatically completes sections of the form for the user </li></ul><ul><ul><li>Simple pre-population </li></ul></ul><ul><ul><li>Loads information from the user’s computer </li></ul></ul><ul><ul><li>Must be built in to the form the user is completing </li></ul></ul><ul><li>Useful for adding commonly used information to the form </li></ul><ul><ul><li>Name </li></ul></ul><ul><ul><li>Address </li></ul></ul><ul><ul><li>Telephone </li></ul></ul><ul><ul><li>Etc. </li></ul></ul>
    35. 35. How Smartfill Works <ul><li>When you first save or submit a form that uses Smartfill, it will offer to save your information </li></ul><ul><li>This information is saved to a file on the user’s computer </li></ul><ul><ul><li>Written as an XML fragment in a text file </li></ul></ul>
    36. 36. How Smartfill Works <ul><li>The next time you load a form that uses that information, the Viewer will offer to load the information for you </li></ul><ul><li>If you accept, the Viewer reads this information from the file already stored on the user’s computer </li></ul>
    37. 37. Smartfill: Uses and Limitations (1) <ul><li>Smartfill has some limitations </li></ul><ul><ul><li>Each form must be individually set to use Smartfill </li></ul></ul><ul><ul><li>Each form must use the same data structure for common information </li></ul></ul><ul><li>Because of this, Smartfill is most useful for: </li></ul><ul><ul><li>A set of forms from the same organization (such as a corporation or government), where you have centralized control over data re-use between forms </li></ul></ul><ul><li>Because data is written to a file on disk, Smartfill is not suitable for: </li></ul><ul><ul><li>Sensitive data, such as credit card information </li></ul></ul>
    38. 38. Smartfill: Uses and Limitations (2) <ul><li>Smartfill requires XML Data Model </li></ul><ul><ul><li>Only forms with an XML Data Model can use Smartfill </li></ul></ul><ul><li>XForms forms can simulate Smartfill by using an XForms submit </li></ul><ul><ul><li>Can write data to/read data from disk just like Smartfill </li></ul></ul><ul><ul><li>Does not show the load/save dialogs to the user </li></ul></ul><ul><ul><li>User has no warning that data is being read from or written to disk </li></ul></ul>
    39. 39. Form-based Viewer Settings
    40. 40. About Form-based Viewer Settings <ul><li>Individual forms can control the Viewer in various ways. For example, they can affect: </li></ul><ul><ul><li>The color used for error messages </li></ul></ul><ul><ul><li>Whether the user can submit a form with a formatting error in it </li></ul></ul><ul><ul><li>Which toolbar buttons are available in the Viewer </li></ul></ul><ul><ul><li>And others… </li></ul></ul><ul><li>These settings are specific to a single form </li></ul><ul><ul><li>The form itself controls the Viewer </li></ul></ul><ul><ul><li>The next form in the sequence can make different settings if desired </li></ul></ul><ul><li>Can include as many settings as needed </li></ul>
    41. 41. Adding Form-based Settings <ul><li>... </li></ul><ul><li><globalpage sid=&quot;global&quot;> </li></ul><ul><li><global sid=&quot;global&quot;> </li></ul><ul><li><ufv_settings> </li></ul><ul><li>setting 1 </li></ul><ul><li>setting 2 </li></ul><ul><li>... </li></ul><ul><li></ufv_settings> </li></ul><ul><li></global> </li></ul><ul><li></globalpage> </li></ul><ul><li>... </li></ul><ul><li>Settings are placed within the ufv_settings option </li></ul>Each setting is a child of the ufv_settings option ufv_settings is a child of the global item in the global page (or the global item of any page)
    42. 42. More on ufv_settings <ul><li>Pages inherit ufv_settings from the form global </li></ul><ul><li>ufv_settings on individual pages override any form global settings </li></ul><ul><ul><li>Note that ufv_settings acts as a single option for inheritence – either all settings are inherited or no settings are inherited </li></ul></ul><ul><ul><li>This means that a single setting on a page will override all settings in the form global </li></ul></ul><ul><li>Not all settings are valid at the page level </li></ul><ul><li>See the product documentation for descriptions and examples of the various ufv_settings that affect how the form is handled in the Vieiwer </li></ul>