Form and Application Object Guide 7 6
Form and Application Object Guide 7 6
Form and Application Object Guide 7 6
04
January 2011
www.bmc.com
If you have comments or suggestions about this documentation, contact Information Design and Development by email at doc_feedback@bmc.com.
Copyright 19912011 BMC Software, Inc. BMC, BMC Software, and the BMC Software logo are the exclusive properties of BMC Software, Inc., are registered with the U.S. Patent and Trademark Office, and may be registered or pending registration in other countries. All other BMC trademarks, service marks, and logos may be registered or pending registration in the U.S. or in other countries. All other trademarks or registered trademarks are the property of their respective owners. IBM, DB2, and Informix are registered trademarks of International Business Machines Corporation. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners. UNIX is a registered trademark of The Open Group. BusinessObjects, Crystal Reports, and SAP are trademarks or registered trademarks of SAP AG in Germany and in several other countries. BMC Software considers information included in this documentation to be proprietary and confidential. Your use of this information is subject to the terms and conditions of the applicable End User License Agreement for the product and the proprietary and restricted rights notices included in this documentation.
Customer Support
You can obtain technical support by using the Support page on the BMC Software website or by contacting Customer Support by telephone or email. To expedite your inquiry, please see Before Contacting BMC Software.
Support website
You can obtain technical support from BMC Software 24 hours a day, 7 days a week at http://www.bmc.com/support. From this website, you can:
Read overviews about support services and programs that BMC Software offers. Find the most current information about BMC Software products. Search a database for problems similar to yours and possible solutions. Order or download product documentation. Report a problem or ask a question. Subscribe to receive email notices when new product versions are released. Find worldwide BMC Software support center locations and contact information, including email addresses, fax numbers, and telephone numbers.
Product information Product name Product version (release number) License number and password (trial or permanent)
Operating system and environment information Machine type Operating system type, version, and service pack System hardware configuration Serial numbers Related software (database, application, and communication) including type, version, and service pack or maintenance level
Sequence of events leading to the problem Commands and options that you used Messages received (and the time and date that you received them) Product error messages Messages from the operating system, such as file system full Messages from related software
E-mail customer_support@bmc.com. (In the Subject line, enter SupID:<yourSupportContractID>, such as SupID:12345.) In the United States and Canada, call 800 537 1813. Outside the United States and Canada, contact your local support center for assistance. Submit a new issue at http://www.bmc.com/support.
Contents
Preface 17
Understanding access control in AR System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Groups in AR System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Special groups in AR System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Groups you createRegular, computed, and dynamic . . . . . . . . . . . . . . . . . . . . . Using a parent group for permissions inheritance . . . . . . . . . . . . . . . . . . . . . . . . . . Roles in AR System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Users in AR System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Additive access control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Access to AR System objects. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Form, active link guide, and application permissions . . . . . . . . . . . . . . . . . . . . . . . Field permissions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Active link permissions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Access to requests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Controlling access by using implicit groupsRow-level security . . . . . . . . . . . . Submitter and Assignee access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Assignee Group access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Dynamic group access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using the Request ID field with implicit groups . . . . . . . . . . . . . . . . . . . . . . . . . . . Using the Assignee Group and dynamic groupsExamples . . . . . . . . . . . . . . . . Controlling access to requests for hierarchical groups . . . . . . . . . . . . . . . . . . . . . . Putting it all together . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Creating and managing groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Creating groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Managing groups. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Creating and mapping roles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Assigning permissions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Defining default permissions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Assigning permissions for individual or multiple AR System objects . . . . . . . . . Checking object visibility for the Public group. . . . . . . . . . . . . . . . . . . . . . . . . . . . . Subadministrators in AR System. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Rights for subadministrators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Defining subadministrator permissions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents
Chapter 2
71
About version control in AR System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 About object reservation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 About the object modification log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 Object reservation and object modification for overlays and origin objects . . . . . 74 Using object reservation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 Using the object modification log. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 Labeling a collection of objects. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 Chapter 3 Defining applications 85
Deployable applications in AR System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 Features of deployable applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 Shared workflow in deployable applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 Contents of deployable applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 Access control for deployable applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 Building deployable applications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 Creating a deployable application. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 Including objects in an application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 Dividing an application. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 Working with deployable application states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 Working with deployable application access points . . . . . . . . . . . . . . . . . . . . . . . . 99 Application attributes and properties. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 Alternatives for presenting applications to users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 Specifying General and Forms attributes for Application mode . . . . . . . . . . . . . 104 Specifying Help properties for Application mode . . . . . . . . . . . . . . . . . . . . . . . . . 106 Distributing the application to users as a shortcut . . . . . . . . . . . . . . . . . . . . . . . . . 108 Exporting and importing deployable applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 Creating a deployable application definition file . . . . . . . . . . . . . . . . . . . . . . . . . . 108 Exporting and importing shared workflow and integrated applications . . . . . . 109 Exporting and importing deployable applications with localized views . . . . . . 113 Exporting and importing data with deployable applications . . . . . . . . . . . . . . . . 115 Deleting applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 Local applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 Chapter 4 Customizing objects 119
About preserving customizations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 Features for preserving customizations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 About overlays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 Overlay process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 About custom objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 Preserving customizations during upgrade of the AR System server and other AR System components to version 7.6.04 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 Overlayable and non-overlayable objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 Overlay object names. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 Guidelines for overlaying forms, views, and fields . . . . . . . . . . . . . . . . . . . . . . . . 126 Working with overlays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128 Working with custom objects. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133 Properties shared between overlays and origin objects . . . . . . . . . . . . . . . . . . . . . 135
6 Form and Application Objects Guide
Locating overlays and custom objects in BMC Remedy Developer Studio . . . . Converting custom objects to origin objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Considerations for auditing and archiving overlays and custom objects. . . . . . Export and import operations on overlays and custom objects . . . . . . . . . . . . . . Working only with origin objects at design time . . . . . . . . . . . . . . . . . . . . . . . . . . Configuring AR System to support only origin objects. . . . . . . . . . . . . . . . . . . . . Chapter 5 Creating AR System forms
137 141 142 144 145 145 147 148 148 148 149 150 150 151 151 153 153 154 154 155 157 157 157 158 162 162 168 170 170 170 173 174 176 178 179 181 183 184 184 185 186 189 191 191 192 195
7
Types of forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Regular forms. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Join forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Display-only forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . View and Vendor forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Inline Forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Creating and managing forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Creating forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Opening forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Copying forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Renaming forms. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Deleting forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Previewing form updates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Display-only forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Creating display-only forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using a display-only form as a control panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using a display-only form as a dialog box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Join forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Understanding join forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using join forms in workflow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . The Request ID field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Creating entries in join forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Creating join forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Modifying join form properties. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting form properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Defining next ID block size, cache, and status history. . . . . . . . . . . . . . . . . . . . . . Defining search results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting up sort order . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Defining indexes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Chapter 6 Creating and managing fields
Determining what types of fields to use. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Creating data fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Adding a file system browser to character fields . . . . . . . . . . . . . . . . . . . . . . . . . . Adding rich-text-formatting capabilities to a character field . . . . . . . . . . . . . . . . Adding field effects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using character fields to generate GUIDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Creating currency fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Creating a currency field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Creating currency exchange ratios . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents
Creating selection fields. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196 Creating attachment pools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198 Attachment field size considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201 Creating view fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201 Creating data visualization fields. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203 Creating application list fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203 Executing entry points in HTML . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204 Creating navigation fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205 Setting navigation field color options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207 Applying flyout mode to navigation fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209 Creating button fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210 Adding images to buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212 Creating trim fields. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214 Creating global fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217 Regular global fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218 Window-scoped global fields. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218 Managing fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219 Modifying fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219 Copying fields. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219 Deleting fields. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221 Making data fields nonoperational . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221 Finding fields in a form . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222 Setting tab order for fields on a form . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223 Z-order options for form objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226 Selecting z-order from the Layout menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226 Positioning an object in a stack . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226 Working with fields in join forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229 Chapter 7 Working with tables 233
About table fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234 List view tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235 Structure of list view table fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235 Editing row data in list views. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235 Tree view tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236 Structure of tree view table fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236 Editing data in tree views . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237 Arranging nodes in tree views . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238 Selecting requests in list views and tree views . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242 Cell-based tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243 Templates for cell-based tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245 Editing data in cell fields. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245 Alert lists . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245 Structure of alert list table fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246 Editing row data in alert lists . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246 Results lists . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246 Editing row data in results lists . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247 Creating table fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247 Adding a table field to a form . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248 Customizing table labels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
8 Form and Application Objects Guide
Setting column properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting sort order and visible levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Grouping rows in tables and adding a row count . . . . . . . . . . . . . . . . . . . . . . . . . Setting table colors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Defining a context menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting the remaining table properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Workflow considerations for table fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Workflow in tree view tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Workflow in cell-based tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Displaying images in tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Image size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Image type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Image limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Column display types and images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Mid-tier performance considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Runtime images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Workflow considerations for images in tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . Adding images to tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Adding buttons and URLs to tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Adding a select/cancel all check-box column to tables . . . . . . . . . . . . . . . . . . . . . . . . Using drop-down menus in list view tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Creating dynamic tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Dynamically defining table field search criteria . . . . . . . . . . . . . . . . . . . . . . . . . . . Updating tables on-screen only . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using Set Fields with temporary tree nodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Example: temporarily displaying table rows on-screen . . . . . . . . . . . . . . . . . . . . Enabling users to customize columns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Refreshing table fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting refresh intervals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Locale-specific refresh. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Chapter 8 Creating menus
257 259 261 263 267 268 268 268 269 269 271 271 271 272 272 272 272 273 275 278 281 282 284 284 288 291 295 297 297 297 299 300 301 303 304 305 306 310 312 315 316 316 319 319 320 320 323 323
9
About character field menus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Creating character menus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Creating file menus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Creating dynamic file menus. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Menu file format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Creating search menus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Creating dynamic search menus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Creating SQL menus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Sample SQL menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Database security issues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Creating data dictionary menus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Refreshing menus. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Adding (clear) to drop-down lists . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Removing (clear) from drop-down lists. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Automatically completing menu entries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Considerations for search menus with large data sets. . . . . . . . . . . . . . . . . . . . . . Workflow considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents
Recording menu change history. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323 Creating help text for menus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324 Modifying menus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324 Copying menus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325 Deleting menus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325 Chapter 9 Working with panels 327
About panel fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 328 About panels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 328 About panel holders. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 328 Panel layout styles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 329 Panel holder display types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 331 About floating panels. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 333 Characteristics of floating panels. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335 Creating panel holders and panels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336 Creating panel holders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336 Creating panels. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337 Creating floating panels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 338 How users can move a dialog floating panel. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 341 Adding a panel to a panel holder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 341 Modifying panel holders and panels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342 Background Mode in panel holders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 344 Setting color options for panels and panel headers . . . . . . . . . . . . . . . . . . . . . . . . 345 Adding an image to a panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 346 Applying border colors and thickness to a panel . . . . . . . . . . . . . . . . . . . . . . . . . . 347 Applying rounded corners to a panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 348 Shared fields in panel holders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 349 Avoiding scroll bars in panels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 349 Distributing slack to avoid scroll bars. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 350 Using Fit to Content to dynamically resize panels . . . . . . . . . . . . . . . . . . . . . . . . . 355 Avoiding scroll bars in view fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 357 Including space for panel elements to avoid scroll bars . . . . . . . . . . . . . . . . . . . . 357 Workflow considerations for panels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 358 Using workflow to expand and collapse panels . . . . . . . . . . . . . . . . . . . . . . . . . . . 358 Chapter 10 Working with images 359
About images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360 Using backslashes in image object names. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 361 Creating image objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 361 Working with image objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 362 Adding background images to fields and form views . . . . . . . . . . . . . . . . . . . . . . . . . 363 Using transparent images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 365 Chapter 11 Types of fields 367
Data fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 368 Character fields. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 368 Diary fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 369 Date and time fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 370
10 Form and Application Objects Guide
Currency fields. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Integer fields. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Real fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Decimal fields. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Selection fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Attachment pools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Workflow considerations for attachment pools . . . . . . . . . . . . . . . . . . . . . . . . . . . View fields. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using view fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Workflow considerations for view fields. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Data visualization fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Application list fields. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Displaying a subset of a servers applications and entry points . . . . . . . . . . . . . Navigation fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Workflow considerations for navigation fields. . . . . . . . . . . . . . . . . . . . . . . . . . . . Button fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Panel fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Trim fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Chapter 12 Using templates
371 375 375 376 376 377 377 380 380 381 381 382 382 383 383 383 384 384 385 387 388 389 389 390 391 391 392 393 394 394 399 400 400 403 403 404 404 405 405 411 412 413 414 415 416 419
11
Resources for templates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Template content . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Parameters in templates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using templates with fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Binding a template . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Evaluating a template with the TEMPLATE function . . . . . . . . . . . . . . . . . . . . . . Using auto-complete functionality with the TEMPLATE function . . . . . . . . . . . Chapter 13 Creating and managing form views
About form views . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . How a form view is selected for the user. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . How a form view is selected in BMC Remedy Developer Studio . . . . . . . . . . . . Creating and managing form views . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Creating form views . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Changing which view is displayed. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Modifying form views . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Renaming form views . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Resizing form views . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Deleting form views . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting form view properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Including and excluding fields from form views . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Arranging fields in a form view. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Selecting multiple fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Sizing fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Aligning fields using the grid . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Positioning fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Aligning fields using commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents
Anchoring fields to the right side of a form or panel . . . . . . . . . . . . . . . . . . . . . . . 420 Tips for aligning and resizing fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 421 Spacing fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 422 Stacking fields. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423 Rendering forms in right-to-left format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423 Setting the tab order of fields in a form view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 424 Applying skins to form views. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 426 Properties to which skins can be applied . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 427 Types of skins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 428 How skin priorities are applied . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 428 How field display property priorities are applied . . . . . . . . . . . . . . . . . . . . . . . . . 429 Skins and permissions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 429 Skins and localized views . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 429 Defining skins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 430 Activating skins through the mid tier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 432 Chapter 14 Defining entry points and home pages 433
Overview of home pages and entry points. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 434 Using a home page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 434 Using entry points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 437 Types of entry points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 438 Creating form entry points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 439 Creating entry point guides . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 440 Using the AR System Customizable Home Page. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 443 Defining forms, descriptors, and layouts for the home page . . . . . . . . . . . . . . . . 444 Using the Home Page form . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 450 Creating a home page form. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 451 Using style sheets with application list and navigation fields. . . . . . . . . . . . . . . . . . . 452 Viewing a subset of entry points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 454 Home page navigation aids . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 456 BMC Remedy Useradding a home page form action field to a form . . . . . . . . 456 Creating run process workflow that returns to the home page . . . . . . . . . . . . . . 457 Configuring home page preferences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 457 Specifying a home page on the server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 458 Specifying a server for the mid tier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 458 Understanding how a home page appears in a browser . . . . . . . . . . . . . . . . . . . . 459 Understanding how a home page appears in BMC Remedy User. . . . . . . . . . . . 461 Specifying a server and home page in the AR System User Preference form. . . 462 Suppressing automatic opening of home pages in BMC Remedy User . . . . . . . 463 Chapter 15 Defining packing lists 465
Using packing lists . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 466 Creating packing lists. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 466 Saving packing lists as XML import/export command files . . . . . . . . . . . . . . . . . . . . 469 Appendix A Core fields 471
Appendix B
Reserved fields
Reserved field ranges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Reserved IDs used as placeholders in definitions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . Reserved fields in access control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Localization reserved field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DSO reserved fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Form action reserved fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Appendix C Special forms
AR System installed forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 490 Appendix D Appendix E Field properties Archiving data 501 533 534 534 536 537 537 539 539 540 540 541 541 543 544 544 545 548 549 549 551 552 552 553 553 553 554 555 555 555 556
Understanding data archiving . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuring data archiving for a form . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Deleting an archive form. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AR_ARCHIVER user . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . How changes to the main form affect the archive form . . . . . . . . . . . . . . . . . . . . . . . . Characteristics of archive forms. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . All archive forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Archive forms created by the AR System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Distributed Server Option (DSO) and archive forms. . . . . . . . . . . . . . . . . . . . . . . Configuring data archiving for a server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Server events and logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Appendix F Auditing
Understanding auditing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Audit styles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Form-style audits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Log-style audits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuring auditing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuring a form for auditing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Specifying fields to be audited . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table fields in audit forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Changing field properties on the main form. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Considerations for forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . View and vendor forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Join forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Changing field properties on the main form. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Distributed Server Option and audit forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Assignee Group and other dynamic group fields. . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using flag fields to view changes to an individual field . . . . . . . . . . . . . . . . . . . . . . . Audit processing and filters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents
13
Appendix G
557
AR System definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 558 The AR System definition (*.def) file type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 558 The AR System XML (*.xml) file type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 558 Exporting and importing definitions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 559 Exporting object definitions, views, and applications . . . . . . . . . . . . . . . . . . . . . . 560 Importing object definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 569 Locking objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 571 Modifying locked objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 571 Levels of object locking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 572 Locking objects when exporting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 574 Importing locked objects. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 576 Appendix H Localizing AR System applications 577
Data versus display languages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 578 Localizing AR System forms and applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 579 Structure of the localized environment. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 579 Localizing form views . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 580 Tasks for localizing AR System forms and applications . . . . . . . . . . . . . . . . . . . . 581 Step 1: Installing languages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 582 Installing the AR System server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 582 Installing BMC Remedy User and BMC Remedy Alert . . . . . . . . . . . . . . . . . . . . . 583 Step 2: Creating a localized view of a form . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 583 Locale field language entries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 583 Field label for localized view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 583 Step 3: Localizing the user interface of a form view . . . . . . . . . . . . . . . . . . . . . . . . . . . 584 Localizing the user interface through exporting and importing. . . . . . . . . . . . . . 584 Localizing the user interface manually . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 585 Step 4: Localizing menus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 586 Localizing character menus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 586 Localizing file menus. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 586 Localizing search menus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 586 Step 5: Localizing reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 588 Step 6: Localizing message components of a form view. . . . . . . . . . . . . . . . . . . . . . . . 588 Step 7: Localizing currency codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 593 Step 8: Localizing the mid tier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 594 Creating localized login and logout pages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 594 Step 9: Setting the Localize Server option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 595 Step 10: Adjusting view size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 595 Step 11: Setting user preferences settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 596 Setting the display locale . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 597 Setting the Date/Time style and time zone . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 597 Defining ARDATE, ARDATEONLY, and ARTIMEONLY . . . . . . . . . . . . . . . . . . . . . 597 Customizing Date/Time formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 598 Errors in formatting ARDATE, ARDATEONLY, and ARTIMEONLY . . . . . . . . 599 How AR System selects a view for the user . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 600
14
Appendix I
601 602 602 602 603 605 606 607 609 612 613 617 618 619 619 620 621 622 626 626 627 629
Localizing your application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Before you begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Localization toolkit process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Preparing your application to be localized . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Installing the localization toolkit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting a root folder. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Creating a localization package definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Extracting the strings for localization. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Exporting the extracted strings to an XLIFF file . . . . . . . . . . . . . . . . . . . . . . . . . . . Translating the XLIFF file. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Importing the translated strings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Creating or updating the content . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Reviewing the translations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Adjusting view layouts that have been localized . . . . . . . . . . . . . . . . . . . . . . . . . . Changing the default settings for localization rules in Analyzer. . . . . . . . . . . . . Exporting the contents of the root folder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using the CLI to localize your application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Localizing the AR System server forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Localizing system forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Packaging the output for a specific language . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Appendix J Struct Admin group permissions matrix
Contents
15
16
Preface
This manual contains reference information and procedures for creating, modifying, and maintaining BMC Remedy Action Request System (AR System) components, including applications, forms, form views, fields, menus, images, and packing list. See the Workflow Objects Guide for information and procedures about workflow.
IMPORTANT
The compatibility information listed in the product documentation is subject to change. See the compatibility matrix at http://www.bmc.com/support for the latest, most complete information about what is officially supported. Carefully read the system requirements for your particular operating system, especially the necessary patch requirements.
Audience
This guide is written for developers and administrators who create, customize, and maintains applications based on AR System.
NOTE
You should be familiar with BMC Remedy User and BMC Remedy Alert before you begin. See the Introduction to Application Development with BMC Remedy Developer Studio guide for basic information about AR System application development and the development environment.
AR System documents
The following table lists documentation available for AR System 7.6.04. Unless otherwise noted, online documentation in Adobe Acrobat (PDF) format is available on AR System product installation DVDs, on the Customer Support website (http://www.bmc.com/support), or both.
Preface
17
You can access product help through each products Help menu or by clicking Help links.
NOTE
The AR System product help has not been updated for version 7.6.04. The help topics still apply to version 7.6.03. For the most recent content, refer to the PDF documentation.
Title Concepts Guide1 Description Audience
Overview of AR System architecture and features; includes Everyone information about add-on products that extend AR System functionality and a comprehensive glossary for the entire AR System documentation set. Instructions for installing AR System. Information about the development of AR System applications, including an introduction to using BMC Remedy Developer Studio. Information about AR System applications and their user interface components, including forms, fields, views, menus, and images. Administrators Developers2
Installation Guide Introduction to Application Development with BMC Remedy Developer Studio Form and Application Objects Guide Workflow Objects Guide
Developers
Information about the AR System workflow objects (active Developers links, filters, and escalations) and how to use them to create processes that enforce business rules. Information about configuring AR System servers and clients, localizing, importing and exporting data, and archiving data. Information about configuring the mid tier, setting up applications for the mid tier, and using applications in browsers. Administrators
Configuration Guide
Administrators
Instructions for integrating AR System with external Administrators/ systems by using web services, plug-ins, and other products, Developers/ including LDAP, OLE, and ARDBC. Programmers3 Information about monitoring and maintaining AR System Administrators/ and AR System applications to optimize performance and Developers/ solve problems. Programmers Database administration topics and rules related to how AR System interacts with specific databases; includes an overview of the data dictionary tables. Information about implementing a distributed AR System server environment with BMC Remedy Distributed Server Option (DSO). Administrators/ Developers/ Programmers Administrators
BMC Remedy Distributed Server Option Guide BMC Remedy Flashboards Guide C API Reference C API Quick Reference
Instructions for creating, modifying, and administering Administrators/ flashboards to display and monitor AR System information. Developers Information about AR System data structures, C API function calls, and OLE support. Quick reference to C API function calls. Programmers Programmers
18
AR System documents
Description
Audience
Programmers Information about Oracle Java classes, methods, and variables that integrate with AR System. For the location of the JAR file containing this online documentation, see the information about the Java API in the Integration Guide. Information about Java classes, methods, and variables used Programmers to write plug-ins for AR System. For the location of the JAR file containing this online documentation, see the information about plug-ins in the Integration Guide. Instructions for configuring and using BMC Remedy Email Administrators Engine. Descriptions of AR System error messages. Administrators/ Developers/ Programmers Everyone Administrators
Master Index BMC Remedy Approval Server Guide Release Notes Release Notes with Known Issues BMC Remedy User Help BMC Remedy Developer Studio Help BMC Remedy Data Import Help BMC Remedy Alert Help BMC Remedy Mid Tier Configuration Tool Help BMC Remedy Browser Help BMC Remedy Migrator 7.6.04 BMC Remedy Migrator Guide BMC Remedy Migrator online help BMC Remedy Encryption Security 7.6.04 BMC Remedy Encryption Security Guide
1
Combined index of all books. Instructions for using BMC Remedy Approval Server to automate approval and signature processes in your organization. Information about new features, compatibility, and international issues.
Everyone
Information about new features, compatibility, international Everyone issues, installation planning, and open issues. Instructions for using BMC Remedy User. Instructions for using BMC Remedy Developer Studio to develop AR System forms, workflow objects, and applications. Instructions for using BMC Remedy Data Import. Instructions for using BMC Remedy Alert. Instructions for configuring BMC Remedy Mid Tier. Instructions for using AR System forms in browsers. Outlines procedures for installing BMC Remedy Migrator, setting options, and performing migration tasks. Procedures for setting BMC Remedy Migrator options and performing migration tasks. Everyone Developers
Provides an overview of the BMC Remedy Encryption Administrators Security products and explains how to install and configure them.
The full title of each guide includes BMC Remedy Action Request System 7.6.04 (for example, BMC Remedy Action Request System 7.6.04 Concepts Guide), except
Preface
19
the BMC Remedy Migrator Guide and BMC Remedy Encryption Security Guide. Application developers who use BMC Remedy Developer Studio. 3 C and Java programmers who write plug-ins and clients for AR System.
2
20
Chapter
This section describes how to define access control within AR System and how users can have different permissions to access an AR System application, parts of an application, or objects. It also covers limited administrative access to server objects for subadministrators. The following topics are provided: Understanding access control in AR System (page 22) Groups in AR System (page 22) Roles in AR System (page 28) Users in AR System (page 29) Additive access control (page 29) Access to AR System objects (page 31) Access to requests (page 38) Putting it all together (page 48) Creating and managing groups (page 49) Creating and mapping roles (page 55) Assigning permissions (page 58) Subadministrators in AR System (page 66)
Chapter 1
21
key functions in your company and the type of information each function must access.
2 Create users on your AR System server and assign their respective groups to them.
Group membership ultimately determines which objects a user can access and which operations individual a user can perform. AR System has various levels of security: ServerControls access to an AR System server. A user must be defined on a server or connect to it as a guest user if the server permits them. Application, form, and workflowControls access to AR System objects. A user must belong to a group that has permission to access an application, form, active link, or active link guide to see it and use it. Request (or row)Controls access to individual requests in a form. A user can have permission to view or change only requests the user created or those created by a member of a group to which they belong. Field (or column)Controls whether a user can view or can change a field in a form. A user can have permission to view or change a request but cannot see or change individual fields unless the user also belongs to a group with the required fieldlevel permission.
Groups in AR System
Access control groups are collections of AR System users. A user gains access to an object, a field, or a request if a group the user is in has access, or a role mapped to such a group has access. Notifications also can use groups. For example, you can designate an entire group to be notified in a filter action. AR System includes a Public group and eight other special groups that are essential for access control within the system. You can define additional groups based on a common profile and assign access accordingly. For example, you might create a Sales group and allow members to view the status of a request but not to change it. A group can also be a general category, such as Browsers. For information about adding groups, see Creating and managing groups on page 49.
22 Form and Application Objects Guide
Groups in AR System
AR System provides two types of groups: Explicit groupsGroups to which you must manually assign users in the User form. When a user becomes a member of a group, the user is given access to all objects and fields to which the group is granted access. Explicit groups that you create are defined for a particular server. If you move the objects to a new server with its own defined explicit groups, you might need to resolve permission conflicts. Consider using a deployable application, which uses role permissions that can be mapped to different groups on different servers. For more information, see Roles in AR System on page 28. For information about assigning users to groups, see the Configuration Guide, Adding and modifying user information, page 57. Implicit groupsGroups that depend on specific user circumstances and situations. Users belong to these groups based on specific conditions, such as the contents of special fields within each request. You do not directly assign users to implicit groups. Any dynamic groups that you create are also implicit groups. For more information, see Dynamic group access on page 40.
Implicit Provides general access. Access granted to this group is granted to all users. Every user who logs in to AR System is automatically a member of the Public group. This includes registered users (that is, listed in the User form) and guest users. For information about allowing guest users, see the Configuration Guide, Allowing guest users, page 64.
Administrator
Explicit Defines users who have full and unlimited access to AR System. Administratorsmembers of this groupcan view any object or field in BMC Remedy User or a browser and can create a request in any form. Administrators can view, create, modify, and delete any server object in BMC Remedy Developer Studio. A user must have a fixed license or this group assignment is ignored.
Customize
Explicit Grants users the ability to customize their form view layout in BMC Remedy User. Use this group with caution.
Chapter 1
23
Table 1-1: Special groups in AR System (Sheet 2 of 3) Group Submitter ID 3 Type Description
Implicit Provides field access to the user whose login name is in the Submitter field (field ID 2) for a particular request. The user who creates a request is usually automatically belongs to the Submitter group for that requests. For more information, see Submitter and Assignee access on page 39. See the Configuration Guide, Enabling submitters to modify requests, page 65, to enable a special server Submitter mode that allows the user who submitted a request to modify it without having a write license.
Assignee
Implicit Provides field access to the user whose name is in the Assignee field (field ID 4) for a particular request. The user whose name is in the Assignee field automatically belongs to the Assignee group. For more information, see Submitter and Assignee access on page 39.
Sub Administrator 5
Explicit Provides administrative access to selected server objects. Subadministratorsmembers of this groupcan be granted administrative access to objects that have the Subadministrator Permissions property. With administrative access, a subadministrator has the same access as an administrator for that object. See Subadministrators in AR System on page 66. A user must have a fixed license or this group assignment is ignored.
Assignee Group
Implicit Provides field access to the user who is a member of one of the groups listed in the Assignee Group field (field ID 112) for a request. A user automatically belongs to the Assignee Group group for requests in which the Assignee Group field exists and contains the name or ID of a group to which the user belongs, the name or ID of a role that maps to a group to which the user belongs, or the users name. For more information, see Assignee Group access on page 40 and Form, active link guide, and application permissions on page 31.
Note: Do not confuse this group with the Assignee
group, which gives permission to the individual user named in the Assignee field.
24
Groups in AR System
Type
Description
Explicit Struct Admin members can create, modify, and delete AR server objects, but have no access to data or to administrative functions unless provided by other groups in the user's group list. If the user is also assigned to a Struct Admin Permission Group, the user has the same access as an Administrator.
Note: For more information about Struct Admin
permissions, see Struct Admin group permissions on page 528. The assigned user must have a fixed license or this group assignment is ignored. Struct Subadmin 91 Explicit Struct Subadmin members can modify AR server objects subject to the same rules that govern Sub Administrator group members. If the object's Administrator group list contains a group in which the Struct Subadmin user is a member, the user has access. Struct Subadmin members have no access to data or to administrative functions unless provided by other groups in the user's group list. The assigned user must have a fixed license or this group assignment is ignored.
1.
This Group ID assignment is introduced in this release, and may present a conflict with custom type assignments.
In addition to the groups listed in the previous table, groups with IDs in the range of 60000 to 60999 are reserved for dynamic groups.
Chapter 1
25
Dynamic groupsImplicit groups are similar to the reserved Assignee Group group in that the contents of special fields determine group membership. For more information, see Dynamic group access on page 40. For information about creating groups, see Creating and managing groups on page 49.
26
Groups in AR System
In this example, an auto parts supplier needs to control access to the order database, such that employees of the parts supplier can see orders from all dealers and their respective authorized repair shops, but employees of each dealer can see only their own orders or those of their subcontracted shops. Employees of each shop can see only the orders for their own shop. This is accomplished by assigning Parts Supplier as the parent group for Dealer A and Dealer B, and by assigning Dealer A or Dealer B as the parent group for each of the shop groups. To assign a parent group, you modify the Group form entry for the child group. See Creating and managing groups on page 49.
NOTE
Hierarchical group relationships are used for permissions management only, and are not recognized when sending notifications by group.
Chapter 1
27
Roles in AR System
Roles are permissions similar to groups, except that they belong to a particular application, instead of a particular server. Roles are used exclusively in deployable applications. Roles are defined for each deployable application and then mapped to explicit groups on the server. You can map a deployable applications roles to different groups on different servers, depending on how the groups are defined on each server. This allows you to develop and test the application on one server and deploy it to a number of other servers without having to redefine permissions on each server. You can also map roles to different groups for each development state, such as Test or Production. You can then switch between states using BMC Remedy Developer Studio or workflow. For more information, see Creating and mapping roles on page 55. Because roles are mapped to groups, the groups you define on the server and the users that belong to them are the foundation of access control. For more information about creating and using deployable applications, see Chapter 3, Defining applications.
28
Users in AR System
Users in AR System
A user is any person to whom you give permission to access AR System. Users can be members of multiple groups or no group at all. Users in AR System range from an administrator (who maintains the entire system) to employees (who submit requests or view data). AR System includes one predefined user (Demo). You can use the User form in BMC Remedy User or a browser to rename this user, and you can create additional users in AR System. For information about defining users for AR System, see the Configuration Guide, Adding and modifying user information, page 57.
Chapter 1
29
In Figure 1-2, Lydia Lan is a member of two groups: Engineering and Engineering Managers.
Figure 1-2: Additive permissions
Engineering Group
No Access
Access
Form1
Form1
In this example, the Engineering group does not have access to Form1, but the Engineering Managers group does. Thus, although Lydia does not have access to Form1 through the Engineering group, she does have access through the Engineering Managers group. You must assign permissions to every application, form, field, active link, active link guide, packing list, and web service that requires access control. Start by designing the access control for your application or forms. Define default permissions before you create objects and fields to save time and prevent errors. You can also use batch Edit dialog box and the Assign Group Permissions dialog box to change permissions for multiple object in one operation. For more information, see Assigning permissions on page 58.
30
NOTE
A user who has access to the form through a hierarchical group relationship is in a group with permissions to the form. Also, web users can open Hidden forms with the correct URL, but the ability to use the form is controlled by field permissions.
Chapter 1
31
Yes
No
Yes
Yes
No
Yes
Visible
Can see form in the Open dialog box in BMC Remedy User
Hidden
Cannot see form in the Object List dialog box in BMC Remedy User
Yes
No access to form
Field permissions
Field permissions determine the types of access that groups or roles have for individual fields in a form: ViewUsers can read the contents of the field. ChangeUsers can read and write the contents of the field. If neither permission is selected, members of the group or role cannot view or change the field. Groups and roles are defined with maximum privileges of View or Change, as explained in To define default permissions for a server or an application on page 60 and in the example on page 36. Groups or roles with maximum View permission can never be assigned Change permission for a field; groups or roles with maximum Change permission can be assigned Change, View, or no permission for a field.
32
If the form is configured to allow static permissions inheritance, granting permission to a field in the form for a group also grants the same permission to any ancestors (parent groups at all levels) of that group. Similarly, when you map a role to a group, the role permissions for the application also apply to any ancestors of the mapped group. Users must belong to a group or role with permission to view a forms Request ID field (core field 1), or they cannot access any information from that request. After you give a group or role access to the Request ID field, or to any field in the form, the user does not automatically have access to the form or to workflow attached to the field. You must grant permissions to each object individually.
NOTE
In a Set Fields operation, because active links execute with the permissions of the user, field values set through an active link are updated only if the user has permission to change the field. Values retrieved must be accessible by the user. For more information, see the Workflow Objects Guide, Set Fields action, page 129. Figure 1-4 on page 34 lists the questions that you can ask to determine the access that users have to fields in AR System. Some of the questions are covered in the Configuration Guide.
Chapter 1
33
Yes
No
Yes
Yes
No
Yes
Yes
No
Yes
Yes
No
No
Yes
Yes
No
Yes
34
Chapter 1
35
At the field level, each group is granted specific access to the Short Description data field: CS Staff groupChange Sales Staff groupView Browser groupView (Because the Browser group has a maximum access of View, Change access at the field level is not possible.)
36
John is a member of the CS Staff group and the Browser group. Although membership in the Browser group alone does not allow him to change the field, he can change it because of his group permission in the CS Staff group. When a user belongs to more than one group with different permissions to a field, the user has the highest level of permission granted by a group to which the user belongs. Alice is a member of the Sales Staff group, which has maximum permission of Change. However, at the field level, members of the Sales Staff group can only view the contents of this field. Rick also can only view the contents of the Short Description field because he is a member of the Browser group. Because the Browser group has maximum privileges of View, you can never give him Change permission for the Short Description field through the Browser group as it is currently defined.
Yes
No
Yes
Yes
No
Yes
Chapter 1
37
Access to requests
Defining access to requests is important when you want to keep certain groups of users from knowing that certain requests exist. For example, if you use AR System as the outsource help desk for several companies, you can assign access to requests so that only the company that submitted the request can see it. You determine which groups or roles have access to a request through the Request ID field (field ID 1). If a group or role does not have access to that field, the group or role has no access to the request, even if it has access to other fields in that form. You can grant access to members of explicit groups or roles. For example, you can give managers access to all requests. You can also grant access to members of implicit groups. For example, submitters can see their own requests but not those submitted by other users. For more information, see Controlling access by using implicit groupsRow-level security on page 38. Figure 1-7 lists the questions that you can ask to determine the access that users have to requests in AR System.
Figure 1-7: Accessing requests
Yes
No
Yes
Yes
No
Yes
Access to requests
The following table shows the differences and similarities among these implicit groups and their associated fields.
Table 1-2: Implicit groups and their associated fields Implicit group Submitter Assignee Assignee Group Dynamic groups Group ID 3 4 7 Associated default Field ID field name Submitter Assigned To None 2 4 112 Core field? Yes Yes No Associated field contents User name User name User, group, or role names User, group, or role names
6000060999 None
6000060999 No
You can also grant parent groups row-level access. For information, see Controlling access to requests for hierarchical groups on page 46. Fields with row-level security in searches are handled differently than regular fields to ensure that indexes (if used) are used properly and performance is not impacted. For example, a form might contain two fields (Field1 and Field2) and two dynamic groups (DynamicGroup1 and DynamicGroup2). DynamicGroup1 controls access to Field1, and DynamicGroup2 controls access to Field2. A user (not an administrator) performs a search with the following qualification:
'Field1' != $\NULL$ OR 'Field2' != $\NULL$
If regular fields were used, the following SQL WHERE clause would be used:
(Field1 is not NULL AND (user is member of DynamicGroup1)) OR (Field2 is not NULL AND (user is member of DynamicGroup2))
Chapter 1
39
NOTE
The BMC Remedy ITSM Suite uses group IDs 60899, 60900, and 60901 to control multi-tenancy in ITSM applications. Do not use these IDs if you are using a dynamic group to customize an ITSM application.
40
Access to requests
If you are using a users login name to assign access, remember these tips: In the Submitter or Assignee fields, enter the users login name without quotation marks. In the Assignee Group or dynamic group fields, enter the users login name in single quotation marks. Double any single quotation marks that are part of the login name (for example, Dan OConnor).
NOTE
If a group and role have the same name, the role name is assumed. For example, if a dynamic field contains Managers;Sales, AR System assumes the Managers and Sales roles, if they exist; otherwise, AR System assumes the Manager and Sales groups. For more information about all settings in the AR System Administration: Server Information form, see the Configuration Guide, Configuring AR System servers, page 122. Assignee Group and dynamic group permissions to the Request ID field, combined with the contents of the Assignee Group field or dynamic group fields, determines who can see the request. If a group or role to which the user belongs is in the Assignee Group or dynamic group field for a request, that user is given whatever access privileges you defined for the Assignee Group or dynamic group, as shown in Figure 1-8.
Chapter 1
41
Yes
Yes
Yes
Yes
Yes
Yes
No access to request
42
Access to requests
In this example, the four groups are: Acme Help Desk Staff (who will have access to all requests) Beta Computers Gamma Computers Delta Computers Beta Computers, Gamma Computers, and Delta Computers users must belong only to their company group. Acme employees can be members of more than one group.
2 Create a form, and give the appropriate groups Visible permission for it.
For example, giving the Public group Visible permission for the form enables all of the users to see it.
3 Add Assignee Group access to the form.
The Assignee Group capabilities of AR System are activated when you add a character field to the form with field ID 112 and a database input length of 255.
4 Restrict access to the necessary requests.
Because only groups or roles with permission for the Request ID field can access a request, restricting access to the Request ID field is the key to restricting access to a request. In this example, the Acme Help Desk Staff and the Assignee Group groups have the appropriate permissions for the Request ID field, as shown in Figure 1-9.
Figure 1-9: Field permissions for the Request ID field
Chapter 1
43
With Assignee Group access, a user from Beta Computers can submit requests, and anyone from Beta Computers can query them. However, no one from Gamma Computers or Delta Computers can query Beta Computers requests.
NOTE
You might want to give permissions to a single group to begin with and submit a sample request to determine if any group other than the designated group can access it.
5 Add workflow that inserts at least one explicit group, role, or user name into field
ID 112 according to the business rules at your site. If Enable Multiple Assign Groups is selected on the Configuration tab of the AR System Administration: Server Information form, you now can enter more than one explicit group, role, or user name into field ID 112. For sample syntax, see Defining access to requests at the group level on page 41. For more information about all settings in the AR System Administration: Server Information form, see the Configuration Guide, Configuring AR System servers, page 122. Because field ID 112 is designed for administrators and your help desk staff, deny access for most groups to this field. You can define a filter to set the contents of this field and use an active link Change Field action to allow your help desk staff to see and change the field as needed. If you must change the group or role in the field, field ID 112 includes system-defined menus of all groups on the server and roles in the application (if the form is owned by a deployable application). Administrators can override these menus in BMC Remedy Developer Studio as needed. In the example, Acme allows access to its service call database from a browser but limits users to view only requests submitted by members of their company. An access control group was created for each different company name, and a filter that copies the company name into field ID 112 (labeled Assignee Group in Figure 110) executes when users submit requests.
44
Access to requests
When the filter executes, the Assignee Group for this request is Beta Computers. You also could have created individual filters, one that enables Beta Computers to see their requests, another that enables Gamma Computers to see their requests, and so on. Use appropriate filter qualifications to make sure that only users from the Beta Computers group can execute the filter, set field ID 112 to Beta Computers, and so on. For more information about creating and using filters, see the Workflow Objects Guide, Introducing workflow, page 15.
6 Change the permissions of other fields in the form to grant access as needed.
Include the Assignee Group where appropriate. As a result of carefully defining access control in your system, when members of Acme Outsource Help Desks search all open help desk requests, they see a results list that includes requests submitted by Beta, Gamma, and Delta Computers. In contrast, if users from Delta Computers perform the same search, they see only the requests where Delta Computers is the Assignee Group (that is, the requests submitted by anyone at Delta Computers).
Chapter 1
45
For example, create a group called Dynamic Access with a group ID of 60001.
Step 3 Create a form, and give the appropriate groups Visible permission for it. Step 4 Add a character field to the form with field ID 60001, the same ID number as the
or user name into field ID 60001 according to the business rules at your site. If Enable Multiple Assign Groups is selected on the Configuration tab of the AR System Administration: Server Information form, you can enter more than one explicit group, role, or user name into field ID 60001. For sample syntax, see Defining access to requests at the group level on page 41. For more information about all settings in the AR System Administration: Server Information form, see the Configuration Guide, Configuring AR System servers, page 122. Like field ID 112, dynamic group fields can be modified manually. They include system-defined menus of all groups on the server and roles in the application (if the form is owned by a deployable application). Administrators can modify these menus as needed.
46
Access to requests
run time, and assign it a group ID in the dynamic group range, such as 60002. For example, create a dynamic group named Parent Dynamic Access.
3 Add a character field to the form with the same field ID number as the Parent
6 In the Dynamic Permissions Inheritance field, map the child implicit group field
Enter the child dynamic group ID first, followed by a colon, and then the parent group ID.
7 Click OK to save the form permissions.
Chapter 1
47
Server Access
No
No
No access to server
Yes
No
No access to server
Yes
Form Access
No
No access to form
Yes
Request Access
No
No access to request
Yes
Field Access
No
No access to field
Yes
48
NOTE
You must log on as an Administrator to work with the Group form.
Creating groups
This section provides the steps to create AR System access control groups. Although there is no limit to the number of groups that you can create, for maintenance purposes you might want to limit the number to avoid confusion. After you have created the necessary groups, see the Configuration Guide, Adding and modifying user information, page 57, to assign individual users to the appropriate groups.
Figure 1-12: Group Information formNew mode
Chapter 1
49
The following table lists the fields you can set the Group form.
Table 1-3: Fields in the Group Information form (Sheet 1 of 4) Field Group Name Description Name of the access control group. Use this name in the Group list field in the User form and in the Permission and No Permission lists when you are defining AR System object permissions. Every group name should be different. Use caution when creating group names that include spaces, because group names in the Group list field on the User form are separated by spaces. For example, if you have a group named CUSTOMER SUPPORT, you should not create a group named CUSTOMER or a group named SUPPORT. Group ID Integer ID that is the recognized identity of the group. The ranges are: 01000For AR System groups and current AR System applications 100013004 and 1300714999For regular and computed groups 1300513006For CMDB groups 1499959999For future AR System applications 6000060999For dynamic groups If you use the same ID with multiple group names, you must keep the Group type the same for each because you are creating aliases for the same group. To make sure that you do not create duplicate Group IDs, use BMC Remedy Developer Studio to build a unique index on the Group ID field in the Group form. (For more information, see To define indexes for a form on page 181.) The Group ID defines the priority of a group when a user obtains a floating license. See the Configuration Guide, License pools, page 53.
Note: The BMC Remedy ITSM Suite uses the IDs 60899, 60900, and
60901 to control multi-tenancy in ITSM applications. Do not use these IDs if you are customizing an ITSM application. Group Type Maximum permission type intended for the group. Your choices are None (no access), View (view field contents), and Change (modify field contents). Specify None to disable all access for the group without deleting the group itself. The group remains as a placeholder (and can be restored in the future), but all permissions for the group are lost. To define a group used only for notifications, create a group with the type None. For more information about field permissions, see Field permissions on page 32. Long Group Name Additional information about a group. The text should be descriptive of the group because it appears by default in the Results pane in BMC Remedy User when listing groups.
50
Table 1-3: Fields in the Group Information form (Sheet 2 of 4) Field Group Category Description The group category, such as Regular, Dynamic, or Computed, which is described in Groups you createRegular, computed, and dynamic on page 25. To define a dynamic group, use a group ID in the range of 60000 to 60999. On the form containing requests to which you want to define row-level access, add a field with a field ID that is the same as the dynamic group ID. You can populate a dynamic group field with a group name, role name, or the name of an individual user. Dynamic Groups are used only to control access to requests (row-level access). To define a computed group, select Computed Group as the group category and enter a qualification string in the Computed Group Definition field. Parent Group The parent group, if any, of the current group. This field is optional. If a parent group is assigned, members of the parent group have the same rights as members of the current group to objects that allow permissions inheritance. A group can have at most one parent group. Any regular or computed explicit group can act as a parent group, except for Administrator, Sub Administrator, and Customize. Implicit groups cannot be used as a parent group. (Implicit groups include Assignee, Submitter, Assignee Group, and dynamic groups.) To assign a parent group, the parent group must already exist. Select the parent group from the drop-down list. For an overview of hierarchical groups, see Using a parent group for permissions inheritance on page 26. For information about setting permissions inheritance for an object, see Assigning permissions for individual or multiple AR System objects on page 61. For information about row-level access control and hierarchical groups, see Controlling access to requests for hierarchical groups on page 46.
Chapter 1
51
Table 1-3: Fields in the Group Information form (Sheet 3 of 4) Field Overlay Group Description Use the setting to define the group as an Overlay Group. The Overlay Group option on the Group Information Form, provides the following access options: Overlay Group field set to 1 When a group assigned to the user has the Overlay Group field is set to 1, the user is restricted to working on overlay and custom mode objects. In Developer Studio, the user can work only in Best Practice Customization mode. Overlay Group field set to 0 When a group assigned to the user has the Overlay Group field is set to 1, the user is restricted to working on base mode objects. In Developer Studio, the user can work only in Base Developer mode. Overlay Group set to (clear) When the Overlay Group is set to (clear) the Group provides no restrictions on access to base, overlay, or custom objects.
Note: For more information about Overlay Groups, see the Form and
Guide, Groups in AR System, page 22. Also see Introduction to Application Development with BMC Remedy Developer Studio, Operations on objects restricted by development mode, page 32. Computed Group Definition Qualification string that defines a computed group. Construct the string from any valid combination of explicit group IDs, explicit group names (in double quotation marks), user names (in single quotation marks), and operators such as AND, OR, and AND NOT. Optionally, use the AND, OR, NOT, Append Group, Append User, and parentheses buttons to build the qualification string. For example: 12000 OR 12001 includes all users in group ID 12000 or group ID 12001. A OR B includes all users in group A or group B. A AND B includes only those users in group A and group B. (A OR B) AND NOT C includes all users in groups A or B, except for those users who are in group C. A OR Mary Manager includes all users in group A, and the user Mary Manager. Floating Licenses Number of floating licenses reserved for the group. See the Configuration Guide, License pools, page 53. If this field is missing from the Group form, you can add it using BMC Remedy Developer Studio. Use field ID 115. See Creating data fields on page 184.
52
Table 1-3: Fields in the Group Information form (Sheet 4 of 4) Field Application Floating License Description Application name and the number of application floating licenses to be held in the application license pool for a particular group. Manually enter the information for this field. You can add more than one entry of application names and number of licenses, separated by a semicolon. Use the following syntax when providing users with application licenses: vendorName:applicationName user typeOfLicense:Number of licenses;
Note: For the Application Floating License field, the value of
typeOfLicense is Floating. For example: For single application: XYZ:MusicManager User Floating:5; For multiple applications, separate multiple licenses with semicolons: XYZ:MusicManager User Floating:5; XYZ:NoiseManager User Floating:2;
Note: The applicationName string must be the same as the
Product Name string in the Application Licensing dialog box (Application > License Application) in BMC Remedy Developer Studio. If the Application Floating License field is missing from the Group form, you can use BMC Remedy Developer Studio to add the field. Use field ID 115. See Creating data fields on page 184.
Note: To use BMC Remedy AR Systembased applications from
BMC Software, you need an AR System user (floating) license (to access the AR System server) and an application user (floating) license (to access the application). Unique Identifier A unique identifier for the group. A unique identifier is useful if you have two groups with the same name for different applications. You can use the unique identifier to differentiate the two.
NOTE
If attributes that you want to specify in the group definition are not represented in the Group form, you can use BMC Remedy Developer Studio to add the appropriate fields. However, be careful that you do not modify or delete any of the original fields or field IDs.
Chapter 1
53
To create groups
1 In BMC Remedy User or a browser, open the Group form of the appropriate server
in New mode.
2 Enter information in the appropriate fields, as described in the previous table. 3 Save your changes.
For a regular group, assign users to it by using the User form in BMC Remedy User or a browser. After you save a group, the server automatically recaches, and the new group appears in the Group menu in the User form after a short delay. For more information about adding users, see the Configuration Guide, Adding and modifying user information, page 57. To enable a dynamic group, add a field to the form with a field ID that is the same as the group ID. For more information, see Group Category on page 51.
Managing groups
You can modify, delete, or search for groups in the Group form.
in Search mode.
2 Enter values in fields, or use the Advanced Search Bar to specify search criteria.
For computed groups, enter one group ID or one user name (in single quotation marks) in the Computed Group Definition field. If you use the Advance Search Bar, use the LIKE operator to indicate that you are searching for a portion of a string (see the Workflow Objects Guide, Operators, page 216). The search returns all computed groups that include the specified user or group in the definition. You cannot search the Computed Group Definition field for group names, or for strings that include operators such as AND, OR, and NOT. This is because AR System converts group names to group IDs and encodes operators before storing them in the database. However, the search results do show the strings as they were originally entered, with group names and operators.
3 Choose Actions > Search to retrieve the list of currently defined groups that match
your search criteria. For more information about performing searches, see BMC Remedy User Help.
NOTE
Informix databases do not support searches on the Computed Group Definition field.
54
To modify groups
1 In BMC Remedy User or a browser, open the Group form of the appropriate server
in Search mode.
2 Perform a search to retrieve a list of currently defined groups. 3 Select the appropriate group from the list. 4 Modify information in the appropriate fields. 5 Save your changes.
To delete groups
1 In BMC Remedy User or a browser, open the Group form of the appropriate server
in Search mode.
2 Perform a search to retrieve a list of currently defined groups. 3 Select the appropriate group from the list. 4 Choose Actions > Delete.
A confirmation box appears to verify that you want to delete the group entry.
5 Click OK.
NOTE
Permissions for a user are determined by the list of groups in the Group list field of the users entry in the User form. If you later delete a group or change its Group ID, the users originally assigned to the group are still attached to the old ID. If there is no group with the old ID, these users are no longer attached to any group.
NOTE
You must log on as an Administrator to work with the Roles form.
Chapter 1
55
You can map roles to regular or computed groups for the Test and Production application development states. You can also create custom states and map roles for those states, as explained in Creating custom states on page 98. To enable a particular mapping, change the applications state, as described in Working with deployable application states on page 97.
Figure 1-13: Roles formNew mode
The following table lists the key fields in the Roles form.
Table 1-4: Key fields in the Roles form (Sheet 1 of 2) Field Application Name Description Name of the deployable application for which the role is defined. You can define the same role for multiple applications, but you must create a separate Roles form entry for each. Name by which the role is known. Within each application, every role name should be unique. You can reuse the same role name-role ID pairs across a suite of applications. Integer ID that is the recognized identity of the role. The ID must be a negative number, such as -10001. Role IDs must be unique for each application name. You can reuse the same role name-role ID pairs across a suite of applications.
Role Name
Role ID
56
Table 1-4: Key fields in the Roles form (Sheet 2 of 2) Field Test Description Enter or select one group name for the regular or computed group to which you want to map this role for the Test application state. To enable this mapping, set the applications State property to Test. For more information, see Working with deployable application states on page 97. Production Enter or select one group name for the regular or computed group to which you want to map this role for the Production application state. To enable this mapping, set the applications State property to Production. For more information, see Working with deployable application states on page 97.
server that contains the deployable application for which you are creating roles.
2 Enter information in the Application Name, Role Name, and Role ID fields, as
described in the previous table. If you save the role now, you can begin assigning permissions for this role to objects within the application. A role is listed only for object in the deployable application to which the role belongs.
3 Enter a regular or computed group ID in each Mapped Group field to define access
NOTE
Newly created roles appear in Permissions dialogs after the server recaches (about 5 seconds, depending on your system).
server that contains the deployable application for which you are creating roles.
2 Search the form to retrieve a list of currently defined roles for a particular
application.
3 Select the appropriate roles and modify information in the appropriate fields. 4 Save your changes.
To delete roles
1 In BMC Remedy User or a browser, open the Roles form in Search mode for the
server that contains the deployable application for which you are creating roles.
2 Search the form to retrieve a list of currently defined roles for a particular
application.
Chapter 1 Defining access control 57
A confirmation box appears to verify that you want to delete the role entry.
5 Click OK.
Assigning permissions
You assign permissions to applications, forms, fields, active links, active link guides, flashboards, flashboard variables, packing lists, and web services. BMC Remedy Developer Studio includes these ways to assign or modify permissions: Default permissionsThe permissions automatically created for a new object. Default permissions are preset permissions that you define per object type. You can set default permissions to apply to all objects on the server, or only within an application. Once defined, default permissions are automatically applied when you create any object of that type. Defining default permissions is optional, but can be useful if a certain group or role should always have permission to an object type. If you do not set default permissions, only administrators (and subadministrators where assigned) can access an object until you assign specific permissions to it. See Defining default permissions on page 59. Permissions for individual objectsYou can specify which groups or roles can access an object when you create or modify the object. when you need to control user access at the object level. The steps for this option are described in To assign permissions for a form on page 61 and To assign permissions for other objects on page 62. Permissions for fieldsYou can specify which groups or roles can view or change the data in a field when you create or modify the field. A group can have permission to a form but must also be granted permission to the fields in the form. The steps for assigning field permissions are described in To assign permissions for one or more fields on page 63. Batch permissionsYou can specify permissions for multiple objects of the same type at the same time. For more information, see the Introduction to Application Development with BMC Remedy Developer Studio guide, Modifying object properties, page 51. Group and role permissionsYou can give a group or role access to every applicable object in a server or deployable application instead of opening each object and modifying the permissions individually. This method can be useful if you have added a new group or role after the objects were created. The steps for this option are described in To assign permissions for a group to multiple objects on page 64.
58
Assigning permissions
Chapter 1
59
Figure 1-15 shows the Default Permissions dialog box for an application. In this case, the administrator is assigning permission for new active link guides created in the application.
Figure 1-15: Application default permissions
The default permissions for the object type are automatically applied to the object or field when it is created, and are displayed in the Permissions property. To reset permissions to the defined default permissions for an existing object or field, open the Permissions dialog box for the object or field, and then click Restore Defaults. For additional information about permissions, see the following sections: Form, active link guide, and application permissions on page 31 Field permissions on page 32 Active link permissions on page 37 Assigning permissions for individual or multiple AR System objects on page 61
object type.
60 Form and Application Objects Guide
Assigning permissions
For a server, all appropriate groups are listed. For an application, the roles for that application and appropriate implicit groups are listed.
4 In the Add Groups dialog box, select the groups or roles to add and click OK. 5 In the Default Permissions page or dialog box, set the access level in the
Permissions column.
Table 1-5: Access levels Object type Access level Access for users in the group or group mapped to the role View and access the object in the user client. Access to the object only through workflow.
Active link guide Visible Application Hidden Form Web service Field Active link Packing list View Change (none)
View the field. View and change the field. View and access the object in the user client.
6 For fields only, select or clear the Allow Any User to Submit check box.
Use this mode to determine security for the field when a request is submitted. If the check box is: SelectedAny user can assign a value to the field, regardless of whether the submitter belongs to a group with Change permission to the field. Cleared (the default)Only users who belong to one or more groups with Change permission to the field (or users who belong to groups mapped to roles with Change permission to the field) can enter data into the field.
7 To remove default permissions, select the group or role in the Permissions list and
The default permissions are defined for the server or application you selected and the current administrator login. Each administrator can have different default permissions for objects created on each server.
Chapter 1
61
4 In the Permissions page, use the arrow buttons to move the appropriate groups
Inheritance. When static permissions inheritance is allowed, the Complete Permissions area shows a list of all groups that have access to the form, including any parent groups. However, you must save the permissions changes and reopen the Form Properties Permissions page to see the current list.
NOTE
You will not automatically see updates to this list if changes are made simultaneously by another developer. To see concurrent updates, you must close and reopen the Form Properties Permissions page.
Dynamic Permissions Inheritance field as described in Controlling access to requests for hierarchical groups on page 46.
8 Click OK to close the Form Properties dialog box. 9 Choose File > Save to save the permission changes.
groups and roles into the Permissions list. All groups defined on the server (or roles defined for the application that contains the object) are displayed. To allow all users to see a form, active link guide, or application, add the Public group to the Permission list.
62
Assigning permissions
4 For objects that have different access levels, for each group or role in the
Permissions list, click the drop-down menu in the Permissions column to set the access level.
5 To set the object permissions to their defaults, click Apply Defaults.
groups and roles into the Permissions list. All groups defined on the server (or roles defined for the application that contains the object) are displayed. The Submitter, Assignee, and Assignee Group groups are implicit based on field contents. For more information about implicit groups, see Controlling access by using implicit groupsRow-level security on page 38. To allow all users to view or change a field, add the Public group to the Permission list.
5 For object that have different access levels, for each group or role in the
Permissions list, click the drop-down menu in the Permissions column to set the access level.
6 To set the object permissions to their defaults, click Apply Defaults.
Chapter 1
63
Use this mode to determine access control (security settings) for the field when a request is submitted. If the check box is: YesAny user can assign a value to the field, regardless of whether the submitter belongs to a group with Change permission to the field. No (the default)Only users who belong to a group with Change permission to the field can enter data into the field.
9 Choose File > Save to save the permission changes.
type. If you select Fields, click the ellipsis button and select a form. Only forms that are not in deployable application are available.
4 To remove permissions to objects or fields in the list, click Remove All or select
box, for each object in the list, click the drop-down menu in the Permissions column to set the access level.
8 To assign permission for this group to other object types, return to step 3. 9 Click OK to save the permission changes.
NOTE
To assign common permissions to a collection of objects, see the Introduction to Application Development with BMC Remedy Developer Studio guide, Modifying object properties, page 51.
64
Assigning permissions
Chapter 1
65
4 Select or clear the Display Hidden Forms (Admin Only) check box.
If the check box is: Selected (the default)All forms are displayed in the object list and all entry points appear on the home page for the administrator in BMC Remedy User. ClearedOnly those forms and entry points for which the Public group has Visible access are displayed to the administrator in BMC Remedy User.
5 Click OK.
For more information, see Form, active link guide, and application permissions on page 31. If you have configured AR System to make the object list available in a browser, use the following procedure to control whether hidden forms, entry points, and applications appear for administrators and subadministrators. For information about displaying the object list in a browser, see the BMC Remedy Mid Tier Guide.
Subadministrators in AR System
Administratorsmembers of the Administrators groupcan use BMC Remedy Developer Studio to view every AR System server object and can modify any object that is not reserved by another user. (See Chapter 2, Using version control.) You can use Subadministrator Permissions to grant administrator access to a subset of existing forms, local applications, and workflow to subadministratorsmembers of the Sub Administrator group. A subadministrator with administrator access to a server object can use BMC Remedy Developer Studio to view and modify it the same as an administrator. A subadministrator can also create objects. Figure 1-18 is an example of using Subadministrator Permission to enable users to maintain some objects on an AR System server.
66
Subadministrators in AR System
Administrator
Sales application
Enhancements form
NOTE
When you create an object as a subadministrator, make sure to set the Subadministrator Permissions so you can access the object. Modify local applications, forms, and packing lists to which they have administrator access. Create and modify filters, active links, and escalations associated with forms to which they have administrator access. Create and modify active link guides, filter guides, images, and menus.
Chapter 1
67
Subadministrators cannot perform the following functions: Modify local applications, forms, and packing lists to which they have no administrator access. View or modify forms to which they do not have subadministrator access in local application or packing lists to which they do have administrator access. If a user has subadministrator access to a local application or a packing list, but not to a form in the local application or packing list, the form is not listed in the object list or editor. Create or access deployable applications. View or modify roles, distributed mappings, or distributed pools. Change server information settings. Release licenses of users currently accessing AR System.
every user who is to be a subadministrator. A member of the Sub Administrator group must have a fixed license.
2 Give a group, of which the user is a member, administrative access to the
appropriate local applications, forms, and guides. For more information, see Defining subadministrator permissions on page 68. To give all members of the Subadministrator group administrator access to an object, give the Public group Subadministrator permission. To divide administrator access between groups, as Figure 1-18 on page 67 shows, create a group for each collection of objects, for example, Engineering Subadministrators and Sales Subadministrators.
NOTE
To give subadministrators access to an AR System server that has object reservation enforced, you must grant them access to a form. See Chapter 2, Using version control.
Subadministrators in AR System
in Search mode.
2 Perform a search to find the user you want to give administrator access to. 3 Make the following changes:
From the Group list menu, select Sub Administrator. The list must include the Sub Administrator group to give the user the potential to be a subadministrator. From the License Type option list, select Fixed. You must assign subadministrators a Fixed Write license.
4 Save your changes. 5 Give subadministrator permission for the form to a group or role to which the
For a form, choose Form > Form Properties, and in the Form Properties dialog box, select the Subadministrator Permissions page. For a local application or a packing list, in the Properties tab, click the Subadministrator Permissions property and then the ellipses button.
3 In the Subadministrator Permissions page or dialog box, use the arrow buttons to
move the appropriate groups into the Permissions list. When assigning permissions for an application, you must assign the same permission as are assigned for the individual forms in the application.
4 Click OK to close the dialog box and save the changes.
The members of the group or role have the same privileges and permissions that an administrator has for that object.
Chapter 1
69
70
Chapter
This section describes how to use version control to prevent BMC Remedy Developer Studio users from overwriting other users work and to log changes to server objects. The following topics are provided: About version control in AR System (page 72) Using object reservation (page 74) Using the object modification log (page 76)
71
72
Object reservation prevents you from performing these actions: Import, modify, or delete an object reserved by someone else. Delete a form if a workflow object reserved by someone else is related to it. Delete a form joined to a form reserved by someone else (through any number of joins). Add a form reserved by someone else to a deployable application. Add a form to a deployable application reserved by someone else. If you are prevented from taking an action because an objects is reserved by someone else, you can find the user who reserved it. See To list all reserved objects on page 75.
TIP
Use individual AR System users with object modification. Do not share users. If the same user is connected to the same server in two different BMC Remedy Developer Studio sessions, object reservation does not prevent simultaneous modification of objects. The AR System Version Control: Object Reservation form stores the object reservations. See Appendix C, Special forms. For information about enabling and using object reservation, see Using object reservation on page 74.
73
Object reservation and object modification for overlays and origin objects
AR System allows you to reserve and modify origin and overlay objects independent of each other. When you modify the properties on an origin form that are inherited by its overlay, the operation updates the overlay object too. However, when modifying such properties on the origin form, you do not need to reserve its overlay. AR System uses the Overlay Group and Resolved Name fields on the following forms to manage object reservation and object modification: AR System Version Control: Object Reservation AR System Version Control: Object Modification Log The AR System server populates these fields, while AR System clients use real names for object reservation and object modification. For information about overlay objects, see Customizing objects on page 119.
form, set Object Reservation to Enforced. See the Configuration Guide, Server InformationVersion Control tab, page 165.
2 Click OK.
The objects are reserved. Your user name appears in the Reserved By column of the object list.
74
NOTE
If you click Cancel or if the object is reserved by someone else, the object remains in Read mode. Any changes you make to it are not saved. To save changes, choose File > Save As, and save a copy of the object.
4 When you finish working on the object, release it.
See the Introduction to Application Development with BMC Remedy Developer Studio guide, Creating working lists, page 61.
2 Open the list, and switch the list to single-list layout. 3 Select the first object in the list, and press Shift+End to select all objects in the list. 4 Right-click the objects, and choose Reserve from the pop-up menu.
NOTE
By default, object lists in object selector dialog boxes also contain a Reserved By column.
To release objects
1 Open an object list that includes the objects to release. 2 Select the objects. 3 Right-click the objects, and choose Release.
The object reservations are removed. The Reserved By column in the object list is cleared. Other users can change or reserve the objects.
75
form, set the following options: Set Object Modification Log to Enabled. (Optional) Set Save Definition Files to Yes. See the Configuration Guide, Server InformationVersion Control tab, page 165.
IMPORTANT
To restore previous versions of an object, you must configure the object modification log to save object definition files. For information about restoring previous versions, see To restore a previous version of an object on page 78.
2 Click OK.
When the object modification log is enabled, the AR System server adds an entry to the AR System Version Control: Object Modification Log form every time anyone creates, modifies, or deletes an object in BMC Remedy Developer Studio or by importing. The server adds the entry when it makes the change. The entry includes the following information:
Table 2-1: Fields in object modification log entries Field Object Name Obj Old Name Object Type Operation User Modified Date Comments Description Name of the new, changed, or deleted object. Previous name of the object if the change is renaming the object. Type of changed object: form, active link, escalation, filter, menu, image, or container (application, guide, or packing list). Create, Delete, or Modify. User who made the change. Time stamp of the change. Text from the New Description property of the object.
76
Table 2-1: Fields in object modification log entries Field Def Description Attachment field containing a .def file saved by the server after the change. The syntax of a .def file name is as follows: objectName.objectTypeNumber.instanceNumber.def The objectTypeNumber represents the following object types: 1Form, field, or view 3Filter 4Active link 6Character menu 7Escalation 10Container 12Image If an object name contains any of the following characters, the characters are converted to the following strings in the .def file name: Asterisk ( * ) is converted to _AST_ Colon ( : ) is converted to _CLN_ Greater than sign ( > ) is converted to _GT_ Less than sign ( < ) is converted to _LT_ Pipe ( | ) is converted to _PIP_ For example, the form name Sample:Cities becomes Sample_CLN_Cities in the .def file name. This field does not contain a .def file in the following situations: The Save Definition Files option is set to No (see step 1). The object was deleted. Instance API ID API Target Label An integer, starting at one, that specifies the version of the object. An identifier that is the same for all log entries resulting from the same API call to the AR System server. A flag indicating whether the object was referenced by the API call (Yes) or is related to a referenced object (No). Reserved for future development.
Note: This field is not associated with version control labels (see
Labeling a collection of objects on page 78). Task ID Reserved for future development.
A single change in BMC Remedy Developer Studio can produce many changes on the AR System server and many log entries. For example, when you modify a form, several entries are created in the AR System Version Control: Object Modification Log form: An entry for the form An entry for the form view An entry for any fields that were changed
77
mode.
3 Specify the appropriate search criteria. 4 Perform the search. 5 Find the log entry in the search results. 6 Save the .def file from the entry to your computer and import it.
IMPORTANT
If an object does not have at least one entry in the AR System Version Control: Object Modification Log form, you cannot add a version control label to it. You can add version control labels only to the current version of the object. You cannot add them to previous versions, even if those versions are listed in the log. Each version of an object can have multiple version control labels. Each version control label can be added to multiple objects.
78
( ) parentheses
form, set the following options: Set Object Modification Log to Enabled. Set Save Definition Files to Yes. See the Configuration Guide, Server InformationVersion Control tab, page 165.
2 Click OK.
To use an existing label, select it from the Version Control Label list.
NOTE
The Version Control Label and Label Description fields are also available when you perform the following operations: Rename, Edit > Rename (available only when multiple objects are selected), Save As, and Delete.
79
Control Label field. The name can have up to 254 characters. It must be unique on the server.
5 (Optional) In the Label Description field, enter a description that explains why
objects are grouped under this label. For example, they might be part of a particular product build.
6 Click OK. 7 Click OK in the confirmation message.
Control Label field. The name can have up to 254 characters. It must be unique on the server.
3 (Optional) In the Label Description field, enter a description that explains why
objects are grouped under this label. For example, they might be part of a particular product build.
4 Click OK. 5 Click OK in the warning message.
WARNING
If an object on the server does not have at least one entry in the AR System Version Control: Object Modification Log form, a version control label is not added to it.
80
To use an existing label, select it from the Version Control Label list. For more information about importing definition files, see Appendix G, Importing and exporting object definitions and locking objects.
The search results appear in the Label Search Results tab at the bottom of the editing pane. For example, a search for the version control label build returned two labels, Build 001 and Build 002:
81
4 In the Label Search Results tab, click a label to display the objects that have that
label. For example, in the preceding figure, all the objects that have the Build 002 label are listed in the top panel.
NOTE
If no definition files are exported when you perform these procedures, verify that the Save Definition Files option in the Version Control tab on the AR System Administration: Server Information form is selected. See the Configuration Guide, Server InformationVersion Control tab, page 165.
See Finding objects with a specified version control label on page 81.
2 In the Label Search Results, right-click the appropriate label, and choose Export All
Objects.
3 In the confirmation message, click Yes. 4 In the Save As dialog box, navigate to the appropriate folder, and click Save.
The .def files of all the objects listed under that label in the label search results are exported to the selected location.
See Finding objects with a specified version control label on page 81.
2 In the Label Search Results tab, expand the list of objects associated with the label. 3 In the expanded list, select one or more objects. 4 Right-click the selected objects, and choose Export Selected Objects. 5 In the Save As dialog box, navigate to the appropriate folder, and click Save.
The .def file of the selected objects are exported to the specified location. For information about downloading individual object .def files from the object modification log, see To restore a previous version of an object on page 78.
82
See To find objects with a specified version control label on page 81.
2 In the Label Search Results tab, right-click the label to modify, and choose Edit. 3 In the Edit Version Control Label dialog box, revise the label name, label
description, or both.
4 Click OK.
See To find objects with a specified version control label on page 81.
2 In the Label Search Results tab, right-click the label to modify, and choose Delete. 3 In the confirmation message, click Yes.
The label is removed from the Label Search Results tab and from all objects to which it was assigned on the specified server.
See To find objects with a specified version control label on page 81.
2 In the Label Search Results tab, expand the list of objects associated with the label. 3 In the expanded list, select one or more objects. 4 Right-click the selected objects, and choose Remove Object. 5 In the confirmation message, click Yes.
The label is removed from the selected objects, and the objects are removed from the labels list of objects in the Label Search Results tab.
83
84
Chapter
Defining applications
This section describes application objects and explains how to work with them. The following topics are provided: Deployable applications in AR System (page 86) Building deployable applications (page 91) Alternatives for presenting applications to users (page 103) Exporting and importing deployable applications (page 108) Deleting applications (page 117) Local applications (page 117) For information about determining your application needs and working with BMC Remedy Developer Studio, see the Introduction to Application Development with BMC Remedy Developer Studio guide. For specific information about creating and managing web applications, see the BMC Remedy Mid Tier Guide, Working with applications that will be viewed in a browser, page 65.
85
A deployable application can be licensed. You might use application licensing together with object locking, which prevents objects from being modified in BMC Remedy Developer Studio. For more information, see Locking objects on page 571 and the Integration Guide, Making applications licensable for integration system vendors, page 323 A deployable application can be configured to track server statistics within the application only. You can collect performance information such as how many times an application is accessed in a given period of time. You can collect similar statistics on individual forms. For more information, see the Optimizing and Troubleshooting Guide, Gathering baseline information, page 14.
87
88
Figure 3-1: The Sample application object list in BMC Remedy Developer Studio
When you edit an object owned by a deployable application, the server and application names are shown in the object label in the editor as illustrated by Figure 3-2.
Figure 3-2: The Sample:Cities form which is owned by the Sample application
90
NOTE
Default role permissions are not applied to forms in deployable applications. You must apply the role permissions to each form. When you remove a form from a deployable application, all roles are removed from the forms permissions, from the permissions of its fields, and from all active links and active link guides associated with the form.
91
Because an application is itself an AR System server object, an Applications node appears in the All Objects branch of the AR System Navigator, as shown in Figure 3-4. You can also open an application for editing from this location.
Figure 3-4: Applications node in server object list with Home page application opened
The following steps describe one good approach to creating, defining, and deploying an application:
Step 1 Determine the forms required for the application user interface. Step 2 Determine the roles required to control access to the application and its
functionality. When you plan a deployable application, be sure to design the access control roles required by the application early in your work. With a clear idea of application roles, you can assign permissions to forms, fields, active links, and active link guides as you define them. With the roles defined, you can set default permissions that will be automatically applied to objects created in the application.
Step 3 Create the roles, test groups, and test users so you can test the forms and workflow
in the application as you define it. Map the roles to the test groups.
Step 4 Configure default permissions for the application. Step 5 Create the deployable application object and set its permissions.
92
Create the forms required for the application user interface. Create supporting forms, workflow, menus, images, and other supporting objects as required by the functionality of the forms you create. Define the permissions for the objects as you define the objects. Define data forms and criteria for data export and create the requests in these forms required by the functionality. Create external support files and add them to the application. Test the functionality as you create it using the test users. You can also create packing lists to organize groups of application objects during development.
Step 7 Define entry points to appear in application lists. Step 8 Optionally, define access points to indicate to developers where external workflow
application.
Step 10 Optionally, configure the application or some of its forms to record statistics. See
server, define the required groups, users, and role mappings, and test the application.
Step 12 After the application functionality and its deployment are tested successfully,
import the application to the production server, define the required groups, add the group to the Group List for the users, and define the role mappings and application state.
To create an application
1 In the AR System Navigator, expand the server branch where you want to create
the application.
2 Right-click Applications and choose New Application. 3 In the New Application dialog box, select Deployable Application, and click
Finish.
4 In the Properties tab, define the Permissions for the application object.
93
5 Choose File > Save. 6 In the Save Application As dialog box, enter the application name and click OK.
The name must be unique among applications, active link guides, filter guides, packing lists, and web services on an AR System server. Names can be a maximum of 80 characters, including spaces. Names can include double-byte characters, but avoid a digit as the first character. The new application appears as node in the Applications branch of the server tree in the AR System Navigator.
NOTE
Subadministrators cannot create or view deployable application objects in BMC Remedy Developer Studio. They can view and modify objects in the application if they have administrative access to them.
94
The selected object type opens in the editor area and you can proceed with defining the object. When you save the object, it is added to the application. When you create an object in an application using this method, BMC Remedy Developer Studio behaves as follows: FormThe application controls the form. Workflow objectThe list of forms to associate with the workflow object is filtered to include only forms in the application. Web serviceThe list of forms to serve as the base form for the web service is filtered to include only forms in the application. Flashboard variableThe list of forms to serve as the data source for the flashboard variable is filtered to include only forms in the application. Packing listThe packing list is added to the application. PermissionsIf default permissions are defined for the application and object type, they are applied when you create each new object.
NOTE
When you add an existing form to a deployable application, AR System removes all explicit group permissions from the form and its associated objects. However, it does not apply default permissions for the application. You must manually apply role permissions to every object, including the form and its fields, and to any active links and active link guides for which the form is the primary form.
95
click OK. Only forms that are not in any application are shown. To filter the list of forms, type a pattern in the Name field. To move to a form in the list by name, type the first characters of the name in the Locate field. To set the view presented in the application, select it from the View drop-down list below the forms list. The forms you selected and all related objects are added to the application.
5 Chose File > Save to save the changes to the application.
application, and click OK. To filter the list of packing lists, type a pattern in the Name field. To move to a packing list in the list by name, type the first characters of the name in the Locate field. The packing lists you selected are added to the application. The forms and other objects in the packing lists are not added to the application.
5 Chose File > Save to save the changes to the application.
Dividing an application
You might need to divide the functionality in an application into two applications.
To divide an application
1 Create a new application and set its basic properties. Do not add or create any
forms.
2 Close the application tab and open the Applications branch of the AR System
Navigator.
3 Double-click the existing application to open its application object list, and then
96
4 Drag the forms to move to the new application from the application object list to
the new applications node in the AR System Navigator. The forms and all associated objects are moved from the existing application to the new application. When you decide to replace a local application with a deployable one, you can also use this procedure to move objects from the local application to a new deployable application.
NOTE
You cannot create copies of deployable applications using the Save As command because different deployable applications cannot contain the same forms.
the application. If the search returns no roles, define roles for the application.
b For each role, make sure that the role is mapped to an explicit group for each
state.
c Save the roles.
For more information about roles, see Roles in AR System on page 28.
2 Specify the state for the application, as follows: 3 Open the application for modification as described in the Introduction to
Application Development with BMC Remedy Developer Studio guide, Working with applications and packing lists, page 64.
a In the application tab, expand the General panel. Chapter 3 Defining applications 97
b Choose a state from the State list. c Choose File > Save.
The role-group mappings for the specified application state become effective after the server recaches.
to 2199.
4 Save the form.
AR System automatically adds a menu to the field for selecting groups. The new state is available for deployable applications on the current server after the server recaches.
5 To make custom states available on another server, export the Roles form and
import it on the target server. For more information about exporting and importing forms, see Appendix G, Importing and exporting object definitions and locking objects.
98
99
an access point. In this case, the object is an active link that already has its primary form defined.
2 In the Associated Forms panel, click Add. 3 In the Form Selector dialog box, change the filter settings for Application to <All>. 4 Click the Access Points column heading to sort the list based on the access point
100
General panel
The primary properties in the General panel determine the application label and development state. The following sections describe these properties in detail. The following additional properties on this tab are for configuring applications for direct access in BMC Remedy User: Description Show Only Forms in Application Run with Form Windows Maximized Custom Title Bar Icon Custom About Box For more information about these properties, see Specifying General and Forms attributes for Application mode on page 104.
Label
For deployable applications, if a Label is specified, it is used in place of the application object name to identify the application corresponding to entry points in the home page. For more information about entry points and home pages, see Chapter 14, Defining entry points and home pages. The Label also has a specific meaning when an applications is accessed directly in Windows clients. For more information, see Alternatives for presenting applications to users on page 103.
State
This property defines the application state (Maintenance, Production, Test, or custom) and appears for deployable applications only. Depending on the state you choose, different access permissions are applied to the application. For more information, see Working with deployable application states on page 97.
Forms panel
The Forms panel determines the forms included in the application, as explained in Creating objects in the application on page 94 and Adding existing objects to the application on page 95. The following Forms properties apply only to applications that users do not access through entry points on a home page: Primary Form Primary View For more information about these properties, see Alternatives for presenting applications to users on page 103.
101
Data panel
For deployable applications only, this panel defines the forms whose data is included in an application export. It also defines the qualifications (if any) that select sets of records, and import options such as the handling of duplicate request IDs.
Statistics panel
For deployable applications only, this panel defines the forms that participate in statistics tracking for the application. For more information, see the Optimizing and Troubleshooting Guide, Gathering baseline information, page 14.
102
Properties tab
Use the Permissions property in the Properties tab to determine which access control groups can display the application in the user client. For more information, see Access control for deployable applications on page 90. Use the Subadministrator Permissions property to define subadministrator permissions for access control groups. For more information, see Subadministrators in AR System on page 66. AR System automatically records the owner of an application, the developer who last modified the application, and the date of the modification. To display or add to this information, click the Change History property in the Properties tab. For general information about building and using change history, see the Introduction to Application Development with BMC Remedy Developer Studio guide, Updating change history, page 53.
103
Users can also open the application from an ARTask shortcut that you provide, as described in Distributing the application to users as a shortcut on page 108. To configure how an application opens and how a user can open it and use it, you must complete these general tasks: Define the application label, description, primary form, and primary form view. Define forms and guides in the application as entry points. Entry points are listed in home pages under the controlling application. Configure whether the user can access forms and guides that are not in the application and whether the form window opens maximized in BMC Remedy User.
104
3 In the Label field, specify the label that you want to appear in the Object List dialog
box in BMC Remedy User, and in the title bar in Application mode. If you do not specify a label, the Name property is used to identify the application. Labels can be as long as 255 bytes, including spaces.
4 In the Description field, specify the description that you want to appear below the
task list in the Object List dialog box in BMC Remedy User. You can enter a maximum of 2000 bytes.
5 To specify a custom icon: a Select the Custom Title Bar Icon check box. b Click the Browse button and select the appropriate image file.
You can add an image in .bmp, .dib, .jpg, or .jpeg format that is as large as 16 pixels wide by 16 pixels high. An image larger than these dimensions is cropped. The image file size limit is 512 KB. Keep the file size as small as possible to avoid performance problems.
c To save the image to another area on the network, click Save To Disk. 6 To display an image in the About box: a Select the Custom About Box check box. b Click the Browse button to locate the appropriate image.
You can add an image in .bmp, .dib, .jpg, or .jpeg format that is as large as 16 pixels wide by 16 pixels high. An image larger than these dimensions is cropped. The image file size limit is 512 KB. Keep the file size as small as possible to avoid performance problems.
c To save the image to another area on the network, click Save To Disk. 7 Choose File > Save.
the application first opens. If you do not specify a primary form, no form appears when users open the application in BMC Remedy User.
4 From the Primary View list, select the view of the form to appear when the
application opens. The views available in the list are defined by the view label. If no view is selected, the default view or the user preference view is used.
5 Expand the General panel.
105
6 Select or clear the Show Only Forms in Application check box. If this check box is:
Selected, users can access only those forms and guides within the application. Cleared, users can access any forms, guides, or applications to which they have access regardless of whether they are related to the application.
7 Select or clear the Run With Form Windows Maximized check box. If this check
box is: Selected, the form window is maximized when it opens. Cleared, the form window opens with the size that the developer defines.
8 Choose File > Save.
106
The Label and Help File name are added to the field changes to identify the help file that you have selected.
6 To test a help file, select it in the list and click Test. 7 To export a help file from an application, select it in the list and click Save to Disk. 8 Choose File > Save.
107
NOTE
Creating a shortcut using the following procedure requires a MAPI-compliant email client.
Any packing lists included in the application. Objects in the packing list are included only if they are also in the application. Data stored in AR System forms that are defined as data forms for the application. See Exporting and importing data with deployable applications on page 115. The application state is a server-specific setting. The application is automatically set to Maintenance state when you import it to the destination server. Therefore, custom application state definitions are not exported or deployed with the application.
WARNING
If the AR System server has Record Object Relationships enabled, the relationships are recorded as the application objects are created during import. If you import a large application or many object definitions, the server might become highly loaded and unresponsive for a period of time.
Applications list.
2 Select Export Application. 3 In the Application Selection dialog box, enter a path and file name for the definition file, for example, C:\AppExports\AppA.def 4 Export with default settings or configure additional settings:
To export the application with default settings, click Finish. To configure options for exporting shared workflow, integration workflow, or localized form views, click Next. To export include shared workflow or to export integration workflow only, see Exporting and importing shared workflow and integrated applications on page 109. To export an application with multiple localized views for import on deployment servers with different locales, see Exporting and importing deployable applications with localized views on page 113.
109
Beginning with release 7.6.02, you can use the following features to help manage cross-server development of integrated deployable applications: Include Shared Workflow optionUse this option in the Export wizard in BMC Remedy Developer Studio to include shared workflow not controlled by the application in the application definition file. See Exporting shared workflow not owned by the application on page 110.
Create-Workflow-Placeholders configuration optionSet this option in the configuration file of the destination development server to allow the creation of placeholder forms for any external forms associated with shared workflow. See Importing shared workflow not owned by the application on page 111.
Workflow Integration property for workflow objectsSet this property to allow the Export wizard to export only the integration workflow for two deployable applications. In addition, when you import shared workflow that is owned by the application, the full list of associated forms, including those owned by another application, is now preserved.
In this example, AppA owns FormA and ActiveLinkA. Both objects will be exported with AppA by default because they are owned by it. AppB owns FormB but not ActiveLinkA. By default, ActiveLinkA is not exported with AppB, but by using the Include Shared Workflow option of the Export wizard, you can include ActiveLinkA when you export AppB.
110
Workflow.
4 Click Finish.
The application is exported and any shared workflow not owned by the application is included in the definition file.
111
Workflows area.
5 Select the integrated application from the drop-down list, as shown in Figure 3-10. 6 Click Finish.
112
In this case, the definition file is an object definition file that contains definitions for only the integration workflow objects. To import the integration workflow, the integrated applications should already exist on the destination server. Use the Import > Object Definitions option to import the integration workflow objects.
Keep the Default Locale selection to export all forms in the application with the default view.
4 Click Finish.
The application is exported with only the default view of each form.
113
for the view definition file for a locale, and then click Next.
3 In the Export Options page, select Locale Specific Contents Only, and then click the
For example, to export all form views in the application that have a locale property set to fr (French), select fr.
5 Click Finish.
The Export wizard creates a view definition file containing only the form views with the selected locale property.
Figure 3-11: Using the Export Options page to export all form views for a locale
On each destination server, first import the application definition file that contains the application with default views of each form. Then import the appropriate view definition files.
then click Finish. The application is imported with the default view of all forms only.
114
3 Import the appropriate view definitions a In AR System Invoker, right click on the server name. b Select Import > View Definitions, and then click Next. c Navigate to the view definition file that contains views for the locale that you
included when you export the application. If you do not specify a query, all data in the form is included. Using an unqualified query can result in a very large.def file.
115
6 In the Fields to Match on Import table, select which fields to map against the form
in the target server when you import data. Use the Add button and the Field Selector dialog box to add fields to the list.
Figure 3-12: Selecting fields to map against target server
7 From the Handle Duplicate Request IDs By list, select how to resolve duplicate
request IDs when data conflicts are found: Reject Duplicate RecordsEntries are imported using their existing IDs. If an ID is already in use, an error is generated. (Default) Generate New ID for Duplicate RecordsEntries are imported using their existing IDs. If a record with the same ID already exists in the database, a new ID is generated for the imported record with the duplicate ID. Replace Old Record with New RecordEntries are imported using their existing IDs. If a duplicate ID exists, the entire database record is overwritten with the record being imported. If you use this option, you must map the required core fields. If required core fields are not mapped, the server rejects the records. Update Old Record with New RecordEntries are imported using their existing IDs. If a duplicate ID exists, only the fields being imported are replaced, merging the record. This setting also makes all required fields that are not core fields optional. Generate New ID for All Records New request IDs are assigned to all requests in the data file, regardless of whether any IDs are duplicates.
8 Save the changes. 9 Use the procedure described in To export a deployable application on page 109
to export the application to a definition file. The form data is exported along with the object definition files.
116
Deleting applications
Deleting applications
When you delete an application, it is removed from the database and from the list of applications in BMC Remedy Developer Studio. The forms, workflow, and data included in the application are not deleted. You must remove them separately. If you provided an application as a shortcut, tell your user community to delete the application shortcut from their desktops. If users try to start an application after it is deleted from the server, they receive an error message. For more information, see Alternatives for presenting applications to users on page 103.
Application Development with BMC Remedy Developer Studio guide, Working with applications and packing lists, page 64.
2 Change the list layout to a single list as described in the Introduction to
Application Development with BMC Remedy Developer Studio guide, To change the layout of an object list, page 39.
3 Select all the objects in the list. 4 Choose Edit > Delete. 5 In the Confirm Deletion dialog box, click OK.
NOTE
To delete the roles used in an application, see To delete roles on page 57.
To delete an application
1 In the AR System Navigator, expand serverName > Applications. 2 Right-click the application node and choose Delete. 3 In the Confirm Deletion dialog box, click OK to delete the object or Cancel to
preserve the object. The application is removed from the database, but the objects in the application are not deleted.
Local applications
Local applications are intended for use on a single server or a small number of servers. They use permissions based on groups, which means that each local application is designed for one specific server environment. If you must move or copy an application to another server, you must create the same groups on the destination server, or else redefine permissions for many objects in the application, including forms, fields, and workflow.
117
118
Chapter
Customizing objects
This section describes the features in release 7.6.04 that help you preserve customizations made to AR System objects. It also describes how to customize AR System objects in a way that ensures that the customizations will not be lost when an application or server is upgraded. The following topics are provided: About preserving customizations (page 120) Features for preserving customizations (page 120)
Chapter 4
Customizing objects
119
120
Figure 4-1 shows how unmodified objects, overlays, and custom objects are used in place of the original objects for a customized application.
Figure 4-1: Difference between a base application and a customized application
User-created objects
These features protect your business investment in customizations by providing the following benefits: Enforce best practice development in BMC Remedy Developer Studio. Preserve customizations during upgrades of AR System servers, components, and applications. Enable you to find all your customizations quickly and easily. In addition to these new features, the Best Practice Conversion utility enables you to convert pre-7.6.04 customizations into overlays and custom objects. See Preserving customizations during upgrade of the AR System server and other AR System components to version 7.6.04 on page 123.
About overlays
An overlay is a copy of an AR System structure or workflow object that is used in place of the origin object. An origin object for which an overlay has been created is an overlaid object. Until you modify the overlay, its appearance and functionality are identical to that of the overlaid object.
Chapter 4 Customizing objects 121
To customize out-of-the-box AR System objects in a way that ensures that the customizations are not lost when an AR System application or server is upgraded, create an overlay of the object and then modify the overlay (see Working with overlays on page 128). At runtime, the AR System server and clients (such as the mid tier and BMC Remedy User, use overlay objects in place of the origin objects. For example, if a filter is to be used during an operation and AR System detects that the filter has an overlay, the server executes the overlay filter instead of the origin filter. Or if a client is required to fetch an object from the server and the object has been overlaid, the client fetches the objects overlay instead. During upgrades, an AR System installation program ignores overlaysit does not undo their modifications, overwrite them, or delete them; in fact, it is unaware that they exist. It changes only the objects that were installed with the application or server. After the upgrade, the application or server continues to use the overlays instead of the origin objects for runtime operations. For more information, see Preserving customizations during upgrade of the AR System server and other AR System components to version 7.6.04 on page 123. Overlays also make it easy to identify all the customizations in your applications (see Locating overlays and custom objects in BMC Remedy Developer Studio on page 137). Overlays do not perform the following functions: Preserve customizations to an object that is deleted during an application upgrade. If an existing object in your production environment is deleted during an application upgrade, any overlay of the object is deleted as well. Automatically merge customizations with functionality added during upgrades. For example, if a filter has three new actions in an upgraded application, those actions will not automatically be added to the filters existing overlay. Instead, you must identify the new actions by comparing the overlay to the upgraded origin object and then add them to the overlay if you decide to use them. Enable you to make all possible changes to AR System objects. For example, you cannot make changes that would alter the underlying database, such as changing a fields data type. For information about creating overlays to preserve pre-7.6.04 customizations, see Preserving customizations during upgrade of the AR System server and other AR System components to version 7.6.04 on page 123.
122
Overlay process
To use overlays to customize AR System, follow this process:
Step 1 Install AR System 7.6.04.
NOTE
AR System releases earlier than 7.6.04 do not support overlays.
Step 2 Create overlays of any object that you wish to modify and then modify the overlay
objects as necessary. To modify 7.6.04 and later objects, see Working with overlays on page 128 and Working with custom objects on page 133.
WARNING
BMC recommends that you create or modify objects in Best Practice Customization mode. If you create or modify objects in Base Development mode, they might not survive application and server upgrades. Using custom objects has the following advantages: When you create an object in Best Practice Customization mode (that is, when you create a custom object), AR System forces you to follow BMC development best practices. This is not the case if you create an origin object in Base Development mode. The application and server installation programs do not modify or delete custom objects during application and server upgrades. Custom objects make it easy to identify all the user-created (versus out-of-thebox) objects in your applications.
Preserving customizations during upgrade of the AR System server and other AR System components to version 7.6.04
If you install BMC applications onto an AR System server 7.6.04 and make all customizations using Developer Studio in Best Practice Customization Mode, then all of your changes are captured as overlays or custom objects. However, if you have previously modified the applications and then upgraded your server, the previous modifications appear as origin objects. In that case, you can use the Best Practice Conversion utility to convert these changes into overlays and custom objects.
Chapter 4 Customizing objects 123
After upgrading your AR System server to version 7.6.04, use the Best Practice Conversion utility to identify deviations from BMC development best practices in the following: Modifications that you made to BMC-provided objects User-created objects that you added to your applications After you fix the deviations, you can use the utility to convert your properly implemented object modifications to overlays and your user-created objects to custom objects.
IMPORTANT
BMC recommends generating overlays to preserve your customizations before upgrading your AR System components (other than the AR System server that must be of version 7.6.04 to create overlays) and applications to release 7.6.04.
Server, BMC Remedy Assignment Engine, BMC Remedy Email Engine, and the AREA LDAP and ARDBC LDAP plug-insto release 7.6.04.
Step 4 Upgrade your AR Systembased applicationssuch as BMC Atrium CMDB and
WARNING
If you do not follow this process, your customizations might be overwritten during the upgrade. For more information, see the Installation Guide.
124
You cannot create overlays for the following items: Custom objectsSee About custom objects on page 123. Deployable applicationsOverlays of deployable applications are not supported for licensing reasons. You can, however, overlay and customize the objects within the deployable applications. See Deployable applications in AR System on page 86. Creating and modifying deployable applications is not permitted in Best Practice Customization mode. See Introduction to Application Development with BMC Remedy Developer Studio, About development modes on page 27. Overlaid objectsYou cannot create multiple overlays for the same object. Overlay objectsYou cannot create overlays of overlays. Form dataDSO mappings, DSO pools, flashboards, skins, and templates are stored as data in a form. They are not AR System objects. Therefore, you cannot use overlays to customize them, and any modifications that you make to them might be lost when an application or server is upgraded.
That is the format of the overlay objects real name. Elsewhere, overlay object names match the name of their corresponding overlaid object. The __o string is reserved for overlay objects. You cannot include that string anywhere in the names of new objects.
Chapter 4
Customizing objects
125
NOTE
By default, object names can have no more than 80 characters. If the real name of an object exceeds 77 characters, an error occurs when you try to create an overlay for the object because the server cannot append the three-character __o suffix to the objects name.
Form overlays
Unlike most overlay objects, a form overlay is not a copy of the form object. Instead, it is a subset of the forms properties. In a form overlay, you can make the following customizations: Modify form properties, such as permissions. Add custom views and fields. (To add fields that are not associated with a view, use the Outline tabs Show Fields Not in Any View button.)
126
Modify existing views and fields by creating overlays for them. (See View overlays on page 127 and Field overlays on page 127.)
View overlays
To overlay a view, you must first overlay the form that contains the view. In view overlays, you can modify the layout of the view and its fields. You can also add fields to the view.
NOTE
When you open a form, BMC Remedy Developer Studio typically fixes corrupt display properties (such as incorrect Z-order, missing menus, and missing labels). In Best Practice Customization mode, however, such errors in origin views are not fixed. Instead, BMC Remedy Developer Studio displays a message that the view overlay is required.
Field overlays
To overlay a field, you must first overlay the form that contains the view in which the field appears. Unlike most overlay objects, a field overlay is not a copy of the field object. Instead, it is a subset of the fields properties. The field overlay and the origin field in the origin form share the same data. In a field overlay, you can modify the fields permissions, default value, length, associated menu, Help text, and full text multiform search category. To change a fields layout, modify the overlay of its associated view. To determine where to modify a field property, select the field in the form overlay, and then select the property in the Properties tab. If the property cannot be modified in the form overlay, one of the following messages appears in the BMC Remedy Developer Studio status bar:
propertyName: To modify, create field overlay. propertyName: To modify, create view overlay.
The following modifications affect all the views with which a field is associated: Adding an item to a selection field Adding a character menu to a field This means that you can make these modifications only when each of those views has an overlay.
Chapter 4
Customizing objects
127
To create an overlay
1 Open BMC Remedy Developer Studio in Best Practice Customization mode.
For information about changing the development mode, see Introduction to Application Development with BMC Remedy Developer Studio, Changing the development mode on page 30.
2 Open the appropriate object list. 3 Perform one of the following procedures: Objects Active links Active link guides Escalations Filters Filter guides Forms Local applications Menus Packing lists Web services Views Procedure
1 In the object list, locate and select the object that you want to overlay. 2 Right-click the object, and choose Create Overlay. Note: In Best Practice Customization mode, the Create Overlay context menu is
disabled for overlays and custom objects. If you try to create an overlay of an object that is open in the editor, ARERR 5328 is displayed. Save your changes and close the relevant editor to proceed. The new overlay object is opened in the appropriate editor. AR System automatically saves the overlay object and removes the overlaid object from the object list. In the object list and in the object editors tab, overlapping blue and gray squares are added to the overlays icon. See Viewing overlays on page 138.
1 Open the form containing the view that you want to overlay.
The form containing the view must be an overlay. See Guidelines for overlaying forms, views, and fields on page 126.
2 Open the form view that you want to overlay. 3 Choose Form > Create View Overlay.
Most of the view properties and the field formatting properties in the Properties tab become available for modification. The form view overlay icon appears on the views tab. See Viewing overlays on page 138.
4 Right-click the form view, and choose Save.
128
Objects Fields
Procedure
1 Open the form containing the field that you want to overlay. 2 In the form editor, right-click the field, and choose Create Overlay.
Alternatively, right-click the field in the Outline tab, and choose Create Overlay. If the view containing the field is not an overlay, some of the following types of field properties become available in the Properties tab: attribute, change history, database, help text, and permissions. If the view containing the field is an overlay, most of the color, display, font, and highlight field properties also become available in the Properties tab.
3 When prompted to confirm whether to create an overlay of the form, click Yes.
IMPORTANT: BMC Remedy Developer Studio creates the form overlay and opens it in the editor. The form overlay is created irrespective of whether or not you save the form after this.
4 To save the field overlay, choose File > Save. Note: If you close the form without saving it, the field overlay is not created. However,
For information about creating overlays for pre-7.6.04 objects, see Preserving customizations during upgrade of the AR System server and other AR System components to version 7.6.04 on page 123. You can modify or delete overlays like any other AR System objects in BMC Remedy Developer Studio. Unlike the Create Overlay menu, no separate menu is available to modify or delete overly objects. For general information about modifying or deleting objects, see the Introduction to Application Development with BMC Remedy Developer Studio guide, Working with existing objects, page 41. Table 4-1 on page 129 provides information about the modifications that you can or cannot perform on overlays. The Best Practice Customization mode of BMC Remedy Developer Studio prevents you from making nonpermitted modifications. In case of custom objects, the only nonpermitted modifications is the use of the __c or __o strings (underscore, underscore, letter c or oregardless of case) in the object name.
Chapter 4
Customizing objects
129
Table 4-1: Permitted and non-permitted modifications on overlays (Sheet 2 of 4) Overlay or custom object type1 Active link Can modify Cannot modify
Name Associated form or form list Execution options, including state (enabled/disabled), execution order, and execution condition If actions and Else actions (add, modify, and delete) Primary form Run If qualification Associated form or form list Display information Entry point Primary form Workflow objects and labels Name Type
Escalation
Name Associated form or form list Execution options, including state (enabled/disabled), execution order, and execution condition If actions and Else actions (add, modify, and delete) Primary form Run If qualification Associated menu Audit option Change history Default value FTS properties Help text Length units Localize data option
Note: Before you can modify the localize
Field
Data type Entry mode (Display) Field map Field type ID Name
data option property in a field overlay, all views in the form that contain that field must be overlaid. When this property is modified in one view, it is updated in all views. Maximum and minimum value Full text multiform search category Permissions Size (reducing or increasing)
130
Table 4-1: Permitted and non-permitted modifications on overlays (Sheet 3 of 4) Overlay or custom object type1 Filter Can modify Cannot modify
Name Associated form or form list Error handler Execution options, including state (enabled/disabled), execution order, and execution condition If actions and Else actions (add, modify, and delete) Primary form Run If qualification Associated form or form list Display information Primary form Workflow objects and labels Add and delete custom fields Add and delete field overlays Delete form overlays Archive (add or change form) Audit (add or change form)
Note: The form for archive or audit must be
Filter guide
Name Type
Form
a custom form. Change history (text portion only) Default field list for results list Default sort order Default view Display property cache settings Entry points Fields (overlay only) FTS properties Help text Join qualification Localization information Next request ID block size Object properties Permissions (including subadmin) Status history Views (add and overlay only) Image All properties except Name
Application Owner (do not change the inclusion or exclusion of form in a deployable application) Display-only form information (type) Join form information (cannot change underlying forms, join option, type, qualifier information) Name Origin fields (cannot delete) Unique index Vendor form information (cannot change the associated plug-in, table name, type, vendor name) View form information (type, table name, key field) Views (cannot delete)
Name
Chapter 4
Customizing objects
131
Table 4-1: Permitted and non-permitted modifications on overlays (Sheet 4 of 4) Overlay or custom object type1 Local application Can modify Label Description Show only forms in application Run with form windows maximized Custom title bar icon Custom about box Primary form Primary view Forms in application Support files Help text All properties except Name Label and description Add and remove objects Help text Permissions Aliases Appearance properties, including background color and background image Defined searches Field display properties Field layout Fields (add and remove) Image objects associated with the view Menu access Results list General information XML schema WSDL ports WSDL publishing location Cannot modify Name
Name Name
View (VUI)
Label (the only display property that is not permitted for modification) Locale Name View ID (must not be in BMC reserved rangessee Reserved IDs used as placeholders in definitions on page 479) View Type
Web service
Name
1. You cannot create overlays for all object types. For information about objects that you cannot overlay,
In the Best Practice Customization mode, the Delete context menu (Delete View menu for views) is available only when you select an overlay or custom object. You cannot delete out-of-the-box objects in that mode.
132
The delete operation has the following consequences: If you delete an overlaid object (Base Development mode), its overlay is automatically deleted. Workflow objects associated with the overlay are also deleted, along with their overlays (if any). If you have workflow that uses a custom field on an overlay form, and you delete the overlay form, the workflow does not function correctly at run time.
CreatingAny object that you create in Best Practice For general information about creating objects, see the Introduction to Application Development with BMC Customization mode is treated as a custom object. Remedy Developer Studio guide, Creating objects, Note: To create origin objects, you must use the Base page 39. Development mode. RenamingYou can rename custom objects without restriction. The only restriction is that you do not use suffix the object name with __c. That string is reserved for future use. For general information about renaming objects, see the Introduction to Application Development with BMC Remedy Developer Studio guide, Renaming objects, page 44.
Chapter 4
Customizing objects
133
Table 4-2: Activities you can perform on custom objects and the related information (Sheet 2 of 2) Activity ViewingTo view custom objects, open the appropriate object list and select only the Custom filtering option. In object lists, custom objects appear with a black rectangle containing a concentric blue rectangle on their icons. For example, this is the icon of a form overlay: Reference See Displaying the Customization Type column in object lists on page 139.
For custom objects, the following decorator appears in the right bottom corner of the icon:
To identify the following types of custom objects, you can also look for the value Custom in the Customization Type column: Active link guides Escalations Filter guides Images Menus Packing lists Web services ModifyingYou can modify custom objects without restriction. However, you should follow BMC guidelines when modifying certain properties. The Best Practice Customization mode of BMC Remedy Developer Studio prevents you from making nonpermitted modifications to out-of-the-box objects. DeletingYou can delete custom objects without restriction. See Permitted and non-permitted modifications on overlays on page 129. For general information about modifying objects, see the Introduction to Application Development with BMC Remedy Developer Studio guide, Working with existing objects, page 41. For general information about deleting objects, see the Introduction to Application Development with BMC Remedy Developer Studio guide, Deleting objects, page 52.
134
objects, you should carefully plan and assess the changes to make sure that they do not disrupt the existing data or workflow.
Chapter 4
Customizing objects
135
Table 4-3: Impact of modifying shared properties on the database tables (Sheet 2 of 3) Shared property FTS and multiform search properties Permitted modification on overlay Most FTS properties on origin and overlay objects are considered cumulatively. The following multiform search properties cannot be cumulative (exceptions): For fieldsCategory Name For forms Environment Keywords Title For these exceptions, the AR System server behavior is as follows: If these attributes are set on the overlaid form, you cannot change them on the overlay. Overlay forms only inherit these attribute values. If these attributes are not set on the origin form, you can change them on the overlay. Their values are available for both the origin and overlay forms at run time. If you make any changes to these attributes on the origin form, the AR System server reflects the same on the overlay form by overwriting these attribute values. Functional currency for a Currency field Adding functional currency Deleting functional currency For each functional currency that you add to a Currency field, a column is added in the database. The number of columns in the database is a sum of the number of functional currencies added to the origin object and its overlay. For example, if the origin object has two functional currencies (INR and USD) but on its overlay you removed USD and added EUR, the database contains three columns: INR, USD, and EUR. If you removed a functional currency from both the origin object and the overlay, the corresponding column is deleted from the database. Impact on database table No impact
136
Table 4-3: Impact of modifying shared properties on the database tables (Sheet 3 of 3) Shared property Permitted modification on overlay Impact on database table Lengths of the origin Character field and its overlay are compared to find the maximum of the two. Actual length of the corresponding column in the main data table is set to this value. For example, if the origin fields length is 100 bytes and the overlay fields length is 200 bytes, the size of the corresponding database column is 200 bytes. Next request ID block size You can set this property independently on the overlaid and overlay objects. Adding a new non-unique index Changing a non-unique index Deleting a non-unique index By default, Status History is enabled for a form. When Status History is disabled, the AR System server deletes the corresponding column from database. Enabling status history Disabling status history At run time, the maximum of the next ID block size of the overlaid and overlay object is used. Actual indexes on the main data table reflect a combination of the indexes on the origin object and its overlay. If the Status History settings of an overlaid form and its overlay differ, the corresponding column in the database is retained, because one of them is enabled. If Status History is disabled on both the origin object and the overlay, the field is deleted from the database.
NOTE
The Customization Type column is available only when you connect to a 7.6.04 AR System server.
Chapter 4
Customizing objects
137
Viewing overlays
To view overlay objects, you must use the Best Practice Customization mode of BMC Remedy Developer Studio. The following procedures assume that you are in that mode.
To view any overlay object except form view overlay or field overlay
1 Open the appropriate object list.
In object lists, overlays for active links, active link guides, escalations, filters, filter guides, forms, local applications, menus, packing lists, and web services have overlapping blue and gray squares on their icons. For example, this is the icon of a form overlay:
Overlay views have the following icon on their tab at the bottom of the form editor:
In the Outline tab, overlapping blue and gray squares appear on the icons of all overlay fields. For example, see the icon of the Request ID field in the following figure:
3 In the Outline tab, select the appropriate overlay field to display its properties in
By default, the Customization Type column is hidden. To display it, follow this procedure:
Chapter 4
Customizing objects
139
The list now displays only overlay and custom objects. To redisplay the unmodified objects, select only the Base option.
overlaid object and the server that contains the upgraded object.
2 If you are not in Base Development mode, switch to that mode. 3 Right-click the overlaid object, and choose Open Selected > name_of_server_containing_upgraded_object.
140
NOTE
The context menu contains only the names of servers to which BMC Remedy Developer Studio is logged in and on which an object with the same name as the selected object resides. The object on the selected server that has the same real name as the selected object is opened in an editor.
WARNING
Follow this procedure only if the Best Practice Conversion utility has converted an origin object into a custom object. Other than this, if you follow this procedure, application upgrades will fail and you will not be able to distinguish customizations from original objects. When converting the following custom objects to origin, first convert the related forms and workflow to origin, and then convert the objects themselves: Active link guides Filter guides Local applications Packing lists
WARNING
When an object is converted from a custom object to an origin object, the next AR System server or AR System application upgrade may overwrite the object and all customizations are lost. Also, if you do not convert all the related objects correctly, certain run-time failures might occur. For example, if a field is having a reference to a custom menu and if the field and form are converted to origin objects, but the custom menu is not converted, then at run-time, the menu will not be displayed for that field.
If you convert a custom form to origin, AR System also converts the corresponding views and fields to origin. You cannot explicitly convert custom views and fields to origin. However, if required, you must explicitly convert the associated workflow.
Chapter 4
Customizing objects
141
TIP
To check whether custom fields are converted to origin, you can use the Outline view.
Specify an existing form name as the audit or archive form name for an overlay form.
Create an overlay of a form that is enabled for audit or archive. Create an overlay of a form that is not enabled for audit or archive.
Add new or special fields to an origin form. The AR System server converts these fields to custom on the custom audit or archive form. Add new fields to an overlay form. The AR System server adds the same fields to the overlay of the audit or archive form.
Enable an overlaid or overlay form for audit The setting is applicable to all modes. Entry operations or archive. performed in any mode (base or audit) use the shared audit and archive information regardless of the operations or systems overlay group. For example: If you enable an overlay form for audit and the entry operation is done in the base mode, the entry is audited. If you enable an overlay form for audit and the system overlay mode is set to 0 (base), the entry operation is audited. The audit form, which is a custom form in this case, is not available to users in base mode, but the data is audited and available in the system. User can see that data if they use the correct mode.
Behavior of overlay audit form or overlay archive form: An overlay audit form inherits information about the form being audited from its origin audit form. When information about the audited form is changed on the origin audit form, the AR System server reflects this change on the overlay audit form.
142 Form and Application Objects Guide
Consider that Form1 is the origin form and Form1_audit is its audit form. When an overlay of Form1 is created (call it Form1__o), the AR System server implicitly creates an overlay of Form1_audit (call it Form1_audit__o). Form1_audit__o inherits information about Form1 from its origin form, which is Form1_audit. When Form1__o is deleted, Form1_audit__o continues to have information about Form1 because its origin form is Form1_audit. However, when audit information is removed from Form1, the AR System server removes this information from Form1_audit__o as well.
NOTE
The preceding description is applicable to archive forms as well.
Chapter 4
Customizing objects
143
NOTE
If the conversion procedure does not work from ARImport API, the AR System servers behavior depends upon the selected importOption. If the ARCreateField or the ARCreateMultipleFields APIs are used, the AR System server issues an error. For more information about the APIs, see the C API Reference Guide.
For information about the real and resolved names of overlays, see Overlay object names on page 125.
You can include any combination of the permitted object customization types in a single export operation. For more information, see the Introduction to Application Development with BMC Remedy Developer Studio guide, Exporting objects, page 51.
144
Importing an overlaid object whose overlay is on the target server If properties that are not controlled by overlays are changed in an overlaid object before it is imported (for example, the overlay object name is changed), the change is reflected in the corresponding overlay object on the target server after the import is complete (in the previous example, the overlay object name is updated to match the new name of the imported overlaid object). Importing only overlay objects If you import an overlay object but do not import its corresponding overlaid object, the target server must contain a copy of the overlaid object. If it does not, the import will fail. For more information, see the Form and Application Objects Guide, Importing object definitions, page 523.
WARNING
BMC strongly recommends that you do not create or modify objects in Base Development mode. If you do, your changes might be lost when your AR System applications and servers are upgraded. The only exception to this recommendation is that you must use Base Development mode to reverse non-permitted modifications made to origin objects.
Chapter 4
Customizing objects
145
To configure the server to execute overlays and custom objects, reset the Overlaymode option to 1.
146
Chapter
Use forms to capture and display information. A form typically includes related components such as employee and department information. A form contains fields in which the information is entered and displayed. The collection of fields represents a record of information in AR System. While the entries comprise the rows of a database table, the fields comprise the columns. This section discusses the types of forms available, and the tasks used to create them. The following topics are provided: Types of forms (page 148) Creating and managing forms (page 151) Display-only forms (page 157) Join forms (page 162) Setting form properties (page 174)
Chapter 5
147
Types of forms
An administrator can create forms that serve as part of a unique workflow solution. Form types include regular, join, display-only, view, and vendor forms. These forms can be customized using form views, as explained in Chapter 13, Creating and managing form views.
Regular forms
Regular forms are generally the main forms of your applications. Within the AR System database, AR System builds and manages tables to store the data displayed on your forms. When you create a regular form, you see the eight core fields (see Figure 5-1). All regular forms contain these fields. For information about core fields, see Core fields on page 472.
Figure 5-1: Create Form window and core fields
Join forms
You can create a join form to combine information from multiple AR System forms. This composite form includes fields derived from other existing forms. Use join forms to avoid data redundancy (information is stored in only one form) and maintain data integrity (information updated through the join form is updated in all other places).
148
Types of forms
For example, you can combine the information from the Help Request and the Employee ID forms (as shown in Figure 5-2) into a join form that displays information from both forms without duplicating employee information in every help request. You can combine a join form with other forms, or you can join a form to itself.
Figure 5-2: How joins work in AR System
New Join form
Employee ID form
For information about creating and using join forms, see Join forms on page 162.
Display-only forms
Display-only forms are not represented in the database, so they do not have any requests and they do not contain the core fields. You can use display-only forms in various ways: Control panels (as shown in Figure 5-5 on page 158)These provide an efficient way to organize and present users with specific tasks or objectives. Dialog boxesThese enable you to reuse specific groups of fields in a variety of ways. For example, you can create an employee information dialog box that contains generic fields (such as name and address) that multiple forms and applications can use. Entry points to other forms that contain dataYou can add an OK or a Continue button to a display-only form to cause an active link to transfer data from the display-only form to the primary form and then submit a request.
Chapter 5
149
Inline Forms
Inline forms allows you to: Automatically load embedded forms on the view fields when the container form is loaded. Load an embedded form on a view field based on user action, such as, selecting a console, loading an incident into the view field. Replace an existing embedded form on a view field by an another form. You can use inline forms to: Reduce the number of open windows. Provide an appearance of a single form. Improve performance. You can open forms that are embedded in the view fields as inline. When using inline forms in your application, consider these behaviors: Forms load into view fields using an active link Open Window action. Child forms load faster. The pop-up windows appear at the center of the entire page and deactivate the entire parent window regardless of which embedded form triggered it. The view field boundaries do not cut or trim the pop-up windows. A single prompt bar appears for the entire page, including when workflow in the embedded form executes a message action with the prompt bar option.
150
You can set the Inline Property to an AR System form while defining a workflow using Open Window action. For more information, see the following sections in the Workflow Objects Guide: Creating Open Window actions for Search or Submit windows Creating Open Window actions for Modify or Display windows
Creating forms
When planning a form, sketch the layout before you begin creating fields so that you have an idea of the best field location and order. When deciding where to place fields that have menus, text editors, or diary editors associated with them, allow space for the icons that will appear next to the fields. Consider using panels or trim (lines, boxes, or text) to group and label related fields. You can also add color to buttons and text labels. For information about form layout, see Arranging fields in a form view on page 412 and the Introduction to Application Development with BMC Remedy Developer Studio guide, Opening an object for editing, page 48. Form names must be unique on each AR System server. Names can contain up to 80 characters (including spaces), but avoid beginning a name with a number. Avoid using a plus sign (+) sign in the form name to ensure that a URL that contains the form name is not interrupted. Names can include double-byte characters. When you create forms: Users who are logged in to AR System using a browser or BMC Remedy User will not be able see the new form until you save the form and they log in to their client again. For forms opened in BMC Remedy User, the size of the window from which you save the form is the initial size. (This rule does not apply to forms opened in a browser.)
Chapter 5
151
To create forms
1 In AR System Navigator, expand serverName > All Objects. 2 Right-click Forms, and choose New formType.
Depending on the type of form you selected, the following action occurs: For regular forms, an Untitled Regular Form appears with the Core fields as displayed in Figure 5-1 on page 148. For join forms, the New Join Form Wizard opens. To continue, see Creating join forms on page 170. For display-only forms, a blank form opens. To continue, see Display-only forms on page 157. For view and vendor forms, other dialog boxes open. For more information, see the Integration Guide, Vendor forms, page 183, and the Integration Guide, View forms, page 187.
3 Choose File > Save. 4 In the Save Form As dialog box, enter the name of the new form.
NOTE
Avoid characters in a form name that result in an invalid URL when the form is accessed through the mid tier. BMC Remedy Developer Studio warns you if you use one of the invalid characters configured in the Form preferences page. By default, the Invalid Characters for Form Name preference is set to /&#%'".?.
5 Click OK.
152
Opening forms
The following procedure describes how to open all form types when you want to make changes.
To modify forms
1 In AR System Navigator, expand serverName > All Objects. 2 Double-click Forms. 3 In the Forms list, double-click the form name.
The default form view of the selected form opens. For information about default form views, see Setting form view properties on page 405.
4 Click the tab of the form view that you want to modify. 5 Make the necessary changes to the form view.
For information about the types of modifications you can make to a form view, see Modifying form views on page 403.
6 To change the form properties, choose Form > Form Properties, make the changes
in the Form Properties dialog box, and click OK. For more information, see Setting form properties on page 174.
7 Save the form.
Copying forms
When you copy forms, the new form retains all of the fields, views, and properties of the original form. Workflow objects (such as active links, filters, and escalations) associated with a form are not copied.
IMPORTANT
Most system forms (such as User, Group, Server Events, and Server Statistics) contain reserved fields that make these forms unique. Do not copy these forms, or you might introduce unintended access control functionality into your environment.
To copy forms
1 In AR System Navigator, expand serverName > All Objects. 2 Double-click Forms. 3 In the Forms list, double-click the form name. 4 Choose File > Save As. 5 In the Save Form As dialog box, enter the new name of the form. 6 Click OK.
Chapter 5
153
Renaming forms
When you rename a form, all settings are retained, and any workflow that references the form is automatically updated with the new name of the form.
NOTE
Avoid characters in a form name that result in an invalid URL when the form is accessed through the mid tier. BMC Remedy Developer Studio warns you if you use one of the invalid characters configured in the Form preferences page. By default, the Invalid Characters for Form Name preference is set to /&#%'".?.
Deleting forms
When you delete a form, all associated data and workflow that are not associated with any other forms are deleted. However, if the workflow is shared by multiple forms, that workflow is not deleted until the last form that uses it is also deleted. Menus, applications, and images must be deleted separately because they are independent of forms. If you delete a primary or secondary form of a join, the join form is also deleted.
WARNING
Do not delete the User or Group forms, or you lose the ability to add or modify users and groups. For more information about the Group form, see Creating groups on page 49. For information about the User form, see the Configuration Guide, Adding and modifying user information, page 57.
To delete forms
1 In AR System Navigator, expand serverName > All Objects. 2 Double-click Forms. 3 In the Forms list, right-click the form name, and choose Delete.
154
To enable form previewing, you must configure the mid tier preferences to identify the server and protocol information used by Developer Studio to access the forms that you want to preview, as shown in Figure 5-4 and described in the following procedure.
Chapter 5
155
Figure 5-4: Setting mid tier information for previewing forms in Developer Studio
Default Mid Tier to useThe mid tier to use for all servers to which you are connected Custom Mid Tier to useThe path for specific servers on which forms are installed. You can edit the name in the Mid Tier Path column.
4 For the selected server, specify a path, or edit an existing path as needed. 5 Click OK.
156
Display-only forms
Display-only forms
You can create display-only forms for various purposes. This section provides tips for creating these forms, and examples of how you can use them.
Chapter 5
157
In this figure, the buttons on the display-only form act as entry points to multiple underlying forms.
NOTE
When using a display-only form as a control panel in an application, set the control panel form as the primary form. Consider hiding the Details Pane Banner of control panels so that users are not distracted by banner buttons. For information about how to hide the Details Pane Banner, see Details Pane Banner on page 407.
Display-only forms
To define a dialog box, use the following active link actions with the Window Type set to Dialog:
Table 5-1: Workflow actions for defining a dialog box Action Open Window Description Sets the Open Window action to open a dialog box from a parent form. This action also defines what data is transferred from the parent form to the dialog box when the dialog box opens, and what data is transferred from the dialog box back to the parent form when the Commit Changes action occursusually when the user clicks an OK button or the dialog box closes. Commit Changes Changes the fields in the parent form to the values that the user specifies in the dialog box. The data from the dialog box is written to the parent form based on the mapping you created for the On Close mode in the Field Mapping region when setting the Open Window active link action. Changes are usually committed with the OK button on the dialog box. You might also want to create an Apply button that commits changes without closing the dialog box. Close Window Closes the active dialog box. The Close Window action usually occurs immediately after the Commit Changes action or as the active link action associated with Cancel occurs. For information about active links, see the Workflow Objects Guide.
want to open the dialog box, and save the parent form. For more information about buttons, see Button fields on page 384.
Chapter 5
159
A character field representing the entry field For example, if the user must enter the serial number of a product, create a field labeled Serial Number. An OK button A Cancel button You can add additional fields to a dialog box, but they will be display-only fields.
3 Create an active link that will launch the display-only form (dialog box). a In AR System Navigator, expand serverName > All Objects. b Right-click Active Links, and choose New Active Link. c On the Associated Forms panel, click Add, and add the parent form that contains
the Enter Serial Number button, which will open the display-only form.
d On the Execution Options panel, in the Button/Menu Field field, enter the name
of the button.
e Right-click the If Actions panel heading, and choose Add Action > Open
Window.
f On the Open Window sub-panel, complete the following fields as follows: In this field: Window Type Data Source Server Name Form Name View Name Enter: Dialog SERVER (The name of server that contains the displayonly form) (The name of the display-only form) (The name of view for display-only form)
g If you want the field to be automatically populated when the display-only form
opens, enter the fields name in the Field column, and enter a value in the Value column in the On Dialog Open Action area.
h Under On Dialog Close Action, enter the field from the parent form that you
transferred to the parent form when the display-only form closes. In this example, the field is Serial Number.
j Save the active link.
160
Display-only forms
4 Create an active link that executes when the user clicks the OK button on the dialog
box. Creating this workflow transfers information from the Serial Number field on the dialog box to a field on the parent form.
a Create a new active link. b On the Associated Forms panel, click Add, and add the display-only form
(dialog box).
c On the Execution Options panel, in the Button/Menu Field field, enter the name
of the button that users will click to confirm their entry in the display-only form. In this example, the button name is OK.
d Right-click the If Actions panel heading, and choose Add Action > Commit
Changes. The Commit Changes subpanel appears under the If Actions panel.
e Right-click the If Actions panel heading, and choose Add Action > Close
Window.
f On the Close Window subpanel, from the State list, select Close Current. g Save the active link. 5 Create an active link that executes when the user clicks Cancel. This action simply
(dialog box).
c On the Execution Options panel, in the Button/Menu Field field, enter the name
of the button that users will click to confirm their entry in the display-only form. In this example, the button name is Cancel.
d Right-click the If Actions panel heading, and choose Add Action > Close
Window. The Close Window subpanel appears under the If Actions panel.
e From the State list, select Close Current. f Save the active link. 6 Set the correct permissions for the forms and active links so that your users can
operate them successfully. For information about permissions, see Chapter 1, Defining access control. For additional examples of using buttons that open dialog boxes, open the Sample:ClassCentral form that is installed with AR System, and click the Enroll tab.
Chapter 5
161
Join forms
Join forms are composite forms that consist of fields derived from other existing forms. A join form can be useful in the following situations: When you need to produce reports from data that exists in more than one form. When data is stored in multiple forms and you want to display the data in a single form. To eliminate the need to enter the same data into multiple forms. This section helps you understand more about join forms.
Join criteria
Join criteria define the link between the two underlying forms. Join criteria are values common to the forms that you want to join. For example, if a help desk form and an employee record form both have an employee ID field, the two can be joined by the equality relationship between them, as shown in Figure 5-6 on page 163. In database terms, this is an equal join.
162
Join forms
NOTE
Try to use indexed fields in the join criteria. A join, like any other query of the database, should be optimized for best performance results. For information about indexing fields, see Defining indexes on page 181.
NOTE
In a join form, BMC Remedy Developer Studio tries to preserve the name and field ID of fields from the primary form. You can change the display properties for fields in a join form and set permissions for the join form itself. After creating a join form, you can add display-only fields to the form. For information, see Chapter 11, Types of fields.
Chapter 5
163
NOTE
An outer join in AR System is what relational database administrators call a left outer join. Selecting the left (or primary) form includes all of the entries associated with that form. Figure 5-7 illustrates the concept of inner joins. The Library Catalog form is the primary form. The Customer Checkout form is the secondary form. The join criteria is the ISBN (International Standard Book Number). Because an inner join creates a form that contains only the entries in which the join criteria exists in both the primary and secondary forms, the join form produces a report that shows only the titles that are checked out.
Figure 5-7: Example of an inner join
Primary form
Library Catalog Form
Secondary form
Customer Checkout Form
Title A B C D E F
ISBN 1 2 3 4 5 6
ISBN 1 2 4 6
Because an inner join contains only the entries in which the join criteria is present in both forms, ISBN items 3 and 5 (which are not in the secondary form) are omitted from the join form.
ISBN 1 2 4 6
Title A B D F
164
Join forms
If the library had produced the same report using an outer join, it would be a comprehensive listing of all the catalog items in the library, regardless of whether they had corresponding entries in the other form. The Figure 5-8 shows an example of an outer join.
Figure 5-8: Example of an outer join
Primary form
Library Catalog Form
Secondary form
Customer Checkout Form
ISBN 1 2 3 4 5 6
Title A B C D E F
ISBN 1 2 4 6
An outer join contains all of the entries from the primary form even if there is no corresponding join criteria in the secondary form.
ISBN 1 2 3 4 5 6
Title A B C D E F
When determining whether to create an inner join or an outer join, one approach is to base your choice on how much data you want to see. Inner joins are more useful for ad hoc queries and selection lists, while outer joins are more useful for special reports that are comprehensive by nature.
Chapter 5
165
Form A
Form B
Form C
Form D
Form E
Layer 2
Join Form F
Join Form G
Layer 3
Join Form H
Layer 4
Join Form I
Add only as many join layers as you need, and make sure that your join criteria is efficient. The practical upper limit for combining forms is about six layers. This is because each join form is created by querying the databasewhich ultimately affects system performance. In addition, the workflow attached to each form in multiple layers of joins can also severely impact performance.
Self-join forms
You can join a form to itself. This is also known as a Cartesian Join. This functionality is useful when comparing data from the same form or when preparing reports. Suppose that you want a report of all of the managers, the managers phone numbers, the employees they supervise, and the employees phone numbers. Assume also that the employees and managers both exist in this form. In this example, DemoHD:Staff is the primary (designated as A) and the secondary form (designated as B), and it has the data shown in the following table.
166
Join forms
If you join the form to itself and specify A.Employee ID = B.Manager ID as the join criteria, you can then add and rename the following fields in the resulting join form: A.Employee Name (from the primary form) renamed to Manager. A.Employee Phone Number (from the primary form) renamed to Manager Phone Number. B.Employee Name (from the secondary form) renamed to Employee. B.Employee Phone Number (from the primary form) renamed to Employee Phone Number. The join form with four fields (or five if you include the composite request ID) contains the following results from an unqualified search.
Figure 5-11: Self-join example 2
Composite Request ID 005|001 005|002 005|003 006|004 006|005 Manager Doug Doug Doug Nancy Nancy Manager Phone Number 555-5555 555-5555 555-5555 666-6666 666-6666 Employee Name Bob Steve John Sue Doug Employee Phone Number 111-1111 222-2222 333-3333 444-4444 555-5555
You can include phone numbers for each manager and employee in one entry, even though they come from the same column in the same table. The self-join logically joins two separate forms that contain identical information. Self-join forms are useful for certain parent-child relationships. In the previous example, the manager-employee relationship is a type of parent-child relationship in which child entries (the employees) belong to a parent entry (the manager).
Chapter 5
167
Requirements
Do not use pipe characters in the Entry ID of the vendor form that is a part of the join form. BMC Remedy AR System server distinguishes between the Entry IDs using the pipe characters as a separator. For example, do not use 00001|a4. As plug-ins return the Entry ID list to the plug-in server, all the Entry IDs in the list must be of 15 characters in length except for the last ID. For example, for an Entry ID list with 2 IDs, 0000000001 and 0000000002 cannot be used. The Entry ID list length of a vendor form must be a fixed length. The Entry ID length for all the entries of a vendor form must be the same, that is, a vendor form cannot have different Entry ID lengths. For example, if the Entry ID length of the first entry is 20, the Entry ID lengths of all the remaining entries must also be 20.
Limitations
The data from the join form is available only when the form is accessed through the AR Servers API. For example, the reporting engines that work directly against the database do not receive data from the vendor forms. The direct SQL and Set Fields with the SQL data source does not make data available from the joins form.
NOTE
You cannot create a join form using a display-only form.
168
Join forms
Join Form I
Join Form H
Join Form F
Join Form G
Form A
Form B
Form C
Form D
Form E
As you go down the execution order of the filters, all of the forms on the left side (the primary forms) execute first, and then forms on the right side (the secondary forms) execute. For more information, see the Workflow Objects Guide, Filter processing in the AR System server, page 177.
Chapter 5
169
170
Join forms
3 Select a primary form, and click Next. 4 Select a secondary form, and click Next. 5 In the Join Properties screen, select the options you want for your join form:
Join Type InnerSelects entries (or rows) only when corresponding values exist in both forms. OuterIncludes all of the entries from the form that you select as primary, even entries for which no matching entries are in the secondary form. Field Positioning HorizontalArranges the fields of the primary form on the left side of secondary form fields. Vertical (the default)Arranges the fields of the primary form above the fields of the secondary form.
Chapter 5
171
Inheritance Inherit Help Text for All FieldsTakes the help text from the fields in both forms and uses it in the join form. Inherit Help Text for Selected FormsTakes the help text from fields in the forms you select and uses it in the join form.
6 Enter a qualification in the Join Criteria section.
To use the Expression Editor to build the qualification, click the ellipsis button. For example, the following qualification join forms from requests with the same part numbers, you might use the following qualification:
$Part Number$ = 'Part Number'
Use dollar signs ($) around field names from the primary form, and use single quotation marks ( ' ) around field names from the secondary form.
NOTE
For optimal performance, use indexed fields in the join criteria. For information about indexing fields, see Defining indexes on page 181.
7 Click Next. 8 On the Primary Form Field Selection screen, move the fields you want included in
the join form from Available Fields column to Selected Fields column.
NOTE
You can join fields only if they have Input Length of 4000 or less.
9 Click Next. 10 On the Secondary Form Field Selection screen, move the fields you want included
in the join form from Available Fields column to Selected Fields column.
11 Click Finish.
Add trim, buttons, panel fields, or table fields. Create views for the join form. For information about fields in join forms, see Working with fields in join forms on page 229. For information about arranging fields on a form, see Arranging fields in a form view on page 412.
13 Save the form.
172
Join forms
You can swap which form is primary and which is secondary. You can also change the type of joininner or outer. Depending on whether you are working with an inner join or outer join, swapping forms can result in completely different criteria. For example, if the primary form (A) has three fields (1, 2, 3) and the secondary form (B) has three fields (3, 4, 5), an inner join retrieves the field that the two forms have in common (field 3), and an outer join retrieves this field and the remaining primary form fields, that is, fields 1, 2, and 3. If you swap forms so that form B becomes the primary form and form A becomes the secondary form, an inner join yields the same results (field 3), but an outer join now retrieves the fields 3, 4, and 5. For more information about inner and outer joins, see Inner and outer joins on page 164. In the large field under the Join Type field, you can modify the join criteria qualification.
Chapter 5
173
Defines the forms fields that appear when Defining search results on page 178 a user performs a Search operation in a web browser or BMC Remedy User. Defines the order in which requests appear Setting up sort order on page 179 in the matching table list when clicking the Search button on a form in a web browser or BMC Remedy User. Defines the settings for periodically backing up or deleting form data. Defines form indexes to reduce the database search time for frequently searched fields. Defines the primary and secondary forms of a join form, the join type, and a qualification. Defines form indexes to reduce the database search time for frequently searched fields. Defines the weighted relevancy fields for searches on multiple forms. Defines the scan times for join, vendor, and view forms. Appendix E, Archiving data Appendix F, Auditing
Sort
Archive Audit
Join Information
Modifying join form properties on page 173 Defining indexes on page 181
Indexes
The Configuration Guide, Configuring forms for multiple-form FTS, page 322
Vendor Information
For vendor forms only, defines the vendor The Integration Guide, Vendor forms, and table names used to create the form. If page 183 you modify these fields and specify a vendor name that is not associated with a valid ARDBC plug-in or a table name that the plug-in does not support, you receive errors when you try to access data from the vendor form.
174
Table 5-2: Pages on Form Properties dialog box (Sheet 2 of 2) Page name View Information Description For more information, see:
For view forms only, displays the names of The Integration Guide, View forms, the table and key field used to create the page 187 form. You cannot edit these fields. Defines the access control groups that can Form, active link guide, and application access the form. permissions on page 31 Defines the access control groups that have Form, active link guide, and application subadministrator permissions for the form. permissions on page 31 Defines the owner of a form, the user who last modified it, the date and time of the modification, and a description of the changes. The Introduction to Application
Help Text
Development with BMC Remedy Developer Studio guide, Updating change history, page 53 Defines the help text for the form. This help The Introduction to Application text should describe the form, what it does, Development with BMC Remedy and how to use it. Developer Studio guide, Providing help text, page 54 BMC Remedy User users can view this
help text in the prompt bar (if visible) or in a list by choosing Whats This? help. Web browser users can view help by clicking the Help button, if a Help form action field is added to the form.
Form properties apply to all form views associated with that form. To set properties for a specific form view, select the tab of the form view, click in an empty area on the form, and edit the forms view properties under Properties. For more information about setting view-specific properties, see Setting form view properties on page 405.
Select the names on the left to move through the pages in the Form Properties dialog box. The form type you are modifying determines which pages appear.
Chapter 5
175
176
NOTE
This option is not useful in a 64-bit environment. Most 64-bit environments do not impose memory limitations and setting the option could unnecessarily impact performance. Disable the server maintenance of status history for a form. When the check box is selected, the server clears the history and does not update it when the status changes. BMC Remedy User and the mid tier show no status history for a form when it is disabled. When the Disable Status History check box is cleared, the server starts to record and return status history for the form. When status history is enabled, BMC Remedy User and the mid tier show the status history for the form starting from when it was enabled.
inclusive.
WARNING
The use of this configuration setting might result in unpredictably large request ID sequence gaps. The likelihood of this occurring increases with the use of multiple servers that share a database. The AR System server does not malfunction due to this gap, so it should not be considered a defect.
5 To disable server view and field display property caching for this form: a Select the Override Server Default Display Property Cache Settings. b To disable caching of view display properties, select Disable VUI Display
Property Caching.
c To disable caching of field display properties, select Disable Field Display
Property Caching.
6 To disable the server maintenance of status history, select Disable Status History. 7 Click OK, and save the form.
Chapter 5
177
NOTE
Even though 128 characters or fewer are displayed, all of the fields data is returned to the client, possibly causing a performance issue. In addition to the Results List, this configuration controls the appearance of the selection list that can be displayed when the match criteria of a Set Fields active link action matches multiple requests. The separator is used in the selection list for BMC Remedy User. The width is used in a web browser and BMC Remedy User. The settings in the Results List Fields page specify the default set of fields returned for API programs that do not override the fields returned.
178
4 To add fields to the table, click Add and complete the Field Selector dialog box for
each field. Only fields of the following types appear in the Field Selector dialog box: character, date/time, date, time, currency, integer, real, decimal, drop-down list, radiobutton, check box, and attachment. If you purchased the full text search option, you can select the WEIGHT field to display the weighted value of retrieved requests when you perform a search in a browser or BMC Remedy User. For information about full text search, see Configuration Guide, Using full text search, page 295.
5 In the Width column for each field, enter a number (1128) to set its initial width
in the results list. For example, if you set a width of 20, approximately the first 20 characters of the field value appear initially in the list.
6 To remove fields or to change the order of the fields, select a field, and click the
To set the color of requests that appear in the results list, see To define form view properties on page 405.
Chapter 5
179
4 To add fields to the Sorted Fields list, click Add and complete the Field Selector
Click in the table cell, and choose Ascending or Descending from the list.
8 Click OK.
180
Defining indexes
Indexing can greatly reduce database search time. Indexes can be defined for data fields on regular forms. You cannot create indexes for other form types because: Join forms use the indexing defined for the forms from which they are constructed. Display-only forms have no database table, so they need no indexing. View and vendor forms are owned outside of AR System, so any indexing they support must be managed outside of AR System. The Request ID field is already indexed, so you need not build a separate index for this field. Good candidates for indexing include fields that users search on frequently. If you define an index for a character field, you might save search time by using a QBE Match setting of Leading or Equal, not by using a QBE Match setting of Anywhere. For information, see QBE Match on page 525. If you are creating or modifying indexes in a form for which a large amount of data exists, this process can take a significant amount of time and disk space because the index must be built or rebuilt. Therefore, avoid defining indexes during normal production hours. More time is required to modify a form (for example, adding new fields) when indexes are defined for the form. The greater the number of indexes defined for the form, the more time and disk space is required. Submit and modify operations in a browser and in BMC Remedy User also take longer on forms with many indexes. For more information about maximizing index performance, see the Optimizing and Troubleshooting Guide, Creating effective indexes, page 33.
Chapter 5
181
for each field. You can combine multiple fields into a composite index. You can enter as many as 16 fields. Add the fields in the order you want them indexed, or use the Up and Down buttons to put them in the correct order. Each indexed field must be less than or equal to 255 character, but the composite Index can have a total length greater than 255.
d Use the Remove and Remove All buttons to remove fields form the index.
NOTE
AR System does not verify if the size violates the databases rules, but a database error is returned if the size is too large.
5 To remove an index from the database, select the index, and click Delete. 6 Click OK.
For more information about performance issues and tuning in AR System, especially analyzing forms for performance, see the Optimizing and Troubleshooting Guide, Managing performance, page 13.
182
Chapter
You can create or modify fields in a form at any time. All changes take effect as soon as you save them, but if a user has a form open when you modify its fields, the user must close all instances of the form and reopen it to see your changes. The following topics are provided: Determining what types of fields to use (page 184) Creating data fields (page 184) Creating currency fields (page 191) Creating selection fields (page 196) Creating attachment pools (page 198) Creating view fields (page 201) Creating data visualization fields (page 203) Creating application list fields (page 203) Executing entry points in HTML (page 204) Creating navigation fields (page 205) Creating button fields (page 210) Creating trim fields (page 214) Creating global fields (page 217) Managing fields (page 219) Working with fields in join forms (page 229) To create table fields, see Creating table fields on page 247. To create panel fields, see Creating panel holders and panels on page 336. For detailed descriptions of each field, see Chapter 11, Types of fields.
Chapter 6
183
NOTE
For an overview of data fields, see Data fields on page 368.
184
page 189.
7 Select the field, drag it to a position in the form, and adjust its size.
WARNING
Using the path in a Run Process active link action to access the contents of the file is not supported on the web.
When the Display Type property of a character field is set to File: If a menu is attached to the character field, the menu is disabled, and the menu button is hidden. The character fields Expand Box property is disabled, and the expand box button is hidden. When users click the file selection button in BMC Remedy User, a standard file selection dialog box is displayed. When users click the file selection button in browsers, a dialog box containing a Browse button is displayed; clicking Browse displays a standard file selection dialog box. When users select a file name to add to the character field, any existing data in the field is overwritten.
Chapter 6
185
NOTE
BMC Remedy User does not support rich text formatting.
NOTE
Right-to-left (RTL) formatting is not supported in RTF fields. The rich-text-formatting (RTF) options provide a way for users to apply some basic styling of text and inclusion of images with their text. The options do not provide the level of functionality of a desktop-based word processor such as Microsoft Word. For information about using the RTF functions, see the BMC Remedy Mid Tier Guide, Editing fields with rich text formatting, page 130. For information about using the STRIPHTML function in workflow to remove RTF formatting, see the Workflow Objects Guide, Functions, page 229.
Rich TextAllows users to click the RTF icon ( a separate dialog box.
Rich Text In PlaceAllows users to make RTF changes within the field, which includes a toolbar with a smaller subset of the commands found on the dialog box.
186
NOTE
If you attach a menu to a character field with the Display Type property defined as Rich Text In Place, the RTF toolbar will not appear inside the field if the user selects the menu.
3 If you select the Rich Text In Place option: a Set the Rows property to 10 or more. b Set the Width property to 500 or more.
The changes to the Rows and Width properties enable the rich-text-formatting functions to appear when the user clicks in the field.
4 To enable users to add an image to a character field, complete the To allow users
NOTE
In modify mode, dynamic resizing of RTF fields fails when you switch among panels (that were initially collapsed) with RTF Auto Resize set to Vertical in a flow layout panel. This issue occurs in all browsers. In create mode, dynamic resizing works for RTF fields. The panels in questions are Collapsible and Accordion Panels.
For more information, see Creating panel holders and panels on page 336.
2 Resize the panel so that it is large enough to hold the RTF fields. 3 Set the following properties for the panel:
Set Layout Style to Flow. When you set this property, the panel can contain only one field per row. Tabbed Panel Holders support the Flow Layout Style; however, if an RTF grows dynamically, a scroll bar will not appear on the tab. Consequently, users cannot see fields that disappear at the bottom of the panel because of the resized RTF. Additionally, if you add a gradient color (Background Color property) or an image (Background Image property) to a panel that includes an RTF field, the color or image might not extend to the bottom of the panel when Flow is selected for the panels Layout Style property.
Chapter 6
187
NOTE
When you select Flow as the Layout Style property for a panel, the fields in the panel are left-aligned and vertically spaced equally. If you add another field after setting the Flow option, that field will not be properly aligned until you select the Flow option again. Set Vertical Spacing to the number of pixels of space between each field in the panel. (optional) Set the following properties to create margins around the fields in the panel. Panel Bottom Margin Panel Left Margin Panel Right Margin Panel Top Margin
NOTE
These Panel Margin properties are not supported on Tabbed Panel Holder fields.
4 Create RTF fields in the panel.
For more information, see Adding rich-text-formatting capabilities to a character field on page 186.
5 Set the following properties for each RTF field within a panel:
Set Auto Resize to Vertical. Set Maximum Height to 0 (no limit) or to a number that is equal to or greater than the fields Height property.
NOTE
If entries in an .arx file include an RTF field with an image from a URL, the image does not appear in the record after the .arx file is imported to a server. To view the image, you must re-enter the URL.
you want to allow the users to add to the character field. For more information, see Creating attachment pools on page 198.
188
3 To ensure that the RTF field can store the text, images, and the hidden HTML tags
used for formatting purposes, increase the Input Length property, or set the property to 0 (unlimited length). The default Input Length property for character fields is set to 255. Inserting an image or a table can insert many more referencing text characters in the field.
4 To hide the attachment pool, set the Visible property to False. 5 Create a character field with rich-text formatting capabilities. a For the Display Type property, choose Rich Text or Rich Text In Place. b For the Image Attachment property of the character field, select the attachment
IMPORTANT
If you delete an attachment pool that is linked to an RTF field, remove the reference in the Image Attachment property of the corresponding character field. For more information, see To allow users to add an image to a character field on page 188.
6 Save the form.
NOTE
If a user adds an attachment image to a field with RTF but clicks the main cancel button to close the editor, the image is removed from the field, but the image remains in the attachment pool until the Browse button in the Image Options dialog box is clicked again. The image also remains in the attachment pool if the user deletes the image from the editor before saving the entry.
Enabled
When the Enabled property is set to True, you can specify a highlight start color and a highlight end color. The default value is false (highlight not enabled).
Chapter 6 Creating and managing fields 189
Additional effects
The following effects are also available.
Slide in and slide out of items in vertical navigation bar and panels
This effect enables submenu items in a vertical navigation bar to be slowly shown and hidden by having them slide in and out.
NOTE
Field effects can be disabled by selecting No in the Animated Effects field on the Web tab of the AR System User Preference form.
190
NOTE
Before AR System 7.1.00, the $PROCESS$ command was used to generate GUIDs. Using a GUID field provides better performance than the $PROCESS$ command. To automatically store a GUID in a field, create a character field with database ID 179. A GUID is available through all filter phases. By contrast, the value of a Request ID field is not available until a request is successfully committed to the database. You can customize all the properties of the GUID field except data type, input length, and ID.
Set default currency types. Before you create a currency field, you should set default allowable and function currency types in the AR System Administration: Server Information form (see the Configuration Guide, Server InformationCurrency Types tab, page 141). The defaults appear in the Currency Types property dialog box of all new currency fields. For information about allowable and functional currencies, see Allowable and functional currencies on page 372.
Step 2 Create the currency field (see the following procedure). Step 3 Create currency exchange ratios (see page 195).
NOTE
For an overview of currency fields, see Currency fields on page 371.
Chapter 6
191
button. If default allowable currency types are not specified in the AR System Administration: Server Information form, all the available currency types are selected in the Currency Types dialog box on the Allowable Currency Types tab, as shown in Figure 6-2.
Figure 6-2: Initial Allowable Currency Types tab without default currencies
If defaults are specified in the AR System Administration: Server Information form, those default currencies are selected on the Allowable Currency Types tab. For example, see Figure 6-3.
192
Figure 6-3: Initial Allowable Currency Types tab with default currencies
TIP
Although BMC Remedy Developer Studio might default to using all allowable currencies when a currency field is created, select only the relevant currencies for your locale to avoid the overhead of too many conversions. For information about allowable and functional currencies, see Allowable and functional currencies on page 372.
5 To change the allowable currencies for this field, perform these tasks in the
Selected Types lists. Currencies in the Selected Types list appear in the menu attached to the currency field. For example:
If you remove all currencies from the Selected Types list, all the available currencies are allowed and appear in the menu.
c (Optional) To change a currencys decimal precision, click the precision field in
the Selected Types list, and select a precision value from the drop-down list.
Chapter 6
193
d In the Primary Currency list, select the currency to use when no currency code
is entered in the currency field. If you do not select a primary currency, the first currency in the Selected Types list is used as the primary currency. For more information, see Currency fields on page 371.
6 To change the functional currencies for this field, perform these tasks in the
Selected Types lists. The Selected Types list must contain at least one currency. There is no maximum number, but BMC recommends that you specify no more than five functional currencies to avoid delays when you submit requests.
b (Optional) To change a currencys decimal precision, click the precision field in
the Selected Types list, and select a precision value from the drop-down list.
IMPORTANT
The first functional currency that is defined is used in workflow evaluations and in searches. It is critical that you define a currency exchange ratio entry for the first function currency.
7 Click OK. 8 In the Properties tab, you can set one or both of these currency field properties:
Default ValueSpecifies the value that appears in the field when a user initially opens the form in New mode. The value consists of a decimal number and an allowable currency code. This value overrides the Initial Currency Type field property value set in BMC Remedy Developer Studio and the initial currency type preference set in the AR System Preference form. Initial Currency TypeSpecifies the currency code that appears in the field when the form opens in New mode if there is no Default Value and if the user has not specified an initial currency type in BMC Remedy User.
9 Set the other field properties as needed.
194
NOTE
The first functional currency that is defined is used in workflow evaluations and in searches. Additionally, if you create an incomplete set of ratios, your applications might not work properly. For example, sorting on currency fields might produce incorrect results.
to convert. For example, you might create one entry for converting from USD to EUR:
Field Conversion Date From Currency To Currency Conversion Ratio Contents $TIMESTAMP$ USD EUR 0.640
Chapter 6
195
The default setting is 60. A setting of 0 disables refresh. This is the interval at which clients query the server for new currency ratios from the AR System Currency Ratios form.
4 Click Apply.
NOTE
For an overview of selection fields, see Selection fields on page 376.
Selection field types are Drop-Down List, Radio Button, or Check Box. The new field appears on the form.
3 Select the field. 4 In the Properties tab, set the Selections values.
See the following procedures: To add selection items To modify selection items To delete selection items
5 Set the other field properties as needed.
196
In the Selections dialog box, you can create items that have linear IDs or custom IDs. AR System creates linear IDs automatically, beginning with 0. You must enter custom IDs manually. A selection field cannot have items with both linear IDs and custom IDs. See Selection fields on page 376.
3 To add items with linear IDs, go to step 5. 4 To add items with custom IDs: a In the ID Enumeration list, select Custom. b In the ID column of the item, enter an integer from 0 through 2147483647.
NOTE
For Check Box fields, add only one item because users have access to only the first item.
9 To rearrange the items, select an item and click Up or Down.
IMPORTANT
If the items have linear IDs, do not change the order of existing items. If you do, the meaning of data previously entered in the database is changed. See Selection fields on page 376.
10 (Optional) In the Default Value list, select the item that appears when users
Chapter 6
197
IMPORTANT
If the items have linear IDs, do not delete items in the beginning or middle of a selection field in an existing form. See Selection fields on page 376.
5 Click OK. 6 Right-click the form, and choose Save.
NOTE
For an overview of attachment pools, see Attachment pools on page 377.
button.
b In the Attachment Fields dialog box, click New, and then click OK. c In the attachment pool, select the new attachment field.
198
Audit Log KeySee Appendix D, Field properties. Audit OptionSee Appendix D, Field properties. LabelCan have up to 80 characters. It is used as the display label and database name for the attachment field. See Appendix D, Field properties. Max SizeSpecifies the maximum size of the attachment in bytes. If you set Max Size to 0 (the default), users can add attachments up to the size that your database allows. See Attachment field size considerations on page 201.
e To add another attachment field, repeat steps a through d.
The number of attachment fields determines the number of attachments users can add. You can specify as many attachment fields as your database permits. If you exceed the limit, you get a database error. To determine the limit, see your database documentation.
f To move an attachment field from another attachment pool to this pool, see To
move an attachment field from one attachment pool to another on page 200.
g (Optional) Rearrange the attachment fields by using the Up and Down buttons
Entry Mode ID Index for FTS Name See Appendix D, Field properties.
c Repeat steps a through b for each attachment field. 6 (Optional) Specify column headings and button (mid tier) or context menu
If you clear a label for a button, the button is not displayed. If you clear a label for a column, the default column name is used. When users add attachments, the file names appear in the attachment pool even if you do not display any columns or buttons.
Label property Add Label Default value Add Description Label on button or context menu used for adding attachments. Label on column displaying attachment field labels. Chapter 6 Creating and managing fields 199
Description Label on button or context menu used for deleting selected attachments. Label on button or context menu used to deselect selected attachments. When you open a form created before version 7.1.00 in BMC Remedy Administrator, and BMC Remedy Developer Studio detects that an attachment pool is on the form, the modified flag is set, so you must save the form. The saved form includes the Deselect button or context menu. If the form is not opened in BMC Remedy Developer Studio before a user opens it: In BMC Remedy User, the Deselect item appears in the context menu. In a browser, the Deselect button or context menu does not appear.
Display Label
Display
Label on button or context menu used for opening selected attachments on the client. For browsers, only files with file name extensions configured to open in the browser open. If a file type is not configured to open in the browser, a Save dialog box opens.
Label on column containing attached file names. Label on column containing attached file sizes. Label on button or context menu used for saving selected attachments on the client.
NOTE
For web views, make sure to leave enough space on the form to accommodate the Add, Delete, Display, and Save to Disk buttons that appear below the attachment pool in a browser. See Arranging fields in a form view on page 412.
9 Right-click the form, and choose Save.
attachment pool to move the field to. Both attachment pools must be on the same form.
3 Right-click the form, and choose Save.
200
NOTE
Remote procedure call (RPC) and memory allocation errors might occur when users open large attachments on computers with limited memory resources. The error that appears depends on the stage of transfer (from client to server computer) at which the memory failure occurred. If you receive a malloc in client library failed error, check the memory resources of the client. If the error is Unable to send, check the memory resources of the client and server. If it was a databasespecific memory error, check the data or log (or transaction) space.
NOTE
For an overview of view fields, see View fields on page 380.
Chapter 6
201
5 In the Text dialog box, enter an initial value for the view field, and click OK.
You can enter any value that a browser can read. For example, you can enter your companys URL, the URL for a form in the mid tier, an HTML snippet, or Oracle JavaScript. The web page, form, or interpreted code appears in the view field in BMC Remedy Developer Studio when you close the dialog box.
WARNING
In view fields, the primitive value is returned from the server. If you use scripting in view fields, make sure that the script does not appear to users. You can also reference a template. See Using templates with fields on page 390. In BMC Remedy User and a browser, the contents of a view field do not load automatically when users open a form. To display the initial value in those applications, perform one of these steps: Select the view and set the Set to Defaults property to True (governs New mode), and set user preferences to Set Fields to Default Values in New and Search modes in the AR System User Preference form. You can also set these user preferences in BMC Remedy User by choosing Tools > Options and selecting the Behaviors tab of the Options dialog box. Use a Set Fields active link action to set the view field value to $DEFAULT$ when the form opens. In this case, set the execute on condition to Window Loaded. You can also leave the Text property blank and use workflow to set the initial display value. To make the contents of the view field persist across actions in the same window, make the view field a window-scoped global field. Create the view field with a field ID in the range of 3000000 to 3999999, and use workflow to set the initial value. See Creating global fields on page 217.
WARNING
Do not use HTML snippets that contain tables or frames. Instead, use a URL to display this type of content.
6 Set border and scroll bar properties. See Appendix D, Field properties.
If the contents of the web page or HTML snippet are too large for the field, the value of the Scroll Bar property determines whether scroll bars appear at the fields bottom and right side in BMC Remedy User and a browser.
7 Set the other field properties as needed. See Appendix D, Field properties. 8 Select the view field, drag it to a position in the form, and adjust its size.
202
NOTE
For an overview of data visualization fields, see Data visualization fields on page 382.
NOTE
For an overview of application list fields, see Application list fields on page 382.
Chapter 6
203
You can use single or double quotation marks in these commands because JavaScript conventions permit strings to be enclosed by single or double quotation marks.
For example:
<html> <script> function doInvokeForm(server, form, mode) { if("external" in window && "arInvokeForm" in window.external) arInvokeForm(server, form, mode); else parent.arInvokeForm(server, form, mode); } </script> <body> <form> <a href="javascript:doInvokeForm('ServerA','HelpDesk', 'search')">Search HelpDesk form</a> <br> </form> </body> </html>
In this example, doInvokeObject makes sure that the arInvokeObject functions are available. In BMC Remedy User, arInvokeObject is then called. In a browser, the functions are not available in the view field because the view field is an HTML iframe element. To access the arInvokeObject functions in a browser, you must reference parent.
204 Form and Application Objects Guide
NOTE
Do not enclose menu labels within angle brackets (<>) such as those used to enclose HTML or XML tags. When a form with the menu is viewed in a browser, the angle brackets will cause the label text to be interpreted as a tag; as a result, the menu will not appear.
5 Click Close. 6 In the Properties tab, click the Attach Orphan Items property, and click its ellipsis
button.
7 In the Attach Orphan Items dialog box, attach orphaned navigation field and menu
items that are not attached to the form. Orphaned items are: Deleted menu bar items (choose Form > Edit Menu Bar to view them) Unattached items from deleted navigation fields
8 Click OK. 9 For each menu item, attach an active link that defines the action that occurs when
button.
d In the Active Link(s) dialog box, move the appropriate active link to the Selected
For information about creating workflow, see the Workflow Objects Guide.
NOTE
If you disable a parent item in a vertical navigation field, the parent item is collapsed and disabled, so the user cannot access the children. (To disable an item, use the Change Field workflow action.)
10 Select the navigation field. 11 In the Properties tab, select the appropriate item in these lists:
Fire workflow again on selected itemSelect an option to specify if workflow is fired again: Do not fire workflowWorkflow does not fire when the selected navigation item is clicked again. Fire workflowWorkflow fires again when the selected navigation item is clicked again. Navigation Initial StateIf you want a particular menu item selected when the user opens the form, select that item. Select item on clickTo select menu items with a single click, set to True. To select menu items with a double-click, set to False.
12 Set other navigation field and menu item properties as needed.
For example, select a menu item, click the Permissions property, click its ellipsis button, and set permissions for the menu item in the Permissions dialog box. Users see only the menu items to which they have access. See Appendix D, Field properties.
13 Select the navigation field, drag it to a position in the form, and adjust its size.
Make sure that the field is large enough to hold the menus and items that you created. Horizontal and vertical scrollbars appear in a navigation field in BMC Remedy User and a browser if the field is not large enough. See Arranging fields in a form view on page 412.
14 Right-click the form, and choose Save. 15 (Optional) To change the styling of menus in forms in a browser, create properties
in the applications cascading style sheet (CSS). For more information, see the BMC Remedy Mid Tier Guide, Customizing AR System style sheets, page 55.
206
Previously, text and background colors were not customizable for navigation fields, but were for panels. You can now customize navigation field text and colors (including gradients) so that their appearance matches that of panels used in conjunction with them in a form. You can customize navigation field elements using these properties: Top level background color for menu (including gradient colors) Sub level background color (where subordinate menus and menu items are listed) Top level text color Sub level text color Item height Font of menu label and text Figure 6-5 shows a navigation field and a panel with the same color and text display attributes.
Chapter 6
207
Figure 6-5: Navigation field and panel with same color and display attributes
embedded in a collapsible panel or as part of a series of navigation items in a console), determine the display properties that you need for the appearance of the items to match.
3 Select the display properties for the navigation field:
ColorTop level text color, sub level text color DisplayTop level background color, sub level background color, item height. For more information about display properties, see Appendix D, Field properties.
208
NOTE
Sub level items do not support gradients. Item heightThe amount of line spacing, between 20 and 50 pixels, between items in the menu. The default is 25 pixels. Label fontThe font of the menu label and menu items.
NOTE
This selection applies the chosen font to all items. You cannot select one font for the menu labels and another for the menu items.
NOTE
If you create two or more adjacent navigation fields with flyout enabled, be sure that you allow enough space between the two navigation fields so that any submenu items that they contain do not overlap. If they overlap, one submenu will be hidden beneath the submenu of the adjacent navigation field and will not be visible to the user. For example, if you create two adjacent navigation fields and one is at the right edge of the form without enough space for its menu items to fly out to the right, those menu items will fly out to the left instead, and will be hidden by the items on the navigation field next to it.
Chapter 6
209
Developer Studio provides a property called Mode to enable flyout capability for menus displayed in vertical navigation fields on the web. This property has two settings: Expandable Menu items are displayed vertically as expandable lists. FlyoutMenu items are displayed in a parallel list to the right of the menu. A flyout menu can be displayed either when a menu is clicked or when the user moves the mouse over it.
NOTE
When a navigation bar resides within a panel, you might not see all of the navigation bar's available menus. For example, if a navigation bar has 10 menus, you might initially see only 7 of them (depending on the size of the panel). To see the remaining menus, you must click or hover over the last visible root (first-level) menu (for example, the 7th menu).
NOTE
The Flyout mode setting is ignored when a form is displayed in BMC Remedy User.
NOTE
For an overview of button fields, see Button fields on page 384.
210
Button LabelThe text displayed on the button. Display TypeSelect one of these button styles: ButtonThe button looks like a button. Users can click it to initiate active link actions. MenuThe button field is added to the menu bar. For more information, see the Workflow Objects Guide, Using buttons and menu bar items to execute active links, page 165. URLThe button looks like a URL. Users can click it to initiate active link actions.
5 (URL only) Modify the color of the URL: a In the URL Color propertys drop-down list, select Custom. b Choose a color from the color palette, and click OK. 6 Specify active links to execute when the button is clicked: a In the Properties tab, select the Active Link(s) property, and click its ellipsis
button.
b In the Active Link(s) dialog box, connect active links to the button. c Click OK.
For more information, see the Workflow Objects Guide, Using buttons and menu bar items to execute active links, page 165.
7 Set other field properties as needed.
Chapter 6
211
NOTE
To support the Image Reference functionality for button fields, AR System clients and supporting applications such as BMC Remedy User and the mid tier must be release 7.5.00 or later. When previous clients open a form containing an image reference, the server converts the image format into a byte stream that is cached on the client, as in previous versions. The functionality to gray out disabled buttons is part of the button feature; you do not need different bitmaps to represent different button states (for example, normal, grayed, depressed, reversed).
You can choose BMP, JPEG, JPG, GIF, and PNG files. The chosen image appears in the Preview area.
c
To save the image to a different file or folder, click Save to File. Embedded ImageThe image is stored in the field display properties as an ARByteList. In this case, the image is embedded in the form and is therefore downloaded with the form whenever the form is refreshed by the client. Image ReferenceA reference to a shared image object is stored in the field display properties. In this case, the image is stored as an image object in AR System. When the form is downloaded, the image is cached separately, so the image does not have to be refreshed along with the form. This allows for faster form refresh time. See Chapter 10, Working with images.
e Click OK.
212
4 Select the button, and set the following properties in the Properties tab:
Alternative TextProvides a text description of the button to display as a tooltip and to satisfy accessibility requirements. The alternative text description can include spaces.
NOTE
When the Alternative Text field is left blank, the button does not have a tooltip association. To satisfy accessibility requirements, the button label displays when the field is left blank. Display as Flat ImageDisplays the button without its three-dimensional border. This is helpful when you want to use images as trim. If the button performs an action when clicked, make sure the button looks like an object that users should click. For example, you can include a label for the button. Image PositionSets the image location relative to the label: Center (default) Left Right Top Bottom When the image is centered, the label is not visible inside the button. Scale Image to FitScales the image to fit the size of the button. If this option is set to False, the image might be cropped, and you might need to resize the button frame. Maintain Aspect RatioRetains the proportions of he image when the image is resized to fit the size of the button. This option is enabled when Scale Image To Fit is set to True.
5 Set other field properties as needed.
Chapter 6
213
NOTE
For an overview of trim fields, see Trim fields on page 385.
enter the text that will appear on the form into the Text dialog box, and click OK. See also To add a URL to a trim text field on page 215.
5 (Trim text) Set these properties:
Text AlignSpecifies where text is positioned relative to the top and bottom edges of the text box: Top, Middle (default), or Bottom. Text StyleSpecifies a font type for the text field.
NOTE
Users can change the font family, style, and size of each font type by using the BMC Remedy User Display options settings. As the administrator, your font preferences should match that of the majority of your users tools. Text Rotation - Specifies the angle at which the text can be rotated within a trim text field. The valid values are: 00 (default), 900, or 2700 degrees.
NOTE
Users must modify the size of the trim text field according to the length of the rotated text
214
See Appendix D, Field properties. By default, trim box and trim text backgrounds are opaque (default trim text backgrounds are the color of the form). To show the area beneath a trim box or trim text (for example, when using an image on a button and placing trim text on the image), make their backgrounds transparent, and bring the trim box or trim text to the front (choose Layout > Bring To Front).
NOTE
In some browsers, users cannot click fields under a transparent trim box. For applications viewed in a browser, place trim box fields under other fields.
7 Select the trim field, drag it to a position in the form, and adjust its size.
Chapter 6
215
For example, enter http://www.bmc.com. You can use any of these prefixes:
file: ftp:// gopher:// http:// mailto:
TIP
Before using the URL in the trim text field, test it in your browser.
8 Click Insert.
The URL text in the Text dialog box is automatically converted to HTML. For example:
Go to the <a href="www.bmc.com">BMC Software</a> site
Only the color of the URL text is updated. For example, if you use the text in step 8, only BMC Software is updated. To update any other text in the trim text field, use the Label/Text Color property.
11 Right-click the form, and choose Save.
For more information about adding URLs to a form, see the BMC Remedy Mid Tier Guide, URLs for forms and applications, page 76.
216
Chapter 6
217
For a list of valid field types, see Creating global fields on page 217.
2 Select the field. 3 In the Properties tab, set the fields database ID to a value from 1000000 through
Make sure that each copy of the global field uses the same field ID number.
For a list of valid field types, see Creating global fields on page 217.
2 Select the field. 3 In the Properties tab, set the fields database ID to a value from 3000000 through
218
Managing fields
Managing fields
The following sections explain how to modify, copy, delete, disable, and find fields in a form.
Modifying fields
If you modify the display properties of a field, the modifications apply only to the current form view. If you modify any other field properties, the modifications apply to all form views.
To modify a field
1 Open the appropriate form. 2 Select the appropriate field. 3 In the Properties tab, modify the field properties as needed.
Copying fields
You can copy all field types except attachment fields. Most properties of the copy are the same as the original with these exceptions: If you copy a field to the same view or to a different view of the original form, the only field properties that change are the ID and Name. If you copy a field to a different form, all the fields properties (including the ID) remain the same. To use the field in shared workflow (for example, in an active link), you must modify the workflow to include the form to which the field was copied.
WARNING
Be careful when using different field names that share the same field ID because shared workflow might use the field ID. You might want to use the same field name to help you remember what the fields purpose is on each form if you attach shared workflow to multiple forms. Regardless of the form or form view to which you copy a field, menus attached to a field are copied with the field and do not need to be reattached.
Chapter 6
219
To copy a field
1 Open the form from which you want to copy a field. 2 Right-click the field, and choose Copy.
The new field appears on the form. If the form has multiple views, these conditions apply: If your form preferences are set to add that type of field to all form views, the field is added to all form views. For more information about form preferences, see Setting form properties on page 174. If your form preferences are not set to add that type of field to all form views, the field is added only to the current form view. To add the field to a different form view, too, select the view, and choose Form > Add/Remove Fields On View. See Including and excluding fields from form views on page 411. If you copy the field to a different view on the same form, a dialog box appears with this prompt: Do you wish to add existing fields to this view or create new fields? Select one of these options, and then click OK: Create New FieldsCreates a copy of the field, and adds it to the view. The copied field has the same properties as the original field except for the ID and Name. Add to ViewAdds the selected field to the view. No fields are created. The added field has the same properties as the original field. For another way to perform this operation, see Views on page 530.
5 Select the newly pasted field. 6 In the Properties tab, modify the field properties as necessary.
220
Managing fields
Deleting fields
When a field is deleted, it is removed from all form views. When you save a form from which you have deleted a field, the field is deleted from the form in the database, and the field and its associated data for each request are also deleted from the database and space is freed. The operation might take several minutes to complete. Because your database might be unavailable while the deletion is occurring, users might not be able to access the server and might receive time-out messages. To minimize user inconvenience, perform deletions during off-peak hours. To disable data fields without removing them or their associated data from the database, see Making data fields nonoperational on page 221.
To delete a field
1 Open the appropriate form. 2 Right-click the field, and choose Delete.
You cannot delete core fields. See Core fields on page 472.
3 In the confirmation box, click Yes to delete a single field, or click Yes To All to
NOTE
When you delete a panel field, the data fields on the panel are not deleted; they are only removed from the view. See Including and excluding fields from form views on page 411.
The Entry Mode property is enabled only for required and optional fields. You cannot change the entry mode of a display-only field, table field, or panel field. See Entry Mode on page 510.
4 If the form has multiple views, remove the field from all form views except the
Chapter 6
221
See Including and excluding fields from form views on page 411.
6 Right-click the form, and choose Save.
The field is not hidden to current users of the form until they reopen the form or log in again.
NOTE
You can also set permissions to make a field available to selected users only. See Field permissions on page 32.
to search for. The string can be all or part of the fields label, database name, or ID.
5 In the By Type section, select the option that identifies the string entered in step 4:
LabelThe name of the field displayed on the form. NameThe name that identifies the field in the database. Field IDThe number that identifies the field internally in AR System.
6 Select the direction to search. 7 (Optional) Select one or more search options. 8 Click Find.
The first field that matches the search criteria is highlighted in the form.
9 Repeat step 8 until all fields matching the search criteria are found. 222 Form and Application Objects Guide
Managing fields
Show Tree Overview In this format, the fields are displayed in a tree view, which shows any parentchild relationships among the fields. Each field is identified as follows: fieldTypeIcon fieldDatabaseName (fieldID) Show Table Overview In this format, the fields are listed in a table that contains these columns: Field ID, Name, Label, and Type. You can sort the table on any column.
4 In the Outline tab, select the field that you want to locate.
In the form, the selected field is outlined with a selection box, and its properties are displayed in the Properties tab.
Chapter 6
223
You can specify tab order for fields in a form by using any of the following methods: By editing the tab order in the form editor By dragging and dropping fields in Outline view when fields are sorted by tab order By updating the tab order in the field's properties
each field.
tab order. The tab order for a field appears in the list as a tooltip when the mouse is moved over that field, as shown in Figure 6-8.
224
Managing fields
Fields that do not have a tab order, such as horizontal or vertical lines, and trim boxes, are not displayed.
3 To change the tab order of a field, drag it to the desired order in the list.
Keep the following conditions in mind as you modify tab order: You can drag and drop only one field at a time. You cannot drag a field from its current parent to a different parent.
NOTE
Sort by Tab Order is disabled when Show Table Overview is active in Outline view. To enable tab order sorting, click the Sort by Tab Order icon at the upper right in Outline view (Figure 6-8). If you change the tab order either in the form editor or through the field properties after displaying the tab order in Outline view, the Outline view is refreshed immediately to reflect the new tab order.
Chapter 6
225
These icons perform the following actions, from left to right: Bring to FrontMoves an object to the front of the stack, so that it appears on top of all other objects Bring ForwardMoves an object one position forward in the stack Send to BackMoves an object to the back of the stack, so that it is appears behind all other objects Send BackwardMoves an object one position backward in the stack
226
Managing fields
If you select Send Backward, the panel is moved one position back in the stack, as shown in Figure 6-11.
Figure 6-11: Moving a panel backward
If the object that you want to reposition is hidden behind a larger object, select it in Outline view.
2 In the toolbar (or from the Layout menu), select the button for moving the object
forward or backward. You can set the Entry Mode property of a field to Required at design time or runtime.
Chapter 6 Creating and managing fields 227
At design time, select a data or attachment field and in the Properties window, select Database > Entry Mode > Required. For more information about field entry modes, see Entry Mode on page 510. At runtime, you can change a fields entry mode from Optional to Required by using a Change Field action. When you set the Entry Mode property to Required for a field, the following changes occurs: The field label becomes bold. By default, an asterisk is added to the end of the label. To add a different character to the label or to add the character to the beginning of the label, see To configure a character identifier for required fields on page 229. The browser or BMC Remedy User validates the field when a request is created. If the field is empty and does not have a default value, the following occurs: In BMC Remedy User, an error message is displayed and the request is not created. In browsers, the field is highlighted (for example, outlined in red), an error message is displayed, and the request is not sent to the server.
NOTE
Although you can use a Change Field action to change a design-time Required field to Optional at runtime, BMC recommends that you do not do this. The optional field would still be validated by the server. If it contained no value, the server would generate an error message.
228
and click System > General > Server Information. The AR System Administration: Server Information form appears.
2 Click the Configuration tab. 3 In the Required Field Identifier area, set the following options:
Prefix on LabelSelect this option to add the character to the beginning of the field label. Suffix on Label(Default) Select this option to add the character to the end of the field label. IdentifierEnter an ASCII character to add as an identifier to the field label. The default is an asterisk.
4 Click OK.
The changes take effect immediately. You do not need to restart the server.
Chapter 6
229
Categories button.
4 Modify any field properties in these categories:
Change History Color Database (name only) Display Font Help Text For information about the properties, see Appendix D, Field properties. In the Properties tab, you can also view important read-only information. For example, the Join Information properties provide information about the underlying form that the field came from.
5 Right-click the form, and choose Save.
NOTE
You can add trim fields (lines, text, and boxes), buttons, panel fields, table fields, and display-only data fields directly to a join form in the same way that you add them to other types of forms.
primary or secondary form that contains the appropriate field. The Add Fields dialog box appears. It contains a list of fields in the underlying form that are not on the join form.
3 In the Select Field from formName list, select the appropriate fields, and click OK.
The selected fields appear in the upper-left corner of the join form.
4 Drag the fields to the appropriate position in the join form.
230
5 To modify the display properties of the new data fields: a Select the field. b In the Properties tab, if the properties are not grouped by category, click the
NOTE
If you remove a display-only field or trim from a join form, it is deleted.
Chapter 6
231
232
Chapter
This section describes how to create and modify tables. The following topics are provided: About table fields (page 234) List view tables (page 235) Tree view tables (page 236) Cell-based tables (page 243) Alert lists (page 245) Results lists (page 246) Creating table fields (page 247) Workflow considerations for table fields (page 268) Displaying images in tables (page 269) Adding buttons and URLs to tables (page 275) Adding a select/cancel all check-box column to tables (page 278) Using drop-down menus in list view tables (page 281) Creating dynamic tables (page 282) Updating tables on-screen only (page 284) Enabling users to customize columns (page 295) Refreshing table fields (page 297)
Chapter 7
233
234
NOTE
To display data in a list view table field when a user opens a form, you must create a Change Field action that refreshes the field when the form is loaded. See the Workflow Objects Guide, Change Field action, page 77.
Chapter 7
235
In tree view tables, users open and close nodes by double-clicking them or by selecting the twisty-right ( ) or twisty-down ( ) sign next to them. Workflow that you create determines what happens when users select a node. For example, a large organization might use a tree view table that lists IT requests by region, as shown in the above figure, to find requests associated with a particular part of the country (Eastern, Central, and Western). The list of requests could be dynamically pulled from the IT database. Users would open the appropriate nodes in the table to find requests for their region. Under each regional node, requests could be grouped by severity (Low, Medium, High, and Urgent). When users click a request leaf node, information about the request could be displayed in fields next to the table, which could be populated through workflow that is triggered by actions associated with the table (see the Workflow considerations for table fields on page 268).
236
Table 7-1: Example tree view table levels Level 3 4 Source field Priority Description Nodes Urgent, High, Medium, Low Customer Downtime, Incorrect Setup, and so on Requests per node Multiple One
Single requests (called leaf nodes because they have no child nodes)
Level 3 Level 4
You use the Sort/Levels property of the tree view table field to specify which fields from the source form appear as levels in the tree view (see Setting sort order and visible levels on page 259). You cannot use the following fields as tree levels: Attachment fields, diary fields, or character fields with a data length of more than 255 bytes. Display-only fields Tree levels are also fields, and you can specify their properties. For more information, see Creating table fields on page 247.
Chapter 7
237
If you use the Type, Severity, Priority, and Description fields as levels in a tree view table, their data is sorted alphabetically and appears in an unintuitive order:
To arrange each level in a logical manner, add Type Sort, Severity Code, and Priority Code sort fields to the form:
238
Then add the new sort fields as levels to the tree view table field in the order shown in the preceding figure. The following figure shows the resulting tree view table when the new sort levels are visible and when they are hidden:
When the sort levels are hidden, child nodes of a node in a hidden level appear as children of the first visible ancestor of the hidden node.
IMPORTANT
The best practice is to hide only levels used for sorting. Do not hide levels that contain data leaf nodes. If a visible parent node with multiple hidden leaf nodes is selected, workflow selects only the request represented by the first hidden leaf node in most instances. It does not select the entire set of leaf nodes associated with the parent node. See Selecting requests in list views and tree views on page 242.
Chapter 7
239
Using PERFORM-ACTION-TABLE-SELECT-NODE
The PERFORM-ACTION-TABLE-SELECT-NODE command selects nodes according to a specified row and column (level) offset. If a tree view table contains hidden levels, this action might select a hidden node. If it does, the selection is rejected and the first visible ancestor is selected instead. For example, in both of the following tables, the action was instructed to select row 1, column (level) 2:
If the action is instructed to select row 1, column 3 in the preceding example, it selects the Change node in both tables.
Suppose that a request is submitted with Type Sort = 1 and Type = Defect:
240
This error creates two branches in the tree for the Defect type:
IMPORTANT
Check applications based on earlier versions of AR System to verify that all levels in tree view tables that should be visible are visible.
Chapter 7
241
Tree view
When users click a row in a list view, they select only one request. To select multiple requests, they must click multiple rows while pressing the Shift or Ctrl key. In a tree view, a node can represent one or more requests. For example, if a user selects D in the previous example, all the requests under D (x and y) are selected. If more than one request is selected, the first request (in this example, x) is considered the primary request, and the other requests are secondary. Workflow uses the primary request for all field value references except those in table loop guides. In table loop guides, all the requests (primary and secondary) are processed in turn. Be aware of this functionality when creating workflow for tree views (see Workflow considerations for table fields on page 268).
242
Cell-based tables
Cell-based tables
Use a cell-based table field to display a row of data in a single table cell. For example, as shown in Figure 7-5, a list view table field displays text in a traditional grid format with column headings.
Figure 7-5: Traditional list view table field
In a cell-based table field, all the information from a list view table row is displayed in one cell, as shown in Figure 7-6.
Chapter 7
243
NOTE
In a browser and BMC Remedy Developer Studio, cell-based tables have the format shown in Figure 7-6. In BMC Remedy User, however, cell-based tables display a list view table (see page 235) at the top and one cell-based table cell at the bottom. The list view is read-only. If the table has no records or if nothing is selected in the list view portion, the fields in the cell portion are unavailable. When a user selects a row in the list view, the cell displays data for that row. When a user updates information in the cell, the corresponding list view row is updated after the user selects a different row in the list view. You can have multiple cell-based table fields on one form, and they can appear in multiple views. Commands for a cell-based table field, such as Refresh and Select All, are in a context menu.
244
Alert lists
Double-clicking a cell or field in a cell opens the source form linked to the table. The source form displays the record shown in the clicked cell. Cell-based tables support chunking. They also support tabbing as follows:
Table 7-2: Tabbing in tables Use this key Tab In a browser To move focus from . . . Outside the table to the table header Header to the first cell field Field to field in a cell Cell to the table footer Footer to a field outside the table Cell to cell Outside the table to the list view part of the table Selected row in the list view to the cell part of the table Field to field in the cell Cell to a field outside the table Row to row in the list view In BMC Remedy User
Alert lists
Use an alert list table field to display an alert list in the web view:
Figure 7-7: Alert list table field
Each AR System server installation includes the Alert List form, which includes an alert list table field in a web view. To display an alert list, you can add this form to your web-based applications or use your own form.
Chapter 7
245
A form can have only one alert list table field. The source form for an alert list is the Alert Events form, but when users drill-down in the table field, they see the request on the form that generated the alert. To support drill-down from the alert list table field, the forms originating the alerts must contain results list table fields. For more information about implementing alert lists in a browser, see the Configuration Guide, Using the alert list in a browser, page 258.
Results lists
Forms can display results lists in these formats: Results list paneBy default, forms viewed in BMC Remedy User and in a browser include a results list pane that shows a list of requests returned by a search:
In New mode, the pane is hidden. In Search mode, the pane is visible only after a search. For information about customizing results list panes, see Defining search results on page 178.
246
Results list table fieldThis type of table field is primarily for legacy support. If a form contains a results list table field: In a browser, the results list pane is hidden, and search results are displayed in the table field. Clicking a request in the table field displays the requests data in the form. In BMC Remedy User, the results list pane is visible, and search results are displayed in both the pane and the table field. Clicking a request in the pane displays the requests data in the form. Clicking a request in the table field, however, does not display the requests data in the form. A form can have only one results list table field; each view of the form, however, can display different columns in the results list table field. To add columns to a results list table field, use the Tree/Table Property dialog box (see Creating table fields on page 247).
NOTE
The columns specified in the Results Lists Fields page of the Form Properties dialog box affect the results list pane, not the results list table field (see Defining search results on page 178).
View in BMC Remedy User? Yes Yes Yes (format differs) No Yes
Results list table fields are primarily for legacy support. For information about results list panes, see Defining search results on page 178.
Chapter 7
247
tableField can be any of these values: Table - List View Table - Tree View Table - Cell Based Alert List Results List The new field appears on the form.
3 Add columns, levels, or cell fields to the table as follows: a Select the table field. b In the Properties tab, select one of the following properties, and click its ellipsis
button: (List view, tree view, alert list, results list) Tree/Table Property (Cell-based) Remote/Local Fields The Tree/Table Property or Remote/Local Fields dialog box appears.
248
c (List view, tree view, cell-based, alert list only) In the Data Source field, select the
source of the tables data: SERVERThe table displays data from the server specified in the Server Name field and the form specified in the Form Name field. SAMPLE DATAThe table displays data from a server and form that are dynamically selected at runtime according to values that users or workflow enters in certain fields. See Creating dynamic tables on page 282.
d (List view, tree view, cell-based only) In the Server Name list, select the server
data, click the ellipsis button to the right of the Form Name field, and use the Form Selector dialog box to select the appropriate form.
NOTE
(Deployable applications only) To restrict the table to forms in a particular application, select the appropriate application in the Application list of the Form Selector dialog box.
f (List view, tree view, cell-based, alert list only) To limit the data that appears in
the table, click the ellipsis button to the right of the Qualification field, and use the Expression Editor to create a qualification statement. You can use fields from the current form or from the data source form. You can also use keywords. The way qualifications function in table fields is similar to the way that they are used with the Set Fields action. The character limit for strings in a qualification is 4K. For more information, see the Workflow Objects Guide, Building qualifications and expressions, page 49.
WARNING
If you do not include a qualification, all requests in the data source form appear.
g Select fields in the Fields from Remote Form formName and Local Form
formName list and use the arrow buttons to move them to the Table Columns list. The following types of fields are included in the list: Data fields from the source form Display-only fields from the current form The following types of fields are not in the list and cannot be used as columns: Attachment and diary fields with a data length of more than 255 bytes Display-only fields from the source form View fields You can add up to 256 columns to a table.
Chapter 7
249
TIP
To display a field from the local form in the table but not on the form, hide the field on the form. For list view tables, you can also add buttons and URLs inside the table. See Adding buttons and URLs to tables on page 275. For cell-based tables, fields in the working cell are called cell fields. You can add these types of cell fields: From the current formButton, character fields whose entry mode is Display, menu item, navigation item, trim, and view. (In BMC Remedy User, button and view fields do not appear in the list view portion of the cell-based table, but they do appear in the cell portion.) From the source formData fields.
IMPORTANT
To change a column database ID (for example, to control the ID for purposes of shared workflow), you must change the ID before saving the table field. See To set column properties on page 257.
h To edit a table column heading, right-click the text in the appropriate Column
Title cell, and enter the text that you want to use as the column heading.
i (List view, alert list, results list only) To change the order in which the columns
appear in the table, select the appropriate item in the Table Columns list, and click the Up or Down button. For tree view tables, the order of the fields in the Table Columns list is ignored. Instead, set the order in the Sort/Levels property. See Setting sort order and visible levels on page 259.
j Click OK to close the Tree/Table Property or Remote/Local Fields dialog box. 4 In the Properties tab, set the following table field properties as necessary and save
the form. Properties that do not apply to the type of table that you are creating do not appear in the Properties tab when that table is selected.
Table 7-4: Properties used for table fields (Sheet 1 of 5) Property Auto Fit Columns Description (List view, cell-based, alert list, results list) To scale column widths proportionally to the width of the table field, set this property to True. This ensures that no horizontal scrolling is necessary to see all columns. When this property is set to False, column widths are not scaled, and a horizontal scroll bar might appear so that users can access all columns. See also the Column Width property on page 257. Background Color Background Image (Cell-based only) Background color of all cells in the cell-based table. (Cell-based only) Background image in all cells in the cell-based table. See Adding background images to fields and form views on page 363.
250
Table 7-4: Properties used for table fields (Sheet 2 of 5) Property Background Image Horizontal Description (Cell-based only) Position of the image in the cell from side to side. Values are Left Center Fill (stretches image to fill the width of the cell) Right Tile (repeats image across the cell from side to side) See Adding background images to fields and form views on page 363. Background Image Vertical (Cell-based only) Position of the image in the cell from top to bottom. Values are Top Center Fill (stretches image to fill the height of the cell) Bottom Tile (repeats image across the cell from top to bottom) See Adding background images to fields and form views on page 363. Display NULL value As (Tree views only) Specify what appears if a node is a NULL value. You can enter a string up to 255 bytes or 80 characters in this field. If you do not specify a value, [No Value] appears in such nodes. For more information about how NULL values are treated in tree view fields, see Tree view tables on page 236. Display Type (List view, tree view, and cell-based only) Use this property to switch the table format at any time. (Converting to a cell-based table is available only if you are connected to AR System server 7.5.00 or later.) You can switch format of a table in different views. For example, one view of a form might display a list view table, and another view might display the same table in a cell-based form. If a tree view is displayed in pre-7.0.00 BMC Remedy User, the format reverts to a table. Fixed Headers (Browser only) To prevent the table header from disappearing when users scroll down a table, set this property to True. In some browsers, editable drop-down list fields in a table might not appear correctly when this property is set to True. Horizontal Space Initial Row Selection (Cell-based only) Width of the space between columns of cells. Specify in points. Specify what happens the first time the table field is displayed: Select First, Fire WorkflowThe first row or child node is selected, and enabled workflow is executed. Select First, No WorkflowThe first row or child node is selected, and no workflow is executed. No SelectionNo item is selected. Layout Style (Cell-based only) Specifies how fields are laid out in each cell. See Panel layout styles on page 329.
Chapter 7
251
Table 7-4: Properties used for table fields (Sheet 3 of 5) Property Margin Bottom Description (Cell-based only) Space between the bottom of the cell-based table field and the last row of cells. Specify in points. Margin Left (Cell-based only) Space between the left side of the cell-based table field and the first column of cells. Specify in points. Margin Right (Cell-based only) Space between the right side of the cell-based table field and the last column of cells. Specify in points. Margin Top (Cell-based only) Space between the top of the cell-based table field and the first row of cells. Specify in points. Max Rows Enter the maximum number of records that can be returned by a search. The default is 0, which means that the number of records is unlimited unless the Limit Number of Items Returned user preference is selected.
Note: Because users can override the Max Rows setting by selecting Refresh All in
BMC Remedy User, also use an appropriate qualification to control the amount of data that can be returned by a search (see step f on page 249). Alternatively, use chunking to return all records while limiting the number of records displayed at one time. If you enable chunking, this setting is ignored. See the Size of Chunk property in this table. Next Label If chunking is enabled, specify the label that users click to proceed to the next chunk. This label does not appear if the current chunk is the last chunk. See the Size of Chunk property in this table. Panel Border Color Panel Border Thickness Panel Height Panel Width Previous Label (Cell-based only) Color of lines surrounding the cells. (Cell-based only) Dimension of lines surrounding the cells. Specify in points. (Cell-based only) Size of cells from top to bottom. Specify in points. (Cell-based only) Size of cells from left side to right side. Specify in points. (List view, cell-based, results list) If chunking is enabled, specify the label that users click to return to the previous chunk. This label does not appear if the current chunk is the first chunk. See the Size of Chunk property in this table.
252
Table 7-4: Properties used for table fields (Sheet 4 of 5) Property Refresh on Entry Change Description (Modify mode only) Specifies if table data is refreshed in these situations: A user opens the form containing the table in Modify mode. After opening the form, a user selects a different request in the results list. If users must see the contents of the table in these situations, set this property to True. To reduce performance impact, limit the use of this feature (each refresh requires a database search). When this property is set to False, users can manually refresh table data as follows: (BMC Remedy User) Clicking the table field (BMC Remedy User) Right-clicking the table field and choosing Refresh Table (Browsers) Clicking the Refresh button if the developer supplies it (see Customizing table labels on page 255) To use workflow to refresh a table field, select the Table Refresh check box when defining a Change Field active link action. See also Refreshing table fields on page 297. Refresh Row Selection Specify what happens when a table is refreshed: Retain Selection, Fire WorkflowThe current selection is retained, and enabled workflow is executed. Retain Selection, No WorkflowThe current selection is retained, and no workflow is executed. Select First, Fire WorkflowThe first row or child node is selected and enabled workflow is executed. Select First, No WorkflowThe first row or child node is selected and no workflow is executed. No SelectionNo item is selected. Row Selection Specify how users can select rows in a table: MultipleUsers with selection capability can select multiple rows at the same time. This is the default. SingleUsers with selection capability can select only one row at a time. NoneRow selection is not allowed. In this situation, users cannot Trigger active links Delete a row item Users can Scroll Sort Drill down Create a report
Chapter 7
253
Table 7-4: Properties used for table fields (Sheet 5 of 5) Property Size of Chunk Description (List view, cell-based, results list only) Use this property to return requests in groups by specifying the size of data chunks (the number of records) that can be displayed in the table: If the value is 0, chunking is disabled. To limit the number of records displayed, see the Max Rows property in this table. If the value is greater than 0, the specified number of records is displayed. For example, if you set Size of Chunk to 5, up to 5 requests are initially displayed. The Max Rows setting is ignored. To customize the labels that users click to navigate from chunk to chunk, modify the table fields Next Label and Previous Label properties.
Note: To set the chunk size of server-side tables for the entire server, use the
Configuration tab in the AR System Administration: Server Information form. See the Configuration Guide, Server InformationConfiguration tab, page 128.
Warning: For tree views, you cannot set chunking in BMC Remedy Developer Studio.
If you set chunking through the AR System configuration file (ar.conf or ar.cfg), users see only the first chunk in the tree, and they cannot display the next chunk. See the Configuration Guide, Server-Side-Table-Chunk-Size, page 390. Table Drill Down Specifies if the source request can be displayed. When this property is set to True, users can double-click the table row in BMC Remedy User or a browser to open the rows source request in Modify mode. For tree views, users must double-click a node. See also Row Header on page 256. Vertical Space Visible Columns (Cell-based only) Width of the space between rows of cells. Specify in points. (Cell-based only) Number of cells displayed horizontally in the cell-based table field. If the Layout Style property of the cell-based table is set to Fill and the table is resized in a browser, the number of visible cells can change dynamically.
254
Properties that do not apply to the type of table that you are creating do not appear in the Properties tab. You can write strings in different languages for localized form views. To remove a button, function, or message string, clear the appropriate label value.
Table 7-5: Label properties (Sheet 1 of 2) Property Auto Refresh String Location Header Description The message that appears when the Alert Refresh Interval in the Web tab of the AR System User Preference form is set to a value greater than 0. This is an informational message only. The presence of this string does not enable or disable auto refresh. For more information, see the Configuration Guide, Setting user preferences, page 81. Delete Button Footer The label for the alert delete button.
Note: Available only in a browser. In BMC Remedy User, users open the
Alert Events form or use the View Alerts option. Deselect All Footer The label of the hyperlink used to cancel all row selections. To use a select/cancel all check-box column in the table instead of the Select All and Deselect All buttons, see Adding a select/cancel all check-box column to tables on page 278. Number of Entries Returned Header The message that appears when data is loaded into the table. In forms viewed in a browser, the message is displayed in the table header. In BMC Remedy User (where there is no table header), the message appears in the status bar. You can pass these parameters to this string: {0} Starting row number {1} Ending row number {2} Total number of rows returned {3} Maximum number of rows that can be returned If chunking is not enabled, this field defaults to {2} entries returned - {3} entries matched. If chunking is enabled, this field defaults to Showing {0} - {1} of {3}.
Chapter 7
255
Table 7-5: Label properties (Sheet 2 of 2) Property Preferences Location Header Description When a value is entered in this field, a context menu is added to the table field in BMC Remedy User, and a button is added to the table header in a browser. The value becomes the label for the menu or the button. The default value is Preferences. To disable table column preferences, clear the Preferences field. When this field does not have a value, no preference menu or button appears in the table field, and users cannot set preferences for the table. See Enabling users to customize columns on page 295. Read Button Footer The label for the button used to mark an alert as read.
Note: Available only in a browser. In BMC Remedy User, users open the
Alert Events form or use the View Alerts option. Refresh Button Header The label for the refresh button. In mid tier 6.3.00 and later, the refresh button appears above the table to the right instead of in the footer as in previous versions. Report Button Row Header Footer Body The label for the report button. AR System 7.5.00This property enables developers to specify a column that uniquely identifies the data in a row when a table is displayed in a browser. User assistive technology tools read out the content of the cells in the specified column to provide context for the other data in each row.
Tip: For the best results, specify the first column in the table.
AR System 6.3.007.1.00This property is not supported. In those releases, tables in a browser behave as they do in BMC Remedy User. If users double-click a row, the selected record appears in the new window. Select All Footer The label of the hyperlink used to select all rows. To use a select/cancel all check-box column in the table instead of the Select All and Deselect All buttons, see Adding a select/cancel all check-box column to tables on page 278. Select Column Label Body (Internet Explorer only) The column header that appears above the selection column in Accessibility mode. For all other browsers not in Accessibility mode, this property is ignored at runtime. Table Not Loaded String Unread Header Footer The message that appears when a table is initially displayed. The label for the button used to mark an alert as unread.
Note: Available only in a browser. In BMC Remedy User, users open the
Alert Events form or use the View Alerts option. 3 Right-click the form, and choose Save.
256
NOTE
In cell-based tables, fields in the working cell are called cell fields. Each cell field is linked to a field on the local or remote form. Initially, all the display properties of a cell field match the display properties of the form field to which it is linked except the bounding area properties, which automatically change to reflect the cell fields position in the working cell. The cell fields Help text also matches the form fields Help text. After creating a cell field, you can change these types of field properties: display, color, font, highlight, permissions, and Help text. You cannot modify other properties, such as the data type or default value.
NOTE
In cell-based tables, only the top-left cell, called the working cell, is editable. Changes made to this cell are immediately replicated in the other visible cells. The working cell is not a separate or child field; it is an integral part of the cell-based table field.
2 In the Properties tab, set the following column properties. Table 7-6: Column properties (Sheet 1 of 2) Property Column Width Description Specify the width of the column in pixels. See also the Auto Fit Columns property on page 250.
Note: Unlike in BMC Remedy User, column size in a browser is not exact. The mid tier
tries to fit columns into the specified table width. If a columns heading and data are narrow and its specified width is wide, the mid tier might shrink the column width to accommodate other columns so that all columns can be seen. Tree views do not use this property. Column Alignment Horizontal alignment: By default, all numeric fields are right-aligned. All other fields are left-aligned. Vertical alignment: By default, all cells default to center vertical alignment.
Chapter 7
257
Table 7-6: Column properties (Sheet 2 of 2) Property Display Type Description List view, tree view, alert list, results list Select one of these options: Read OnlyUsers cannot change the field value. EditableUsers can change the value in column cells. Editing cells in a table does not affect data in the source form. On refresh or sort, changes that users make are lost, and the data displayed in the table is from the source form. Editing a table also does not affect the modify flag of the form, nor does it affect row colors. Tree views ignore this option. Read Only-HTMLUsers cannot change the field value. In a browser, data in the cell is displayed as HTML. For example, if a cell contains <b>my cell</b>, it is displayed as my cell, but in BMC Remedy User, it is displayed as <b>my cell</b>. Tree views ignore this option. If the column references a display-only field, you can specify the initial value of the column in the Initial Value field (see the following property). For more information about display-only fields, see Entry Mode on page 510. Cell-based Display Type options match the options of the external field to which the cell field is linked. Initial Value (List view, tree view, cell-based, results list) For columns, levels, and cell fields that reference display-only fields, specify the initial value, which can have up to 255 bytes. If the column, level, or cell field has a display type of Editable or Read Only, its initial value can be either text or the value from another column in the same table. If the column, level, or cell field has a display type of Read Only-HTML, its initial value can be a combination of text and column references. If Default Value is a column reference, such as $Column2$, the value in the displayonly column, level, or cell field is set to the corresponding value in that column. If the column reference is invalid, the reference is displayed as text. To specify an initial value, do one or both of the following, depending on the fields display type: Enter text into the Initial Value propertys Value cell. Select the Initial Value property, click its ellipsis button, and use the Field Selector dialog box to specify column references. Alert lists do not use this property. Name To change the column, level, or cell field database name, edit the value of this property.
Note: To change the column database ID (for example, to control the ID for purposes
of shared workflow), you must change the ID after adding the column and before saving the table field. See To add a table field to a form on page 248. Wrap Text To wrap two or more lines of data in table column fields and to allow carriage returns in row data, set this property to True. This property does not apply to tree views. Visible To hide the column, set the Visible property to False. See also Setting sort order and visible levels on page 259.
258
3 For display-only fields, optionally specify a default value in the Default Value
cell to accommodate the cell fields. For example, you can change the cells width and height by dragging its borders.
NOTE
The working cell is part of the cell-based table field; it is not a separate field. When the working cell is selected, however, the Properties view shows only the table field properties that apply to the working cell.
5 To hide the table header or footer, right-click the table, and choose Hide Header or
Hide Footer. To redisplay the header or footer, right-click the table, and choose Show Header or Show Footer.
NOTE
The default header and footer contain buttons and menus that enable users to perform table operations such as Refresh and Select All. If you hide the default header and footer, you can use the PERFORM-ACTION-TABLE-* commands to provide these table operations through custom controls. See the Workflow Objects Guide , Using Run Process and $PROCESS$ commands, page 257.
6 Set the remaining properties as necessary.
NOTE
In BMC Remedy User, you can sort on columns that reference display-only fields, but you cannot do so in a browser.
button: (List view, tree view, alert list, results list tables) Sort/Levels (Cell-based tables) Sort
3 In the Available Columns list of the dialog box, select the columns by which you
want to sort the table data. Table columns associated with character fields whose input length is more than 255 bytes do not appear in the Available Columns list.
4 Click the arrow button to move the selected columns to one of these lists:
(List view, tree view, alert list, results list tables) Sort Order/Tree Levels (Cell-based tables) Sort Order Columns that are not included in the sort order do not appear in tree view tables at runtime. They can still, however, be used in workflow.
5 Use the Up and Down buttons to set the sort order of the columns or levels.
The field that appears at the top of the list has the highest precedence.
6 To change the sort direction of a column, click its Sort Direction cell.
Clicking the cell switches the sort direction between ascending and descending. Ascending order for numeric fields means that values such as lower ID numbers or earlier dates appear at the top of the table list. Ascending order for character fields means that requests are sorted alphabetically from A to Z.
7 (Tree view only) To create hidden sort levels, select each column that you want to
hide, and click its Visibility cell. The Visibility value changes from Visible to Hidden. See Arranging nodes in tree views on page 238.
8 Click OK. 9 Right-click the form, and choose Save.
260
If a user clicks a column to sort the table, the rows within the groups are sorted.
NOTE
When you group rows in list view tables, you can set any workflow, except workflow related to table labels and workflow related to collapsing and expanding folders.
Chapter 7
261
page 248.
2 In the Properties tab, select Sort/Levels property, and click its ellipsis button. 3 In the Available Columns list of the dialog box, select the columns by which you
want to sort the table data. Table columns associated with character fields whose input length is more than 255 bytes do not appear in the Available Columns list.
4 Click the arrow button to move the selected columns to the Sort Order/Tree Levels
list.
5 Use the Up and Down buttons to set the sort order of the columns or levels.
The field that appears at the top of the list has the highest precedence.
6 To change the sort direction of a column, click its Sort Direction cell.
Clicking the cell switches the sort direction between ascending and descending. Ascending order for numeric fields means that values such as lower ID numbers or earlier dates appear at the top of the table list. Ascending order for character fields means that requests are sorted alphabetically from A to Z.
7 To group the tables rows by the data entered in a field: a If the field is not at the top of the Sort Order/Tree Levels list, move the field to
the top.
b For the field you want to use to group rows, click the check box in the Group
column. The field you select appears as a column in the table in BMC Remedy Developer Studio, but when the user opens the form in a browser, the fields data become headings for the grouped rows. For the field by which data is grouped, the following column properties are available but are ignored: Column Color Editable properties Enable Sort Visibility (must be Visible) Width Wrap Text Additionally, the following table properties are not supported for the field by which data is grouped: Checkbox Column Results Color
262
c To display a count for each group in the table, click the check box in the Count
In cell-based tables, an entire row appears in one cell. To set the background color of that cell, you specify a background color for the row.
Cell background color overrides row background color. The color that indicates a row is selected overrides cell and row background color. Best practice is to limit the use of row and cell color. Too much color defeats the purpose of this feature, which is to draw attention quickly to a noteworthy item. To set row colors, see Setting row colors on page 263. To set cell colors, see Setting cell background colors in list view tables on page 266.
Chapter 7
263
For example, you might make the background of all New requests red and the background of all Assigned requests green, as shown in Figure 7-9.
Figure 7-9: Example of row background color in a list view table
Or, as shown in Figure 7-10, you might set the text of engine parts whose status is Backordered in red to alert the assembly manager.
Figure 7-10: Example of row text color in a list view table
264
Field field.
4 In the Available Fields list of the Field Selector dialog box, double-click the name
of the selection field whose value will determine the row color. A list of all the fields selection values appears in the Results Color dialog box.
5 Specify the text color for one or more selection values: a Click the Color cell of the value, and select Custom from the drop-down list. b Choose a color from the color palette, and click OK.
values:
a Click the values Background cell, and select Custom from the drop-down list. b Choose a color from the color palette, and click OK.
Chapter 7
265
7 When you finish setting results colors for the selection field, click OK. 8 Right-click the form, and choose Save.
You can define cell background color for any column in a list view table. The color is based on the value of an associated selection field (drop-down list, radio button, or check box). For example, you might base the color of cells in a Request ID column on the forms Status field. If you set the Status selection value Rejected to red, the cells of all rejected Request IDs will be red. You can use different sets of cell background colors in each form view. If a field value changes at runtime, the table must be refreshed to update the background color.
Field field.
5 In the Available Fields list of the Field Selector dialog box, double-click the name
of the selection field whose value will determine the cell background color. A list of all the fields selection values appears in the Column Color dialog box.
266
6 Specify the background color for one or more selection values: a Click the Color cell of the value, and select Custom from the drop-down list. b Select a color from the color palette, and click OK.
NOTE
Alternatively, you can also select the table field and click on Form > Edit Menu/ Navigation Items to display the Edit Menu Bar dialog box.
5 In the Edit Menu Bar dialog box, use the Add Menu, Add Item, and Add Separator
buttons to create menus for the field. These menu items are appended to the default context menu items.
NOTE
To remove the default context menu items from the context menu, set the labels to "" in BMC Remedy Developer Studio.
6 Decide the labels, hierarchy, and order of items in the context menu. 7 Right-click the form, and choose Save.
Chapter 7
267
See Arranging fields in a form view on page 412. In a browser, all tables except tree views have space allocated at the top and bottom for buttons such as Refresh and Select All, so make the table field tall enough in BMC Remedy Developer Studio to leave room for the buttons.
4 Right-click the form, and choose Save.
form.
3 Create a Change Field action to refresh the table.
You can create active link and filter guides that loop through rows in a table. A guide selects each row in a table field (without highlighting) and performs a series of workflow actions on the row. For more information, see the Workflow Objects Guide, Using a filter guide to loop through a table field, page 160. You can also select rows and create statistics on columns such as sums, averages, maximum and minimum values, and total number of rows or total number of nonNULL values in a column. For more information about functions you can use with table fields, see the Workflow Objects Guide, Controlling row selection in a table field, page 300.
Chapter 7
269
In each table node or cell, the images can appear with or without text. When images appear with text, the images and text do not need to have a one-toone relationship. Likewise, the same text can appear with different images (see Emily in Figure 7-13 and Figure 7-14). In standard left-to-right format, images are displayed to the left of the text. In rightto-left format, images are displayed to the right of the text. You cannot change these default positions. Images are always optional. Images can be decorative, or they can convey important information (see the second level/column in Figure 7-13 and Figure 7-14). Images and their alternative text are stored with a form view, so they can be localized.
270
Image size
Best design practice is to make all images in list view and tree view tables the same size. The recommended size is 16 X 16 pixels. Images in list view tables can be any size. AR System uses them as is. Images in tree view tables must be no larger than 16 X 16 pixels. If you use other sizes, they are treated as follows: In browsers, AR System scales larger images down proportionally. For example, a 32 x 25 pixel image is scaled to 16 x 12.5 pixels. If both the height and width of an image are less than 16 pixels, AR System leaves the image as is. BMC Remedy User also scales larger images down, but the scaling is not proportional. For example, a 32 x 25 pixel image is scaled to 16 x 16 pixels. If both the height and width of an image are less than 16 pixels, BMC Remedy User leaves the image as is. Application developers must ensure that their table columns are wide enough to contain the specified images, textual data, or both. In list view tables, row height automatically adjusts to fit the tallest image. The font size, however, does not adjust to accommodate large images.
Image type
You can use BMP, JPEG, JPG, GIF, and PNG image types in both list view and tree view tables. When tree view tables with image types other than BMP are displayed in BMC Remedy User, their images are converted to BMPs. Thus, because BMPs cannot be transparent, tree view tables do not support transparent images in BMC Remedy User.
Image limitations
Images in tables can be associated only with the values in selection fields (dropdown list, radio button, and check box). For example, in a table on a default regular form, images can be linked only to the value of the Status field no matter which column they appear in. Alert lists, results lists, and cell-based tables do not support images displayed by reference. You can, however, display images in cell-based tables by adding a view field to the cell and using a template to display the image inside the view field (see Creating view fields on page 201).
NOTE
Although reserved field ID 1020 acts like a results list in web applications, it does support referenced images. You cannot configure images in tables through AR System skins.
Chapter 7 Working with tables 271
A column cannot contain both referenced images and buttons, and you cannot use the images in tables feature to display different images on buttons in the same column. For information about adding buttons that contain images to tables, see Adding buttons and URLs to tables on page 275.
Runtime images
If a selection value changes at runtime, you must refresh the table to display the image associated with the new value.
272
radio button, or check box) whose values will determine which images appear in the column selected in step 2. You can enter the name by typing it, by pasting it, or by using the ellipsis button next to the field to display the Field Selector dialog box. When you select a field, the fields selection values automatically appear in the dialog box table.
5 In the table, select the Image cell of a value with which you want to associate an
image, and click its ellipsis button. Images can be associated with the NULL value.
6 In the Image dialog box, click Select. 7 In the Object Selector dialog box, select the appropriate image, and click OK. 8 (Optional) In the corresponding Alternative Text cell, enter a description of the
with.
10 Click OK. 11 (Tree view tables only) If any levels of the hierarchy contain only images, no text: a Select the table. b On the Properties tab, enter a space in the Value column of the Display NULL
Value As property. Otherwise, the text [No Value] appears next to the images at runtime.
12 To control the sort order of the following types of levels or columns, insert a
hidden sort level or column before such levels or columns: Image-only levels or columns (see the flag level in Figure 7-15) Levels or columns in which images are the only differentiator (see the Emily nodes in Figure 7-15)
Chapter 7 Working with tables 273
See Arranging nodes in tree views on page 238. (Tree view tables only) If you do not use a hidden sort level in these situations, only the image in the first request in that level appears. For example, see Figure 7-15.
Figure 7-15: Effect of not using hidden sort levels to sort images in tree view tables
This label appears in the tree view tables root node. For example, in Figure 7-15 on page 274, Bug Fix Priority is the label of the root node.
NOTE
If the Label property does not have a value, the root node does not appear in the table. This is true even when an image is specified for the root node.
4 In the Properties tab, select the Root Node Image value, and click its ellipsis button. 5 In the Root Node Image dialog box, click Select. 6 In the Object Selector dialog box, select the appropriate image, and click OK. 7 Click OK. 8 (Optional) In the Properties tab, enter the appropriate text in the Alternative Text
NOTE
If the tree view table is converted to a list view table, the Label, Root Node Image, and Alternative Text property values are ignored.
Text button
When adding buttons to tables, consider these points: Buttons in tables can have text or images but not both. They can also be displayed as URLs in a browser. For an image button, the Button Label value is used only as a column header. To have no column header, leave this property empty. Row height is determined by the tallest button in the row. Regardless of how high a row is, text in other columns is displayed in a single line without wrapping. If you use the standard button size, rows must be higher than usual, and fewer rows might appear in the tables scrollable area. To preserve standard row height in a browser, use CSS to designate a small font for table button labels (see the BMC Remedy Mid Tier Guide, Customizing AR System style sheets, page 55). Large images on buttons can make table rows difficult to read. After adding an image to a button in a table column, check the result in a browser to make sure that the button and row text are proportional to each other and that a reasonable number of rows appears in the tables scrollable area.
Chapter 7 Working with tables 275
When users resize rows that contain buttons, the buttons are not scaled. Instead, the buttons are clipped or surrounded by extra white space. Clicking a button causes its row to be selected before any workflow fires. Therefore, the column field values can be used as parameters in workflow because they always refer to the same row in which the button click occurred. In BMC Remedy User, a table can have no more than 64 columns that contain buttons with images. This limitation applies to each view of a form.
If you select the control field, the active link will not fire when users click the buttons in the column.
NOTE
You cannot share active links between column and control fields.
276
button: (List view, tree view, alert list, results list) Tree/Table Property (Cell-based) Remote/Local Fields The Tree/Table Property or Remote/Local Fields dialog box appears.
4 In the Fields from Remote Form formName and Local Form formName list, select the
button field.
5 Use the arrow buttons to move the button field to the Table Columns list. 6 Click OK. 7 (Optional) Modify the button column heading: a On the form, select the appropriate column in the table. b In the Properties tab, edit the Label property value. 8 Modify other column properties as necessary.
All standard column properties apply to columns that contain buttons. The values for the Display Type property have these meanings: Read OnlyButton is disabled. EditableButton is enabled. Read Only-HTMLButton is enabled.
9 (Optional) Hide the button that resides on the form.
NOTE
Because rows do not appear in table list views in BMC Remedy Developer Studio, the button is not displayed inside the table at design time. At runtime, however, identical buttons appear in each row of the table.
Chapter 7
277
ellipsis button.
3 In the Tree/Table Property dialog box, find and note the name of the button field
on the form.
6 In the Properties tab, edit the following button properties as necessary:
278
When list view and results list tables are displayed in browsers, however, you can replace those buttons with a select/cancel all check-box column (see Figure 7-17).
Figure 7-17: List view table with select/clear all check-box column
TIP
Replacing the buttons with the check-box column reduces clutter in your user interface. When a table has a select/cancel all check-box column, you select rows and cancel your selections as follows: To select all rows or cancel all selections in the table, select or clear the check box in the column header. For example:
Chapter 7
279
To select adjacent rows, click anywhere in the first adjacent row, press SHIFT, and then select the check box in the last adjacent row. To select a single row when multiple check boxes are selected, click anywhere in the appropriate row. (The rows check box is not selected, but the row is highlighted and considered selected.) To select a single row when no check box is selected, click anywhere in the appropriate row. (The rows check box is not selected, but the row is highlighted and considered selected.) Whether a table contains the check-box column or not, when multiple rows are selected, the first row selected is the primary selection.
NOTE
If a table contains a significant number of rows, adding a check-box column will degrade performance.
In a browser, the table now contains a check-box column, and the Select All and Deselect All buttons do not appear in the table footer. (In BMC Remedy Developer Studio, the check-box column does not appear in the table, and the Select All and Deselect All buttons are still visible in its footer.)
NOTE
The check-box column is not backward compatible. It will not appear in pre-7.6.03 versions of AR System. Instead, the Select All and Deselect All buttons appear in the table footer.
280
NOTE
Selection fields whose Display Type is set to Editable behave the same way. The button that users click to display a drop-down menu appears only when a row is selected. For example, see Figure 7-18 and Figure 7-19.
Figure 7-18: Drop-down menu in column based on character field
Figure 7-19: Drop-down menu in column based on radio button selection field
IMPORTANT
If the number of rows exceeds the length of the table, a scroll bar automatically appears on the right side of the table. If the rightmost column contains drop-down menus, the scroll bar covers their access buttons. To avoid this, move the column away from the tables right edge or use the Max Rows or Size of Chunk table properties to prevent the number of rows from exceeding the tables length.
Chapter 7
281
Character field with an attached menu The fields Display Type property does not have to be Drop-Down List. To attach a menu to a character field, see Chapter 8, Creating menus. Selection field (drop-down, radio button, and check box) To add columns to tables, see Adding a table field to a form on page 248.
2 Select the new column. 3 In the Properties tab, set the columns Display Type property to Drop-Down
Menu.
4 Save your changes.
282
In this example, two requests exist in the Source form on the server cordova. If users open the Dynamic Table Field form in BMC Remedy User, enter cordova as the server and Source as the form, and then refresh the table field, the content of the table is refreshed by the underlying active link workflow. The table field displays the requests from the dynamically specified server and form.
NOTE
You cannot use a dynamic data source in a results list.
button: (List view, tree view, alert list, results list) Tree/Table Property (Cell-based) Remote/Local Fields The Tree/Table Property or Remote/Local Fields dialog box appears.
3 In the Data Source list, select SAMPLE DATA. 4 In the following fields, enter a server and form to use to add sample field
columns to the table: Sample Server Name Sample Form Name The sample server and form are used as temporary references to create the dynamic table field. You can even delete the sample form after saving the table field. What is important is having a sample form from which to select field columns in step 7. At design time, the sample form must contain every field that you are using in the menu. By default, the current server and form are selected. You can select a different server from the drop-down list. To select a different form, click the ellipsis button next to the Sample Form Name field, and use the Form Selector dialog box.
Chapter 7
283
5 To specify the fields or keywords (for example, $server$) that determine which
server and form are used at runtime, click the ellipsis buttons next to the following fields, and use the Field/Keyword Selector dialog box. Runtime Server Value Runtime Form Value The fields listed in the dialog box come from the sample form. If you select fields, the server and form that a user or workflow enters into those fields at runtime are used as the source server and form whose data the table displays. For the example in Figure 7-20, the Runtime Server Value field would be set to
server, and the Runtime Form Value would be set to form. 6 In the Qualification field, enter a qualification to specify the search criteria that
determines which requests appear in the table. Fields from the sample form can be used in the qualification. Conversion rules do not apply in this case.
7 Select the fields to use as columns in the dynamic table field.
Make sure you select fields that are available on any form that can be dynamically selected at runtime. Otherwise, when users refresh the table, they might receive an error that the field does not exist, and no data will appear in the table. For example, in Figure 7-20, the table includes two columns that are core fields required on every form: Request ID and Short Description.
8 Click OK. 9 Right-click the form, and choose Save.
NOTE
In this topic, row refers to a row in list view tables, a node in tree view tables, and a cell in cell-based tables.
284
Results list, alert list, and server-side tables do not support this feature.
NOTE
When you add a temporary table row, the new row does not display any cell background color. For more information, see Setting cell background colors in list view tables on page 266.
NOTE
Along with these commands, use existing workflow functionality, such as table loop guides, to create logic that can determine the row index at which to add or delete rows based on existing table data and on data to be added to the table. PERFORM-ACTION-TABLE-ADD-ROWThis command inserts an empty row at the specified position on-screen and sets the row state to New in memory. Both users and workflow can see and select the row. The new row does not display any cell background color (see Setting cell background colors in list view tables on page 266). This command does not commit the row to the database. For example, suppose this command is executed for row index 3 on a table containing the following records:
When the command runs, an empty row is added to list view, tree view, and cell-based table as shown in the following figures.
Figure 7-21: List view table with an empty row inserted at index 3
Chapter 7
285
Figure 7-22: Tree view table with an empty node inserted at index 3
PERFORM-ACTION-TABLE-DELETE-ROW On-screen, this command removes the row at the specified index from view. In memory, this command sets the rows state to Deleted. It does not, however, remove the row from the database. Hence, users cannot see or select the row, but the row is visible to workflow, which can still interact with it. For example, table loop guides can step through the row. PERFORM-ACTION-TABLE-SET-ROWSTATEThis command helps workflow manage on-screen table rows without contacting the database. For example, when a user adds an on-screen row, its ROWSTATE is set to 2 (New) in memory, so workflow designed to commit such rows to the database finds them by searching for ROWSTATE 2. To enable users not to commit such rows to the database, you might provide an Undo button whose workflow uses this command to change the state of specified rows from ROWSTATE 2 to ROWSTATE 0 (Unchanged). They are then bypassed by workflow designed to commit new on-screen rows to the database. Hence, you can undo the table row additions without calling the server and database to refresh the table. PERFORM-ACTION-TABLE-CHANGE-ROW-COL-VISIBILITYOnscreen, this command hides the contents of a column field for the current row. You can use this command for list style tables and cell-based tables only For more information about these commands, see the Workflow Objects Guide , Using Run Process and $PROCESS$ commands, page 257. For an example of how these Run Process commands can be used, see Example: temporarily displaying table rows on-screen on page 291.
286 Form and Application Objects Guide
2 If you added an empty row in step 1, use one of the following methods to add data
to the row: If the table columns are editable, instruct users to type or paste the data into the row. Use the Set Fields action in an active link. For information about Set Fields, see the Workflow Objects Guide. For special tree view table considerations, see Using Set Fields with temporary tree nodes on page 288.
3 Provide a mechanism that enables users to commit temporary table changes to the
database. For example, create a table loop guide that is triggered when a user clicks Save. The guide can check for a rows state and then take appropriate action on the row. To discover the state of a row during runtime, the guide can use the $ROWCHANGED$ keyword, which returns one of these states:
Table 7-7: Row states returned by the $ROWCHANGED$ keyword Row state Loaded or Unchanged Modified Value 0 1 Description When a table is refreshed, the state of all its rows is set to Loaded (0). When either of the following actions occurs, a rows state is set to Modified (1): A Set Fields action sets data to a Loaded row. Users type or paste data into an editable column. New (added) Deleted (removed) 2 3 When an empty row is added to a table, its state is set to New (2). When a rows state is set to Deleted (3), it is hidden from users but visible to workflow.
If PERFORM-ACTION-TABLE-DELETE-ROW set the row state to Deleted, you could run an action to delete that record from the database. If PERFORMACTION-TABLE-ADD-ROW set the row state to New, you could run a Push Fields action to add the row to the database.
WARNING
If one of the following actions occurs before the changes are saved, the changes will be lost: The table is refreshed (browsers and BMC Remedy User). The table is re-sorted (browsers only). The form is closed (AR System does not prompt users to save their changes).
Chapter 7
287
For information about using functions with the Set Fields action, see Appendix B, Additional ways to use the Set Fields action, in the Workflow Objects Guide. For information about PERFORM-ACTION-TABLE-ADD-ROW, see the Workflow Objects Guide , Using Run Process and $PROCESS$ commands, page 257.
288
The values in the subsequent Set Fields action might leave the new node in the same place, group it under the preceding parent node, or group it under the following parent node. For example, see Figure 7-26.
NOTE
In each case, before performing the Set Fields action, you must select the empty node.
Figure 7-26: Results of Set Fields action on row index 3
Set Fields does not trigger a re-sort of the underlying data set. Thus, to avoid displaying duplicate tree nodes, design your workflow with care. For example, the duplicate node in Figure 7-27 was created by inserting an empty node at index 1 and setting the node values to [Japanese, Ramen].
Figure 7-27: Duplicate nodes produced by poorly designed workflow
Chapter 7
289
290
In AR System 7.5.00 and earlier releases, moving a name between these tables required four calls to the server and database each time a name was moved. The calls performed these tasks: Deleted the name from the underlying form of the Available Employees table. Refreshed the Available Employees table to display its updated list on-screen. Added the name to the underlying form of the Team Members table. Refreshed the Team Members table to display its updated list on-screen. Now, AR System can update the on-screen results each time a name is moved between tables without making any calls to the server and database until the user decides to save her changes. At that point, calls are made only to delete and add rows because the on-screen tables are up-to-date and thus do not need to be refreshed. This reduces client/server interaction by 50 percent.
Chapter 7
291
For example, to create a team that includes Bob Burke and Fred Fairchild, a user and AR System might perform these steps:
1 UserSelect Fred Fairchild in the Available Employees table, and click the right
arrow button.
2 AR SystemOn button click, execute an active link that performs these actions: a Executes this Run Process command to delete row 6 from the Available
IMPORTANT
Row indexes do not change after a PERFORM-ACTION-TABLE-DELETE-ROW action. Thus, after step 2 is performed, no on-screen row in the Available Employees table has the index 6. If you try to delete row 6 again before committing this change to the database, nothing occurs. For information about this Run Process command, see the Workflow Objects Guide , Using Run Process and $PROCESS$ commands, page 257.
b Executes this Run Process command to insert an empty row in the Team
On-screen and in memory, the new row becomes row index 1 (currently empty). In the database, no change occurs. For information about this Run Process command, see the Workflow Objects Guide , Using Run Process and $PROCESS$ commands, page 257.
292
c Performs a Set Fields action to copy data from row 6 in the Available Employees
table to row 1 (currently empty) in the Team Members table on-screen. For information about the Set Fields action, see the Workflow Objects Guide, Specifying workflow actions, page 63. On-line, the tables now look like this:
3 UserSelect Bob Burke in the Available Employees table, and click the right arrow
button.
Chapter 7
293
4 AR SystemOn button click, execute an active link that performs these actions: a Executes this Run Process command to delete row 2 from the Available
Employees table:
PERFORM-ACTION-TABLE-DELETE-ROW AvailableEmployeesTableFieldID 2 2 is the index of the row in memory. Although the row is no longer visible onscreen, it is still accessible to workflow. In the database, no changes occur. b Executes this Run Process command to insert an empty row above row 1 in the
On-screen and in memory, the new row becomes row index 1 (currently empty), and row 1 (Fred Fairchild) becomes row index 2. In the database, no change occurs.
c Performs a Set Fields action to copy data from row 2 in the Available Employees
table to row 1 (currently empty) in the Team Members table on-screen. On-line, the form now looks like this:
5 UserClick OK to save the changes. 6 AR SystemOn button click, execute these table loop guides to commit the table
changes to the database: Table Loop Guide 1 checks the state of each Available Employee table row in memory. For each row marked Deleted (rows 2 and 6 in this example), it calls the server to remove the row from the corresponding table in the database. Table Loop Guide 2 checks the state of each Team Member table row in memory. For each row marked New (rows 1 and 2 in this example), it calls the server to add the row to the corresponding table in the database.
294
When clicked, the button displays a drop-down menu with these options: Add ColumnDisplays a list of columns that the user can add to the table. The list includes only columns that the administrator made visible and that the user previously hid (such columns have a width of zero).
NOTE
If a tables Auto Fit Columns property is set to True, the width of its columns is adjusted at runtime so that they all appear in the table. As a result, when a previously removed column is re-added to the table, its width might not match the administrator-defined width. Remove ColumnDisplays a list of columns that the user can remove from the table. This list includes only columns that the administrator made visible and whose width is greater than zero. Set Refresh IntervalSets the interval at which a tableincluding the results list paneis automatically refreshed. See Setting refresh intervals on page 297.
Chapter 7
295
ResetRestores column width, visibility, and sort order to administratordefined values. Sets the refresh interval to 0. SaveSaves the current column settings to the users preference server, making them available from a centralized location for future logins. If the user is not logged in to a preference server, this option is disabled.
This menu has a submenu that includes these options: Add ColumnDisplays a list of columns that the user can add to the table. The list includes only columns that the administrator made visible and that the user previously hid (such columns have a width of zero). Remove ColumnDisplays a list of columns that the user can remove from the table. This list includes only columns that the administrator made visible and whose width is greater than zero. Column OrderDisplays a dialog box from which users can change the order in which columns appear in the table. ResetRestores column width, column order, visibility, and sort order to administrator-defined values. SaveSaves the current column settings to the users preference server, making them available from a centralized location for future logins. If the user is not logged in to a preference server, this option is disabled.
NOTE
The standard Save operation for a request does not save table preferences. Users must select Save from the table preferences menu to save their table preferences.
296
Locale-specific refresh
To refresh tables with locale-specific information, set the table fields Use Locale property to True. Now, when the table is refreshed, the system returns only requests related to the users locale.
NOTE
In the Advanced tab of the AR System Administration: Server Information form, the Localize Server option must be selected, and the Locale field (see Locale on page 401 and page 406) must be on the form.
Chapter 7
297
298
Chapter
Creating menus
This section describes how to create and modify character field menus. The following topics are provided: About character field menus (page 300) Creating character menus (page 301) Creating file menus (page 303) Creating search menus (page 306) Creating SQL menus (page 312) Creating data dictionary menus (page 316) Refreshing menus (page 319) Adding (clear) to drop-down lists (page 319) Automatically completing menu entries (page 320) Recording menu change history (page 323) Creating help text for menus (page 324) Modifying menus (page 324) Copying menus (page 325) Deleting menus (page 325) Before performing the procedures described in this section, familiarize yourself with Chapter 5, Creating AR System forms, and Chapter 11, Types of fields.
299
NOTE
Do not confuse character field menus with menus in the menu bar used to execute active links (see the Workflow Objects Guide, Using buttons and menu bar items to execute active links, page 165) or menus in drop-down list selection fields (see Selection fields on page 376). Initially, menus appear in the Menus list of the server on which they are created. After you add a menu to a character field on a form (or to a Change Field action) that belongs to an application, the menu appears in the applications Menus list.
300
An item is added to the Label/Value list (see Figure 8-2). It has two properties: LabelThe text that appears on the menu. The default label is New Menu 0. ValueThe text that is entered into the character field when users select this menu item. The default value is New Menu 0.
Figure 8-2: New character menu
301
The maximum length is 255 bytes. The Value field applies only to selectable menu items (that is, menu items that are not parents of other menu items).
6 To add another item at the same level as the first item, repeat steps 3 through 5. 7 To create a submenu: a Select an item, and click Add Menu Item.
A subitem (child) is added beneath the selected item (parent), and a minus sign appears to the left of the parent item. The minus sign indicates a menu expanded to show its contents. A plus sign indicates a collapsed menu. Clicking either symbol switches between the two states. You can create as many as 15 menu levels (including the top level), but to enhance usability, use as few levels as possible. This figure shows a two-level menu:
NOTE
If some menu levels appear blank in the Menu editor, increase the width of the Label column until they are visible.
b Edit the subitem label and value.
302
e Click Add Menu, and replace the default label and value with BMC Remedy Data Import. f Click Add Menu, and replace the default label and value with BMC Remedy Alert. 9 You can also perform these actions:
To modify a menu item, double-click and edit its label or value. To expand or collapse all menu hierarchies, click Open All or Close All. These buttons control your view of the menu definition, not how the menu appears in the UI. (When users open menus, the submenus are hidden.) To delete a menu item, select the item, and click Delete. Child menu items are deleted when you delete the parent menu item. To reorder the menu items, select the item to move, and click Up or Down.
10 (Optional) Modify the menus change history.
Menu names must be unique on each AR System server. Names can have as many as 80 characters, including spaces. Names can include double-byte characters, but avoid using numbers at the beginning of the name.
14 Attach the menu to any character field in any form.
See Creating data fields on page 184 and Menu Name on page 521.
303
ClientFile is on the system where the BMC Remedy User client is running. This location is not supported for a browser. ServerFile is on the computer where the AR System server is running.
5 In the File Name field, enter or browse for the path and name of the plain text file
that contains the menu definition. To format this file, see the following section, Menu file format.
6 (Optional) Modify the menus change history.
Menu names must be unique on each AR System server. Names can have as many as 80 characters, including spaces. Names can include double-byte characters, but avoid using numbers at the beginning of the name.
10 Attach the menu to any character field in any form.
See Creating data fields on page 184 and Menu Name on page 521.
Unlike a file menu that is created in a text file, a dynamic menu is created in a field.
Where
label is the text that appears on the menu. A label can have a maximum of 80 characters. value is the text that is entered into the character field when users select the menu item. A value can have a maximum of 255 bytes.
To create subitems, use tabs (not spaces). Omit the value for any label that has subitems. This example shows a formatted menu structure with three main items, two of which have subitems:
Consulting Services\Consulting Services Training Administrator\Administrator Training User\User Training Support Standard\Standard Support Priority\Priority Support
You can create as many as 15 levels of menus (including the top level). To enhance usability, use as few levels as possible. A parent item can have as many as 99 sub-items.
305
If you insert a pound sign (#) at the beginning of a line of text, the text that follows the pound sign is ignored.
NOTE
A menu file for a Unicode system must use the encoding used by that system. A menu file stored on a Unicode AR System server must be a UTF-8-encoded text file without the byte-order mark. You can prepare a text file with a Unicode text editor and then remove the first three bytes (hexadecimal EF BB BF) using a byte editor.
You can create a hierarchical search menu by defining up to five levels. Permissions are verified at the time of the search, so users can see only the items for which they have permission.
306
SERVERThe menu displays data from the server specified in the Server field and from the form specified in the Form Name field. SAMPLE DATAThe menu displays data from a server and form that are dynamically selected at runtime according to values that users or workflow enters in certain fields. See Creating dynamic search menus on page 310.
5 In the Server list, select the server that contains the form to search. 6 Click the ellipsis button next to the Form Name field.
307
7 In the Form Selector dialog box, select the form to search, and click OK.
To shorten the list of available forms: In the Name field, enter the initial letters of the form name. In the Application field, select the appropriate application. To find a form in the Available Forms list, perform one of these actions: Scroll through the list. In the Locate field, enter the first characters of the form name.
8 Select the fields whose values will be used as menu items: a Click Add. b In the Field Selector dialog box, select one or more fields to use as menu items,
and click OK. To shorten the list of available fields, enter the initial letters of the field name in the Name field. To find a field in the Available Fields list, perform one of these actions: Scroll through the list. In the Locate field, enter the first characters of the field name. The field appears in the Label Fields list.
c To change the position of the fields in the menu hierarchy, select a field in the
Label Fields list, and click Up or Down. The first fields values are the first-level menu items, the second fields values are the second-level menu items, and so on. Only the first 80 characters of each field value are displayed. In multilevel menus, items in all levels (except the last level) that do not have a value appear blank. If the last-level menu item does not have a value, it does not appear. In single-level menus, if the first or last item does not have a value, it does not appear. If items in the middle of the menu do not have values, they appear blank.
9 Click the ellipsis button next to Value Field. 10 In the Field Selector dialog box, select the field that contains the information to
load into the field when users choose a menu time, and click OK. The maximum length of Value Field is 255 bytes, of which one byte is reserved for the terminating NULL (\0) character. Therefore, in case of locales that use singlebyte characters, this field displays 254 characters. In case of locales that use multibyte characters, this field displays the maximum number of characters that fit into 254 bytes. For example, if your locale uses double-byte characters, the View Field menu displays only 127 characters.
308
SelectedMenu items appear alphabetically. Identical menu items are combined. For example:
Cleared (default)Menu items appear in the order that they are retrieved (that is, the form default sort order). Identical menu items are not combined. For example:
When a search menu has a long character field (CLOB column) as a menu label, make sure that the Sort On Label check box is cleared because the database does not support sorting on CLOB columns.
309
12 To limit the requests that are included in the menu, click the ellipsis button to the
right of the Qualification field, and use the Expression Editor to create a qualification statement. Make the qualification as specific as possible to avoid creating a menu with an unmanageable number of items. You can use fields from the form specified in the Form Name or Sample Form Name field. You can also use keywords. When referencing the value of a field in the specified form, you must use the $fieldID$, not the field name. For example:
'Problem Summary' = $8$
NOTE
If the qualification includes a field value from the specified form, you cannot use the character field pattern $MENU$ for any field to which the menu is attached. Because the server cannot resolve the field references, that value is always rejected. For more information about building qualifications, see the Workflow Objects Guide, Building qualifications and expressions, page 49.
13 (Optional) Modify the menus change history.
Menu names must be unique on each AR System server. Names can have as many as 80 characters, including spaces. Names can include double-byte characters, but avoid using numbers at the beginning of the name.
17 Attach the menu to any character field in any form.
See Creating data fields on page 184 and Menu Name on page 521.
310
In this example, two requests exist in the Help Desk Request form on the server cordova. If users open the Dynamic Search Menu form in BMC Remedy User, enter cordova in the server field and Help Desk Request in the form field, and then click the search menu button attached to the Submitter field, the search menu queries the Help Desk Request form on the source server (cordova), and the returned values are used to dynamically add items to the search menu (Joe User and Josephine User).
menu: Sample Server Sample Form Name The sample server and form are used as temporary references to create the dynamic search menu. You can even delete the sample form after saving the menu. What is important is having a sample form from which to select Label and Value fields in step 7. By default, the current server is selected. You can select a different server from the drop-down list.
311
To select a form, click the ellipsis button next to the Sample Form Name field, and use the Form Selector dialog box. To shorten the list of available forms in the Form Selector dialog box: In the Name field, enter the initial letters of the form name. In the Application field, select the appropriate application. To find a form in the Available Forms list, perform one of these actions: Scroll through the list. In the Locate field, enter the first characters of the form name.
6 To specify the fields that determine which server and form are used at runtime,
click the ellipsis buttons next to the following fields, and use the Field Selector dialog box. Runtime Server Runtime Form Value The fields listed in the Field Selector dialog box come from the sample form. To shorten the list of available fields, enter the initial letters of the field name in the Name field. To find a field in the Available Fields list, perform one of these actions, scroll through the list or enter the first characters of the field name into the Locate field. At runtime, the server and form that a user or workflow enters into the specified fields are queried to dynamically build the search menu. For the example in Figure 8-6, the Runtime Server field is set to server, and the Runtime Form Value is set to form.
7 Go to step 8 on page 308 in To create a search menu, and perform the remaining
312
contains the information to display as menu item labels. To create a hierarchical menu, enter up to five index numbers separated by commas. The first number becomes the first level, the second number the second level, and so on. Only the first 80 characters of each field value are displayed. In multilevel menus, items in all levels (except the last level) that do not have a value appear blank. If the last-level menu item does not have a value, it does not appear. In single-level menus, if the first or last item does not have a value, it does not appear. If items in the middle of the menu do not have values, they appear blank.
6 In the Value Index field, enter the numerical index of the database column that
contains the information to load into the field when users choose a menu item. Only the first 255 bytes of each field value are displayed.
313
7 Click the ellipsis button next to the SQL Query field, and use the Expression Editor
to build the SQL query to issue to the database to create the menu. For more information, see the Workflow Objects Guide, Using the expression editor and content assist, page 50. Consider these tips when building the query: You can enter only one query for each menu. You cannot enter two queries separated by a semicolon and have both queries run. To run a set of queries, you must create a stored procedure or function and run that. Because AR System does not verify the validity of your query, run the query directly against the database (as a test) before you enter it into the SQL Query field, and then copy and paste the tested query into the SQL Query field. If the query returns unexpected values or results, turn on SQL logging in the database to debug the SQL syntax. An additional debugging strategy is to start an SQL interpreterfor example, isql for Sybase, SQL*Plus for Oracle, Command Center for DB2, or Query Analyzer or Microsoft ISQL/w for Microsoft SQL Serverand enter the same SQL query directly into the database to see what results are returned. If the SQL operation fails, an AR System error message and the underlying database error message appear. You can greatly affect database performance by the way that you write an SQL query. If a row has many columns, a SELECT * SQL command can have a greater performance impact than if you select specific columns. For more information, see your relational database documentation. See also Database security issues on page 316.
NOTE
If the query includes a field value from the specified form in its WHERE clause, you cannot use the character field pattern $MENU$ for any field to which the menu is attached. Because the server cannot resolve the field references, that value is always rejected.
8 (Optional) Modify the menus change history.
Menu names must be unique on each AR System server. Names can have as many as 80 characters, including spaces. Names can include double-byte characters, but avoid using numbers at the beginning of the name.
12 Attach the menu to any character field in any form.
See Creating data fields on page 184 and Menu Name on page 521.
314 Form and Application Objects Guide
Entering 2 into the Label Index List field creates a menu with the contents of the FIRST_NAME column as its menu items (see Figure 8-9).
Figure 8-9: Menu created by the sample SQL query
Entering 1 into the Value Index field inserts values from the BUG_ID column into the field. For example, if a user chooses John from the menu, the BUG_ID value associated with John is entered into the field (see Figure 8-10).
Figure 8-10: Field value if Value Index is set to 1 in sample SQL menu
Entering 3 into the Value Index field inserts values from the TECHNCN column into the field (see Figure 8-11).
Figure 8-11: Field value if Value Index is set to 3 in sample SQL menu
315
Entering 2,3 into the Label Index List field creates a hierarchical menu (see Figure 8-12).
Figure 8-12: Hierarchical SQL menu
If you run AR System as one of these users without permission to access the database, you cannot issue the SQL query. To access nonAR System databases, use the database name as part of the SQL query syntax. For example, for a Sybase or Microsoft SQL Server database:
databaseName.owner.table acme.ARAdmin.CUSTMR_INFO
dataDictionaryMenuType, where dataDictionaryMenuType is one of these values: Field Data Dictionary MenuThe menu pulls labels and values from field objects in the data dictionary. Form Data Dictionary MenuThe menu pulls labels and values from form objects in the data dictionary.
316
2 Select the server on which to create the menu, and click Finish.
A new data dictionary menu appears as shown in Figure 8-13 and Figure 8-14.
Figure 8-13: New field data dictionary menu
You must have administrator permissions to the specified server. You can also enter a field ID, such as $fieldID$, so that the value in that field is used as the server name at runtime.
5 In the Label Format list, select a format for menu items:
NameThe name of the object in the database. LabelThe label displayed for the object in the client. IDThe ID of the object.
317
6 In the Value Format list, select a format for displaying values in the field to which
the menu is attached. You can specify the value name, label, or ID in various formats, such as plain (Name), or enclosed in single quotation marks (Name) or dollar signs ($Name$). You can specify pairs of values separated by semicolons, for example, ID;Label or ;Name;Label.
7 Select the object type to pull data from.
dialog box to select the form that contains the fields to pull data from. To shorten the list of available forms: In the Name field, enter the initial letters of the form name. In the Application field, select the appropriate application. To find a form in the Available Forms list, perform one of these actions: Scroll through the list. In the Locate field, enter the first characters of the form name.
b In the Field Type area, select one or more field types.
The menu will be constructed from fields that match the selected types. For form data dictionary menus:
a In the Form Type list, select the type of form to pull data from.
The menu will be constructed from fields that match the selected types.
b To display hidden forms matching the form type, select the Show Hidden Forms
check box.
8 (Optional) Modify the menus change history.
Menu names must be unique on each AR System server. Names can have as many as 80 characters, including spaces. Names can include double-byte characters, but avoid using numbers at the beginning of the name.
12 Attach the menu to any character field in any form.
See Creating data fields on page 184 and Menu Name on page 521.
318
Refreshing menus
Refreshing menus
For all menu types except character menus, you must set a refresh mode: On ConnectRetrieves the menu when the user opens the menu after selecting the form. To update the menu, the user must reopen the form. On OpenRetrieves the menu each time the user opens it. Frequent menu retrieval can slow performance, so select this option only when it is critical that the menu be up-to-date. On 15 Minute IntervalRetrieves the menu when the user first opens it and when 15 minutes have passed since the last retrieval. Balances the need to be current and the expense of constant menu retrieval. For a browser, this option behaves the same as On Open. Refresh modes affect only a menus contents, not its definition. The definitions of all menus are updated every time you reconnect to a form.
NOTE
Character menus are static, so they are not refreshed.
At runtime, the (clear) item will appear on the drop-down list in all modes.
319
NOTE
You cannot remove (clear) from drop-down lists in Search mode.
At runtime, the (clear) item will appear on the drop-down list in Search mode only.
By default, the suggestion list is case-insensitive, and it displays the value of the option, not the label. (You can change the configuration so that the menu's labels are displayed instead of its values.)
NOTE
The results in the suggestion list can differ among databases. For example, for an Oracle database, the results are case sensitive by default. For other databases, the results are case insensitive. This feature applies only to forms viewed in a browser (not BMC Remedy User).
320
Remember these tips when configuring workflow with character fields that have the automatic complete feature turned on: The Menu/Row/Level Choice workflow condition executes when auto complete is used to fill in the value. If workflow manipulates values of menu selections, you might want to configure auto-complete to show labels rather than values so that the workflow runs properly. The Return/Table or Level Dbl-Clk workflow condition does not run when the user presses Enter as part of the Auto Complete feature (that is, when the selection list is displayed). At other times, the workflow condition executes normally. For more information, see the Workflow Objects Guide.
fields with a search menu attached. The property is ignored for all other fields.
321
Description Determines whether the menu box is displayed (False) or hidden (True). The default is False. For large data sets, set this option to True so that users cannot open a menu. Instead, the menu data is used for auto-completion purposes only.
Determines whether menu values or labels are displayed. The options are: Value (the default)Menu values are displayed and used for matching while typing, as well as for completion. LabelMenu labels are displayed and used for matching while typing, but the menu value is used for completion. (This option is not normally used unless workflow on menu choice operates on the value, but you want to show the label to the user.)
NOTE
At runtime, users can disable auto-complete by pressing Escape while typing in a character field. Auto-complete remains canceled until the field loses focus; it is reenabled the next time the field gets focus.
following values: Value (the default)Menu values are displayed and used for matching while typing, as well as for completion. LabelMenu labels are displayed and used for matching while typing, but the menu value is used for completion. (This option is not normally used unless workflow on menu choice operates on the value but you want to show the label to the user.)
322
Workflow considerations
Remember these tips when configuring workflow with character fields that have the automatic complete feature turned on: The Menu/Row/Level Choice workflow condition executes when auto complete is used to fill in the value. If workflow manipulates values of menu selections, you might want to configure auto-complete to show labels rather than values so that the workflow runs properly. The Return/Table or Level Dbl-Clk workflow condition does not run when the user presses Enter as part of the Auto Complete feature (that is, when the selection list is displayed). At other times, the workflow condition executes normally. For more information about workflow conditions, see the Workflow Objects Guide.
323
Modifying menus
Use this procedure to modify a menu.
To modify a menu
1 In AR System Navigator, expand serverName > All Objects. 2 In the All Objects list, double-click the Menus node. 3 To rename the menu: a In the Menus object list, right-click the menu, and choose Rename. b In the Rename Menu dialog box, enter a new name, and click OK. 4 To change the menu type: a In the Menus object list, right-click the menu, and choose Convert Menu To >
For information about those fields, see one of these sections: Creating character menus on page 301 Creating file menus on page 303 Creating search menus on page 306 Creating SQL menus on page 312 Creating data dictionary menus on page 316
6 Choose File > Save.
324
Copying menus
Copying menus
When you save a menu under a different name, the new menu contains all the properties of the original menu. The only difference is the name.
To copy a menu
1 In AR System Navigator, expand serverName > All Objects. 2 In the All Objects list, double-click the Menus node. 3 In the Menus object list, double-click the appropriate menu.
Deleting menus
The delete operation is permanent and cannot be undone. You cannot delete a menu that is open in BMC Remedy Developer Studio.
To delete a menu
1 In AR System Navigator, expand serverName > All Objects. 2 In the All Objects list, double-click the Menus node. 3 In the Menus object list, right-click the menu, and choose Delete. 4 In the confirmation message, click OK.
The menu is deleted from the database and the Menus object list.
325
326
Chapter
This section describes how to create and modify panel fields. The following topics are provided: About panel fields (page 328) About panels (page 328) About panel holders (page 328) About floating panels (page 333) Creating panel holders and panels (page 336) Modifying panel holders and panels (page 342) Shared fields in panel holders (page 349) Avoiding scroll bars in panels (page 349) Workflow considerations for panels (page 358)
327
About panels
A panel is a container object that enables an application designer to group fields together on a form. Unlike trim boxes, which provide only visual grouping for fields, panels provide visual grouping and true container functionality.
Figure 9-2: Panel
To style a panel, you can use many field properties: background color, including gradient fill; background image, including tiling and filling; opacity (transparent or opaque); border thickness; border color; and rounded corners (browsers only).
Users without permission to the panel holder cannot see the panels or the fields in them. Users with permission to the panel holder but not to a panel cannot see any fields on the panel for which they lack permission. See Panel field permissions properties on page 35. AR System provides several options for configuring the layout and behavior of panel holders and the panels in them: You can configure panel holders so that multiple panels are tabbed, stacked to be visible at the same time (and can be collapsed or expanded), or in an accordion display that shows only one panel at a time. You can create panels with a splitter that can be dragged to control the relative sizes of adjacent panels. Panels can have a header area, in which you can specify a header color and add header text in a specified font. (On some browsers, using a large font for header text will cause the header label to wrap.) A panels contents can be configured to enable its size to be changed dynamically. These display options enable you to make better use of screen space and remove clutter on the screen.
NOTE
In a browser, a panel is positioned using absolute positioning. For optimal appearance, all fields in a panel should share a common style class to enable simultaneous and consistent styling of the fields when customized Cascading Style Sheets are used.
XY layout (default)
In XY layout, fields have a set location specified by X and Y coordinates, as well as a width and height. In earlier releases, the only way containers could determine where to place fields within them was to use these absolute positions and sizes. This layout style is now the default for each container.
329
Fill layout
Fill layout is applicable only to forms viewed in a browser; it is ignored in BMC Remedy User and not displayed at design time in BMC Remedy Developer Studio. At runtime, this style enables The screens layout to be automatically readjusted when the browser window changes its size The contents of panels in a splitter panel holder to re-adjust their layout when a user moves the splitter When fill layout is used, the container ignores the fields XY width and height properties at runtime. Instead, each field takes up the containers entire width. The containers height is equally divided by the number of visible contained fields (for example, if you have three fields, each one gets 33% of the containers height). The first field is placed at the 0,0 location and the remaining fields appear in sequence in a vertical orientation. Typically, you place one field in a container that uses fill layout, and that field gets 100% of the width and height. Using fill layout for a form view enables the screen to dynamically adjust to changes in the browser window size. Typically, the view contains a single panel holder. Setting a panel to fill layout is useful in these situations: The panel contains a nested panel holder. The panel contains a fieldsuch as a list view table, tree view table, form view, or data visualization fieldthat can make good use of resizing. You can select fill layout for a panel either by setting the Layout Style property to Fill or by right-clicking the panel and choosing Apply Fill Layout from the menu. The Apply Fill Layout menu selection is available only for standalone panels or panels in panel holders; it is not available for views. If you use fill layout for a panel that includes a table, set the Auto Fit Columns property to False to enable all columns in the table to be visible with a horizontal scroll bar if the table size is larger than the container size.
NOTE
Because BMC Remedy User ignores the fill layout style, use care when selecting the fill layout style for applications that will run in both BMC Remedy User and a browser. Make sure that the absolute positions and the dynamic behavior work correctly in both clients.
330
Flow layout
Flow layout enables you to left-align fields in a panel, and ensure that the fields are equally spaced vertically. This is helpful when you include rich-text-formatting (RTF) fields to be dynamically resized in panels. As the field expands or contracts as the user enters text, all of the fields move up or down vertically. See Adding rich-text-formatting capabilities to a character field on page 186.
NOTE
If you use flow layout in a tabbed panel, background images are shifted from their specified vertical and horizontal position (for example, top-left) to an incorrect position when the form is displayed in a browser. For more information about tabbed panels, see the following section.
Tabbed
In a tabbed display, only one panel in the container is visible at a time. To view each panel, users click its tab or press the Tab key. Only the horizontal orientation is available for tabbed panel holders. Tabbed panel holders do not have Border Thickness or Border Color properties.
Figure 9-3: Tabbed panel holder
If a tabbed panel holder has more tabs than fit in one row, BMC Remedy Developer Studio and BMC Remedy User display the tabs in two or more rows. In browsers, multiple rows of tabs are not supported. Instead, if the number of tabs exceeds the width of the panel holder, left and right arrows appear. Users click the arrows to scroll to the tabs that extend beyond the width of the holder. The focus remains on the current panel when scrolling occurs.
331
Collapsible (stacked)
In a collapsible display, multiple panels in a panel holder can be viewed at the same time, either horizontally or vertically. By default, if a collapsible panel holder contains space that is not allocated to a panel, the extra space is added to the bottom or right-most expanded panel in the holder. This prevents white space from appearing in the holder itself. In addition, you can control the allocation of extra space by assigning priorities to panels (see Distributing slack to avoid scroll bars on page 350) and by using the Fit to Content property (see Using Fit to Content to dynamically resize panels on page 355). At design time, collapsible panels appear to have a fixed size. But at runtime, as various panels in the holder are expanded and collapsed by users or hidden and unhidden by workflow, the other panels in the holder shrink and expand to accommodate the changing space in the holder. This can create visual differences between panels at design time and runtime.
Figure 9-4: Collapsible (stacked) panel holder
Splitter
In a splitter display, multiple panels in a container can be viewed at the same time, either vertically or horizontally, and can be dynamically resized by dragging a splitter control on either side. By default, if a splitter panel holder has two panels, the first panel gets all the extra space. (For information about allocating space among panels, see Avoiding scroll bars in panels on page 349.)
Figure 9-5: Splitter panel holder
332
Accordion
In an accordion display, the content of only one panel in the panel holder visible at a time. Only the headers for the remaining panels are visible. At runtime, when you click a panel header, that panel is expanded to display its contents. If another panel was open, it is automatically collapsed and only its header is visible.
NOTE
Headers cannot be hidden in accordion displays.
Figure 9-6: Accordion panel holder
334
How the panel is invoked Through a Change Field active link action. The panel can be made initially visible. How the panel is dismissed Through a Change Field active link action.
The panel must be The panel must be initially hidden (enforced initially hidden (enforced at design time). at design time). Through a Change Field active link action. Through a Change Field active link action or a mouse event outside panel area. Keyboard users can press ESC to dismiss the panel.
Located relative to the event that triggered the workflow. (For example, If one dialog floating if a user clicked a link on panel triggers another dialog floating panel, the the form, and that click subsequent panel will not triggered workflow, the panel would appear just be exactly centered. below the field.) Centered relative to the view.
335
Table 9-1: Characteristics of floating panels (Sheet 2 of 2) Behavioral aspect Allowing users to resize the panel Modeless floating panel Users cannot resize the panel. Dialog floating panel Tooltip floating panel
Users cannot resize the To allow users to resize panel. the panel, set the Minimum Height and the Minimum Width properties to an integer greater than 0. (A resize handle appears in the lower-right corner of the panel.) Users can move the panel. Users cannot move the panel. See Moving the panel on page 336. Grayed out Normal
Users cannot move the panel. Normal Keyboard and mouse events are passed to underlying objects.
A click mouse event Keyboard and mouse events are blocked outside outside of the panel area dismisses the panel. of the visible area of the panel.
Workflow that is invoked Workflow does not pause, Workflow that is invoked does not pause when the and users cannot start does not pause when the panel is displayed. new workflow from the panel is displayed. base layer.
Note: If the base form has
For information about panel holder types, see Panel holder display types on page 331. The new panel holder appears on the form. By default, it contains two panels. To add more panels, see Adding a panel to a panel holder on page 341.
336
panels in it. To select collapsible, splitter, and accordion panel holders, move your mouse over the panel holder, and click the grabber that appears at the top of the holder. To select tabbed panel holders, click the holders dashed frame.
2 Assign permissions for the panel holder by selecting Permissions from the
Properties.
NOTE
To view or change the panels at runtime, users must have permission to access the panel holder. See Panel field permissions properties on page 35.
3 Set other panel holder properties as needed.
NOTE
For tabbed panel holders, if you set the Tabless Borderless property to True, BMC Remedy User displays the panel holder with a border and very small tabs without labels. If any of the panels have rounded corners, the panel border is visible. To enable users to navigate from one tabless panel to another, you must create workflow. See Workflow considerations for panels on page 358.
Creating panels
You can place a panel anywhere on a form outside of a panel holder, or you can add panels to a panel holder.
To create a panel
1 Open the form to which you want to add a panel. 2 In the palette, select Panel, drag to the form, and release the mouse where you want
337
NOTE
If you do not save the form after adding a panel, the label value also becomes the fields database name (Name property).
3 To specify a custom database ID, modify the ID property before saving the panel. 4 Set permissions for the panel.
NOTE
Users must have permission to view or change the fields in a panel. See Panel field permissions properties on page 35.
5 Set other panel properties as needed:
Field properties See Appendix D, Field properties. This appendix provides brief descriptions of field properties for all AR System forms. The properties are listed in alphabetical order. Background modeSee Background Mode in panel holders on page 344. Color optionsSee Setting color options for panels and panel headers on page 345. Images in panelsSee Adding an image to a panel on page 346. Rounded cornersSee Applying rounded corners to a panel on page 348. Anchoring fields to the right side of a panelSee Anchoring fields to the right side of a form or panel on page 420.
6 Save the form.
338
For the first panel: Make sure that it is a fixed width that is sufficient for the content (for example, a cell-based table). This is done by setting the Initial Size, Maximum Size, and Minimum Size properties equal to the same value. Set the Slack Distribution Order to 10 (a relatively low priority). Turn off the built-in header. (Set the Header State property to Hidden.) Set the Border Thickness property to 0. Set the Background Color property as needed. For the second panel (which is the side bar): Make sure that it is fixed width. Make sure it contains: Vertically-oriented text trim (optional) A close button (If this is not available to users, they will not be able to close the panel.) An expand button
2 To position the panel holder, set the X property to 0, and set the Y property as
needed. The panel holder can be contained by a panel field (such as a body area) or by the entire view (if the location must be maintained even if the header area of the view changes dynamically).
3 Set the panels Float Style property to Modeless. 4 Create the content of the panel (for example, add a cell-based table or any other
fields). To move an existing field to a panel, select the field, right-click, and choose Move Field To. Then, select the panels name from the dialog box that appears, and click OK.
5 Create workflow to:
Alternately hide and show the correct button (close or expand), depending on the state of the panel. Expand or collapse the first panel when the buttons are clicked. Refresh the content (if the panel includes a table). The workflow can be invoked when the window is loaded, or when the panel is expanded. Using a temporary variable, workflow could be invoked only the first time that the panel is expanded.
339
The panel is displayed in zoom mode (as shown in Figure 9-10), and the panel does not appear on the form. To return to the form, click Back to View. To work with the panel again, select it from the Outline view.
Figure 9-10: Panel in zoom mode
3 To allow the panel to be resizable, set the Minimum Height and Minimum Width
To move an existing field to a panel, select the field, right-click, and choose Move Field To. Then, select the panels name from the dialog box that appears, and click OK.
5 Create buttons for actions in the dialog box (for example, Previous, Next, OK,
Cancel, or Close).
6 Create a Change Field active link action that opens the panel (for example, when a
340
The panel is displayed in zoom mode (as shown in Figure 9-10), and the panel does not appear on the form. To return to the form, click Back to View. To work with the panel again, select it from the Outline view.
3 Create the content in the panel.
To move an existing field to a panel, select the field, right-click, and choose Move Field To. Then, select the panels name from the dialog box that appears, and click OK.
4 Create a Change Field active link action that opens the panel (for example, when a
For example, you might add a Close button. (Note that any mouse action outside of the tooltip will close it, so a Close button is not necessary.)
341
5 Set permissions for the new panel by selecting Permissions and clicking the ellipsis
button.
6 Set other properties for the new panel as needed by selecting the panel and editing
the relevant properties. For more information, see Appendix D, Field properties.
IMPORTANT
To specify a custom database ID (for example, to control the ID for purposes of shared workflow), change the default ID before saving the panel.
its ellipsis button. In the Panels dialog box, the Panels in Current View column lists the order in which panels currently appear in the panel holder.
Figure 9-11: Panels dialog box
3 Select a panel, and click Up or Down to change its order. 4 Click OK.
342
3 In the Move Panel to Other Panel Holder dialog box, select the new location for the
panel. If you select a panel holder, the panel becomes the last panel of that holder. If you select another panel or a view, the panel becomes a standalone panel on the selected container.
The panel is removed only from the current view of the form. If the form has only one view, the panel is deleted.
4 Click OK.
343
A panel holders Background Mode also applies to any white space areas, which are portions of the panel holder unoccupied by a panel. This white space can include The area created outside the panel borders when margins are set The area of the panel holder that has no panels The area below the last panel in a collapsible panel holder The area that appears when all the panels in a panel holder are collapsed
Figure 9-14: White space created by panel margins
344
NOTE
Gradient effects are ignored in BMC Remedy User. In tabbed panel holders, colors selected for panels are not applied to the tabs themselves. The background color of the selected tab is white, unless another color is selected for the tab by using Cascading Style Sheets. You can set a color for the tab label text.
click OK.
4 Click OK to close the Custom Color dialog box.
The gradient options become available in the Custom Color dialog box.
Figure 9-15: Gradient options
345
4 (Optional) To change the target color, click Color in the Target Color field, and
Linear HorizontalThe gradient effect starts with the primary color at the top and goes to the target color at the bottom of the panel. Linear VerticalThe gradient effect starts with the primary color at the left side and goes to the target color at the right side of the panel. Reflected HorizontalThe gradient effect starts with the primary color at the top and bottom and goes to the target color at the center of the panel. Reflected VerticalThe gradient effect starts with the primary color at the center and goes to the target color at the top and bottom of the panel.
6 Click OK.
NOTE
BMC Remedy User does not support semitransparent colors. If the setting is 0, the color is fully transparent; if the setting is greater than 0, the color is fully opaque.
NOTE
Opacity settings for the panel do not affect the opacity of the image. An images opacity is determined by the settings applied in the tool used to create the image.
346
To create a border with the same number of pixels on all sides, enter a single number of pixels, which will be applied to all borders. To create a border with varying thicknesses, enter the number of pixels for each side in the following order: Top, Right, Bottom, Left. Separate each entry with a comma. Enter 0 to have no border. For example, to create a panel with borders that are 2 pixels thick on the right and left and 5 pixels thick on the top and bottom, enter 5,2,5,2. To create a panel with no borders on the top and bottom and borders that are 3 pixels thick on the right and left, enter 0,3,0,3.
NOTE
You can control individual borders on panels with square corners. For panels with rounded corners, you can set only one border thickness. If you enter a list in the Border Thickness property (for example, 2,5,2,5), the first number is used.
347
NOTE
Rounded corners are not displayed in BMC Remedy Developer Studio, in BMC Remedy User, or when a panel has a background image.
348
NOTE
If you remove a shared field from a panel, you cannot make it shared again using BMC Remedy Developer Studio.
349
Even if you enlarge the panel holder to accommodate more content, individual panels still might display scroll bars. The following sections explain how to avoid scroll bars in panels: Distributing slack to avoid scroll bars on page 350 Using Fit to Content to dynamically resize panels on page 355 Avoiding scroll bars in view fields on page 357 Including space for panel elements to avoid scroll bars on page 357
350
NOTE
Slack is available only on forms displayed in a browser. BMC Remedy User ignores slack values. The slack distribution order value is a positive number between zero and 100. The higher the number, the lower the priority for allocation of slack. A value of zero (the default) is the highest slack distribution order.
Figure 9-19: Slack distribution order
The panel with the highest priority gets the slack, up to the maximum size set in the panels properties (Figure 9-19). A panel with a dynamic maximum size gets slack until all of its contents fit in the panel without a scroll bar appearing. Any remaining slack is distributed to the next visible panel in the slack distribution order. Panels in a panel holder with the same slack order have slack allocated or denied in a round-robin fashion until all the panels reach their maximum size.
351
In this example All panels are set to the default properties. All panels have the same slack distribution order, so the 150 pixels of available slack is allocated to the last visible panel (for a collapsible panel holder) or the second to last visible panel (for a splitter panel holder).
352
In this example Panel 1 has the highest slack distribution order. Panel 1 is allocated 100 pixels of the available slack to equal its maximum size of 200 pixels. The remaining 150 pixels of slack (250 - 100 = 150) is allocated to panel 2. Panel 2, with a maximum size of 150 pixels, uses 50 pixels of slack. Panel 3, with a maximum size of 200 pixels, is allocated the remaining slack.
In this example Panel 3 has the lowest slack distribution order, so it is resized to eliminate the negative slack which, in turn, eliminates the scroll bar.
NOTE
A panel is never resized to an amount below its minimum size.
353
What type of content will the panels hold? For example: If all the panels in a panel holder have the same type of content and the importance of each panels content is equal, you can allocate the same slack order to all the panels. If a panel is used for a list of links, you might want to give that panel more slack and to set the Fit to Content property to True to avoid unneeded white space in the panel and to keep the panels appearance consistent if links are added or removed. If a panel has a table in which you want users to see the content with little or no scrolling, give that panel the highest slack order. Figure 9-20 and Figure 921 show a panel whose scroll bars were eliminated by allocating a high slack distribution order to the panel.
Figure 9-20: Table in a panel with scroll bars
Figure 9-21: Assigning a higher slack order to the panel to remove scroll bars
354
355
Figure 9-23 shows the panel after it was resized, which removed the scroll bar.
Figure 9-23: Panel resized to remove scroll bar
Consider the following points when using the Fit to Content option: It includes hidden fields. It is available only to collapsible panels. It can be used to allocate positive slack.
356
vertical (to eliminate vertical scroll bars) or horizontal (to eliminate horizontal scroll bars). To enable a panel to be resized to fit to its content, set the Scroll Bar property for the view field to Default. If the setting is Hide, the scroll bars are already hidden. A panel can grow only to its maximum size.
For example, suppose you create a borderless panel holder that has 9-pixel margins on all sides and whose panels cover all its remaining space. If you then make the 1-pixel borders visible, you must change the thickness of all the margins to 8 pixels to prevent scroll bars from appearing in the panel holder.
357
358
10
Chapter
This section describes how to create and modify image objects. The following topics are provided: About images (page 360) Using backslashes in image object names (page 361) Creating image objects (page 361) Working with image objects (page 362) Adding background images to fields and form views (page 363) Using transparent images (page 365)
Chapter 10
359
About images
An image object is an image stored in the AR System database with information defining the image as an AR System object. The image object type appears in the AR System Navigator pane at the end of the All Objects list (see Figure 10-1).
Figure 10-1: Image objects in BMC Remedy Developer Studio
You can use images as backgrounds for form views and certain field types, including buttons, panels, and cell-based tables. To use the same image in multiple locations, such as the background of related forms, you do not need to store a copy of the image in the display properties of each form view or field that uses the image. Instead, store the image once as an image object, and include it by reference in form view and field display properties. Using an image object, you can also avoid the 4 MB size limit on the field display property. AR System supports the following image types: Windows bitmap (.bmp file extension) Joint Photographic Experts Group format (.jpeg or .jpg file extensions) Graphics Interchange Format (.gif file extension) Portable Network Graphics format (.png file extension)
360
NOTE
To convert existing references and image files to shared images, use the ImageExtractor.bat utility. See the Configuration Guide, ImageExtractor.jar (ImageExtractor.bat), page 412.
The description appears in the list of images in the Object Selector dialog box when you add an image to a field or form view. Enter up to 255 characters.
4 Click Browse, and navigate to the directory containing the image. 5 To display the available images in the directory, select the various image types
Images are indexed on the name you assign and by the image ID. Image names can have up to 255 characters.
Chapter 10
361
You cannot rename an open object in BMC Remedy Developer Studio. If a warning indicates the object has an open editor, close the image and repeat these steps.
image from the display properties of fields and objects. Click Yes to remove the reference from the listed fields or objects. Click Yes to All to remove all references to the image. Click No to retain the reference in the listed field or object. Click No to All to retain all references to the image. If you retain a reference, the image object name stays in the display property, and you can create another image object with the same name to restore the reference.
362
NOTE
To support the Image Reference functionality for panel and cell-based table fields, AR System clients and supporting applications such as BMC Remedy User and the mid tier must be release 7.5.00 or later. When previous clients open a form containing an image reference, the image is converted to embedded format.
button.
3 In the Background Image dialog box: a If necessary, click Clear Image to delete an existing image. b Browse for the image to display on the button.
You can choose .bmp, .jpeg, .jpg, .gif, and .png files. The chosen image appears in the Preview area.
c To save the image to a different file or folder, click Save to File. d Set the Image Type:
Embedded ImageThe image is stored in the field display properties as an ARByteList. In this case, the image is embedded in the form and is therefore downloaded with the form whenever the form is refreshed by the client. Image ReferenceA reference to a shared image object is stored in the field display properties. In this case, the image is stored as an image object in AR System. When the form is downloaded, the image is cached separately, so the image does not have to be refreshed along with the form. This allows for faster form refresh time.
e Click OK.
Chapter 10
363
4 To position the graphic horizontally in the panel or cell, select the Background
Image Horizontal property, and then select one of the following options: LeftPosition the left edge of the image at the left edge of the panel or cell. CenterPosition the horizontal center of the image at the horizontal center of the panel or cell. FillResize the image horizontally to fit the width of the panel or cell. RightPosition the right edge of the image at the right edge of the panel or cell. TileIf the width of the image is smaller than the width of the panel or cell, tile the image horizontally in the panel or cell. If the width of the image is larger than the width of the panel or cell, Tile has no effect. This property works together with the Background Image Vertical property to control the overall position and dimensions of the image.
5 To position the graphic vertically in the pane or cell, select the Background Image
Vertical property, and then select one of the following options: TopPosition the top edge of the image at the top edge of the panel or cell. CenterPosition the vertical center of the image at the vertical center of the panel or cell. FillResize the image vertically to fit the height of the panel or cell. BottomPosition the bottom edge of the image at the bottom edge of the panel or cell. TileIf the height of the image is smaller than the height of the panel or cell, tile the image vertically in the panel or cell. If the height of the image is larger than the height of the panel or cell, Tile has no effect. This property works together with the Background Image Horizontal property to control the overall position and dimensions of the image.
364
NOTE
PNG images that use alpha transparency are supported by Internet Explorer 7, Firefox, Safari, and BMC Remedy User. They are not supported by Internet Explorer 6. PNG and GIF images that use binary transparency are supported by all AR System 7.5.00compatible browsers and BMC Remedy User. To create graphics with transparent backgrounds that let the surface on which they are placed show through, use .gif and .png images with the Display as Flat Image property. For example, use such images to create borderless buttons. Figure 10-2 shows a .gif coffee cup image with a transparent background on a regular button and on a borderless button.
Figure 10-2: A .gif file with transparent background on regular and borderless buttons
To build toolbars, you can use transparent images on borderless buttons as shown in Figure 10-3.
Figure 10-3: Transparent images as toolbar buttons
TIP
To add decorative graphics to forms, use borderless buttons without workflow.
Chapter 10
365
Most browsers always use a visual aid, such as a dotted outline, to indicate that borderless buttons have focus. Internet Explorer, however, does this only when the form has certain background colors. In BMC Remedy User, a gray area is displayed around a .png image when a button is larger than the image and the Scale Image to Fit property is set to False. In the mid tier, this gray area does not appear. You can use .gif and .png images anywhere that images are supported in AR System, including Backgrounds on form views Backgrounds on standalone panel fields
NOTE
.gif and .png images are not supported for toolbar buttons in BMC Remedy User.
Transparent .gif and .png images are not supported in Internet Explorer 6 for the backgrounds of cell-based tables, forms, and panels.
366
11
Chapter
Types of fields
Fields are objects that enable you to control how information is captured and displayed on a form. Fields have properties that determine their structure within AR System. The following topics are provided: Data fields (page 368) Table fields (page 377) Attachment pools (page 377) View fields (page 380) Data visualization fields (page 382) Application list fields (page 382) Navigation fields (page 383) Button fields (page 384) Panel fields (page 384) Trim fields (page 385) For an alphabetical list of field properties, see Appendix D, Field properties. For information about adding fields to forms, see Chapter 6, Creating and managing fields.
367
Data fields
Data fields contain data and can be any one of the following data types: Character Diary Date/Time Date Time Currency Integer Real Decimal Selection (drop-down, radio, check box)
The following sections describe these types of fields. To learn how to add them to forms, see Chapter 6, Creating and managing fields.
Character fields
Character fields are useful when there is significant variation in the field contents or length of the content; for example, descriptive text, names of people, addresses, and keywords. You can attach a menu or a file system browser to character fields or fill them with default text. For information about the expand box that appears next to character fields, see Expand Box on page 511. Depending on the Input Length of a character field and the database, a character field is created either as a varchar or a clob database table column. If the Input Length exceeds the maximum for varchar a given Table 11-1, a clob is used.
Table 11-1: Maximum varchar size Database IBM DB2 Informix Microsoft SQL Server Oracle
Maximum Input Length for varchar 3999 255 7999 3999 255
Sybase
NOTE
To include a tab in the text that you enter into a character field, press Ctrl+Tab.
368
Data fields
Diary fields
Diary fields capture the history of a request over time. Whenever users enter comments in the diary field, the new entry is appended to the previous diary entries. Every diary entry is stamped by the AR System server with a time and a user name. After they are saved, diary entries cannot be modified. By default, AR System inserts a diary expand button to the right of each diary field. Users can click the button to open a Diary Editor dialog box. When the diary field contains entries, the icon changes from a blank book to an image of a book containing text. A diary field displays whole words only. To see the text beyond the words displayed in the field, open the Diary Editor dialog box.
NOTE
To include a tab in the text that entered into a character fields dialog box, the user must press Ctrl+Tab. The default maximum size limit of data contained in diary fields varies per database: For Sybase, Microsoft SQL Server, and Informix databases, 2 GB For DB2 databases, 10 MB For Oracle databases, 4 GB
NOTE
To configure a different maximum limit for Oracle, Microsoft SQL Server, and Sybase databases, use the Db-Max-Text-Size option in the ar.conf or ar.cfg files. For more information, see the Configuration Guide, AR System configuration files, page 347. To search a diary field when using Oracle, you must configure ar.conf (ar.cfg) to allow searching on CLOB data types. See the Configuration Guide, ar.conf (ar.cfg), page 348. Consider the effect of searching on system performance. You might want to use FTS to create a search index for diary fields. Note that you cannot search for the time stamp or the name of the user who submitted an entry.
369
You cannot use the Indexes form property to create an index for a diary field. However, if you are licensed for full text search, you can use the Index For FTS field property described on page 514 to create a search index for the field. For more information, see the Configuration Guide, Using full text search, page 295.
WARNING
Because values stored in date/time, date, and time fields are not equivalent, setting, pushing, or merging values among these fields might produce unexpected results. The format for these fields matches the locale specified in the user preferences. If no user preference for locale exists, user environment settings are used (for example, Regional Settings Properties in the Windows Control Panel). For information about workflow considerations for date/time, date, and time fields, see information about keywords and assigning values using function results in the Workflow Objects Guide.
370
Data fields
Currency fields
Currency fields are different from other fields in that they store multiple values when the data is saved. A currency field stores the following data: A user-entered decimal valueDecimal values are displayed according to the users locale. For example, on German systems, thousands are separated by periods. If users do not include a decimal point, the system automatically adds it when the field data is saved. The system also adds zeros after the decimal point based on the precision setting in the fields properties. If a user enters the value in a specific currency and saves the entry, that currency is displayed to whomever views the entry. A currency code, such as EUR (Euro) or USD (US dollar)The codes are usually consistent with ISO 4217. You can override the codes with localized labels (see Step 7: Localizing currency codes on page 593). A currency code can be entered into the field in any of the following ways: Default valueAt runtime, a user can enter the code into the field or choose the code from the menu attached to the field. User preferencesUsers can specify a preferred initial currency type in BMC Remedy User (Tools > Options > Locale tab) or in the AR System User Preference form (Locale tab). When a user opens a new request, the code for the user-preferred currency appears in the currency field unless the codes currency type is not one of the fields allowable currencies (see Allowable and functional currencies on page 372). This user preference overrides the Initial Currency Type field property, but the Default Value field property overrides both the user preference and the Initial Currency Type. Initial currency typeDevelopers can specify an initial currency code in a currency fields Initial Currency Type or Default Value properties. The default value overrides the initial currency type. Primary allowable currencyIf users do not specify a code, the system adds the code of the primary allowable currency when the request is saved. See Creating a currency field on page 192. One or more functional currency valuesGenerated when users save the data that they entered in the currency field. See Allowable and functional currencies on page 372.
NOTE
The first functional currency that is defined is special because it is used in workflow evaluations and in searches. It is critical that you define a currency exchange ratio entry between every currency type in which data can be entered and the first functional currency. See Currency exchange ratios on page 373. Date on which the functional currency values were generated
371
After entering data into a currency field and saving the request, users can view the fields functional currency values by clicking the expand button next to the currency field, as shown in Figure 11-1.
Figure 11-1: Viewing functional currencies
In table fields, when users sort on a column that represents a currency field, records are grouped by currency type and then sorted within each group. This allows meaningful comparisons among currencies of the same type. To learn how to add currency fields to forms, see Creating currency fields on page 191.
372
Data fields
IMPORTANT
To ensure that workflow and searches work correctly, you must create a currency exchange ratio for the first functional currency (and others as needed). See Creating currency exchange ratios on page 195.
373
Workflow considerations
You can use currency fields in active link, filter, and escalation actions. Currency fields behave like other fields in workflow actions, with these exceptions: The Change Field active link action cannot access the currency code menu attached to the field. The Set Fields and Push Fields actions allow only the overall value of the field to be set. You can use the overall value or any portion of the value (such as the date) as a data source. The first functional currency entered is the currency that is used in workflow and searches. Currency fields have four functions: CURRCONVERT, CURRSETDATE, CURRSETTYPE, and CURRSETVALUE. For more information, see the Workflow Objects Guide, Specifying arguments that use a comma as a decimal separator, page 252. Because the currency field is a complex type, it has special rules for conversion to and from other data types.
Table 11-3: Conversion from currency Target data type Character or Diary Decimal, Real, or Integer Selection Data conversion rule The decimal value, with the currency code to the right. The decimal value only, dropping the fraction as necessary. The decimal value converts to an integer value.
Date/Time, Date, or Time The decimal value converts to a long date value.
Table 11-4: Conversion to currency Source data type Character or Diary Data conversion rule Parses the string to get a number and symbol. If the currency code is valid, the following rules are applied: If the currency code represents one of the allowable currencies for the field, the currency value and code are used as is. For example, if 100 USD is entered, the data is converted to 100.00 USD. If the currency code does not represent one of the allowable currencies for the field: If a currency ratio exists between the currency code and the primary allowable currency for the field, the value is converted to the primary allowable currency. If no ratio exists between the currency code and the primary allowable currency, the data is set to NULL. If the currency code is invalid, the data is set to NULL. Decimal, Real, or Integer Converts the numeric value to Decimal, and then appends the primary allowable currency code.
374
Data fields
Table 11-4: Conversion to currency Source data type Data conversion rule
Date/Time, Date, or Time Converts the numeric value of the time stamp to Decimal, and then appends the primary allowable currency code. Selection Converts the numeric value to Decimal, and then appends the primary allowable currency code.
The driver creates one column for each functional currency defined for the field. If the form contains a field with a name that is the same as one of the generated names, the ODBC driver reports Cannot define field more than once and fails to get the data. To prevent this problem, do not use field names that conflict with the column names generated by the ODBC driver for currency fields.
Integer fields
Integer fields accept integer values between 2147483647 and 2147483647. You can use integer fields to process statistical information in reports.
Real fields
Real fields accept and contain floating-point numbers, which are useful for displaying very small and very large numbers. You can use real fields to process statistical information in reports. For real fields, the representation in the database keeps a maximum of ten digits of data. After ten digits, the number is rounded, and the succeeding digits are ignored. For example, if 12345.090009 is entered, the value after a submit is 12345.090010. But if 1234567.090099 is entered, the value after a submit is 1234567.090000. The last three digits are ignored because the rounded answer comes after the tenth position.
375
Decimal fields
Decimal fields accept and contain fixed-point decimal numbers. Real fields and decimal fields differ in the following ways: Real numbers are inherently defined to be approximations, and decimal numbers are defined to be exact. Decimal numbers can have greater precision. The administrator has control over the fractional portion in a decimal field. The total number of values in a decimal field can be as many as 28 places long. This number includes the decimal places (up to 9) that you define in the Precision field. You can control the precision of the number by defining where the decimal point is placed. Decimal fields appear right-justified. Decimal, digit grouping, and negative sign symbols are based on the locale specified in the user preferences. If no user preference for locale exists, user environment settings are used (for example, Regional Settings Properties in the Windows Control Panel). You can use decimal fields to process statistical information in reports.
Selection fields
Selection fields provide users a small number of choices. Selection fields are displayed as one of these types: Drop-Down ListUsers can select from a list of items. Radio ButtonUsers can select only one item. Check BoxUsers can select one or more items from a set of items. Users cannot enter values that are not in the selection field. (This is one difference between selection fields and character fields with menus.) Data for a selection field is stored in the database as an integer that relates to the order of the selection items. AR System can automatically generate item IDs, or you can create a custom ID for each item. If you create the IDs, gaps can exist between the ID numbers, enabling you to insert new IDs later. For example, you might create these IDs:
Table 11-5: Example IDs Selection item Open In Development In QA Closed Custom ID 10 20 35 39
At a later time, you can add a selection item and ID, such as Pending and 15, which is placed between Open and In Development.
376
Table fields
If AR System numbers the IDs for you, do not change the order of existing selection items, or the meaning of data previously entered in the database is changed. For example, in a Status field, if the original items are New, Assigned, and Closed and you add an item labeled Fixed before the Closed item, existing database entries with a status of Closed change to a status of Fixed. If you must add an item to a selection field on an active form, add it only as the last item. For example:
New = 0 Assigned = 1 Closed = 2 Fixed = 3
WARNING
Altering the items in a selection field might require explicit modifications to every request in a form. For check boxes, you can define more than one choice, but users have access only to the first value. You can create searches using the item IDs in the selection field. For example, the search string Status < 2 searches for all New and Assigned requests in the previous example. The search string Check Box = $NULL$ searches for requests in which the check box is not selected. Use selection lists only in cases where you do not expect the options available to users to change over time. For more information, see Creating selection fields on page 196.
Table fields
AR System supports the following types of table fields: List view (see page 235) Tree view (see page 236) Cell based (see page 243) Alert list (see page 245) Results list (see page 246) For more information, see Chapter 7, Working with tables.
Attachment pools
An attachment pool contains attachment fields that enable users to store text, graphics, audio, or video with a request. The attachment data is compressed and stored in the database with each request.
Chapter 11 Types of fields 377
A form can have any number of attachment pools, and each attachment pool can have any number of attachment fields, subject to database limitations. You set properties for the attachment pool and for its attachment fields in BMC Remedy Developer Studio, including maximum size for each attachment field and permissions. View permission allows users in a group to view attachments. Change permission allows users in a group to add and remove attachments in an attachment pool. Attachment pools do not have labels, but you can use trim text to label them on a form. For more information, see Creating attachment pools on page 198.
Users can also add attachments by dragging files into the attachment pool, and users can display attached files by double-clicking them. When users add a file to the attachment pool, the file is added to the next available attachment field. If no empty attachment field is available and if no attached file name is selected, the user is prompted to replace the file in the first attachment field. If an attached file name is selected, the user is prompted to replace the selected file. Attached files are added to or deleted from the database when the request is saved. You can customize both the column headings and the context menu labels in BMC Remedy Developer Studio. See step 6 on page 199. Figure 11-2 shows an attachment pool with its menu in BMC Remedy User.
378
Attachment pools
NOTE
When users perform the Copy to New operation in BMC Remedy User, the new request does not include attachments and diary fields. Users must save attachments to files and then attach them to the new request. In a browser, there is no Copy to New operation.
NOTE
If you open an attached file from a form in a browser, the file might be displayed incorrectly. For example, accented characters can become corrupted. To view the file with no display problems, save the file to disk, and then open the file separately from the browser.
379
Set Fields and Run Process Adds, saves, opens, or deletes attachments. The following active link Run Process commands are available: PERFORM-ACTION-ADD-ATTACHMENT PERFORM-ACTION-DELETE-ATTACHMENT PERFORM-ACTION-OPEN-ATTACHMENT PERFORM-ACTION-SAVE-ATTACHMENT
View fields
A view field is a display-only field that displays any type of content that a typical browser can display, including the following: Views of AR System forms. HTML templates registered in AR System Resource Definitions with parameters or embedded field references. These can be full HTML documents, or HTML fragments that are included in the main page. Attachment field contents, such as HTML files, image files, and Microsoft Word documents. The common use of view field is to embed multiple forms on the view fields that are present on a container form. Embedded forms can share the user interface and workflow. You can load AR System forms as Inline forms. For more information, see Inline Forms on page 150. You set the initial value of a view field by setting its Text property to bind a URL or a template name. You can also set the initial value using a Set Fields active link action, optionally using the TEMPLATE() function. For more information, see Creating view fields.
380
View fields
You can add multiple view fields to a form to display various pieces of data from different sources. You can also use different initial values for every view of a form, in order to customize the presentation for any language, platform, or user role. You can also create workflow that communicates between the view fields by sending events.
NOTE
For mid tier users, if you have custom content to display on the view fields, verify that the content is displayed correctly on the web browsers. For more information, see Creating view fields on page 201. Users print a document in a view field by performing right-click on the field and choosing Print.
To print a document in a view field in BMC Remedy User, right-click the field and choose Print. (In a browser, you cannot print the contents of a view field.)
381
For more information, see these sections: Creating application list fields on page 203 Defining entry points and home pages on page 433
382
Navigation fields
Navigation fields
Horizontal and vertical navigation fields enable users to navigate to screens quickly and easily. A horizontal navigation field might enable users to move from application to application, and a vertical navigation field might give users access to common functions and application entry points within an application.
Figure 11-6: Horizontal and vertical navigation fields
Horizontal navigation fields can have only one level in their structure. Vertical navigation fields can have unlimited levels. But to keep the navigation of your application simple, limit the number of levels to three. Navigation fields can act as anchors for other menu fields, and you can use multiple navigation fields with menus attached to them. For more information, see To create a navigation field on page 205.
383
Remember these considerations when building workflow for navigation fields: One navigation field cannot be shared across several forms. To overcome this limitation, create common workflow for the navigation fields on several forms. You can show or hide individual navigation field items or the entire field. You can enable and disable items on a navigation field. You cannot set focus or change the label, color, or font of a navigation field. You can set workflow to fire on a menu item when it is selected, but workflow cannot fire on menus. You can change labels for horizontal and vertical navigation fields by using a change field active link.
Button fields
Button fields are control fields used to execute active links. For more information, see the Workflow Objects Guide, Using buttons and menu bar items to execute active links, page 165.
Figure 11-7: Button field
Buttons can be displayed as URLs and then associated with an Open Window active link action to simulate a hyperlink that opens a new window. See To create a button field on page 210. (To add a real URL that links to a web page, see Adding a URL to a trim text field on page 215.) You can add an image to a button to enhance the look of forms displayed in BMC Remedy User. See Adding images to buttons on page 212.
Panel fields
AR System supports the following types of panel fields: Basic panels (see page 328) Panel holders (see page 328) Tabbed panels (see page 331) Collapsible (stacked) panels (see page 332) Splitter panels (see page 332) Accordion panels (see page 333) For more information, see Chapter 9, Working with panels.
384
Trim fields
Trim fields
Trim fields are horizontal and vertical lines, boxes, and text (including URLs) that enable you to modify the appearance of a form.
Figure 11-8: Trim lines, boxes, and text
Each piece of trim is treated as a field by AR System, meaning that it has a unique field ID, a name, and display information. (No database information is associated with trim.) Because trim is a field, you can do this with it: Address each piece of trim in your workflow. For example, you can use a Change Field active link action to make a box hidden or visible. Change how or whether the trim appears in different form views. Define permissions for the trim to match the permissions of associated fields so that the trim is not visible if the fields are not visible. Add and change trim in the same way that you add and change other fields. Create URLs that link the form or application to the Internet. See Adding a URL to a trim text field on page 215. Although you can group fields visually with a transparent trim box, a panel field is a better choice. A panel fields is more powerful and easier to maintain because the fields are contained in the panel field and positioned within it. For information about creating trim fields, see Creating trim fields on page 214.
385
386
12
Chapter
Using templates
Templates are a method of formatting text dynamically for presentation in AR System. A template is suitable for dynamically creating an HTML document to be displayed in a view field or tool tip created by a Message action. When the template is evaluated at runtime, values are substituted for parameters in the template either using workflow or references to fields on the form. The following topics are provided: Resources for templates (page 388) Template content (page 389) Using templates with fields (page 390)
Chapter 12
Using templates
387
388
Template content
This form includes the following information: NameThe name used to references the resource. StatusEither Active or Inactive. Inactive resources cannot be processed by the client. TypeThe type of resource: Template, Image, or Custom. DescriptionA brief description of the template. Mime typeThe Internet media type or MIME (Multipurpose Internet Mail Extension) type of the resource. For Type set to Template, text/html. For Type set to Image, image/gif or image/png. For Type set to Custom, any type entered, for example, audio/mpeg. SubtypeAn optional character value that can identify a more specific type to distinguish resources. LocaleThe locale of the resource. If specified, AR System uses this field to select the resource with a given name that matches the users locale. ApplicationThe name of the application that uses this resource, if any. ResourcesAn attachment field where the actual HTML text, image, or other resource file is stored.
Template content
A template consists of text with parameters that are replaced with values when the template is used for rendering. Usually, the result of processing the template is a complete HTML document, starting and ending with the <html> and <body> tags, or a snippet of HTML to be inserted in a document, such as, a group of table rows.
Parameters in templates
There are two kinds of parameters in templates: Explicit parameters are named. They get their values from parameters of the TEMPLATE function and are represented by ${parameterName}. Implicit parameters are references to fields in a form. They get their values from the referenced fields and are represented by $fieldID$. A parameter can provide text in either the value of an HTML element or the value to an attribute of an HTML element. The value of the HTML tag element can be an expression that consists of more than one parameter, as in the following example:
<td>Full Name:</td> <td style="background:00ffff;${STYLE}"> ${FNAME} ${LNAME} </td>
Where
Chapter 12
Using templates
389
The first parameter, STYLE, specifies one or more additional style properties and values to control the appearance of the table cell defined by the <td> tag. The additional parameters, FNAME and LNAME, specify the content of the table cell. In the following example, field IDs are used as parameters in the template content for two table rows.
<table> <tr> <td>First Name:</td> <td style=background:00FFFF>$123456789$</td> </tr> <tr> <td>Last Name</td> <td style=background:00FFFF>$234567890$</td> </tr>
In this example, the template is using explicit parameters to specify a background color for the First Name and Last Name fields in a table.
<table> <tr> <td>First Name:</td> <td style="background:00ffff">${FNAME}</td> </tr> <tr> <td>Last Name:</td> <td style="background:00ffff">${LNAME}</td> </tr> <tr> <td>Emp ID:</td> <td style="background:00ffff">${EID}</td> </tr> </table>
390
Binding a template
To use a template to display in a view field without workflow, set the Text property of the view field to template:templateName. The parameters in a template used this way must reference fields on the form by field ID. An application can create a rich HTML-based data display using a cell-based table with data fields and a view field with a template bound to it. To redisplay a view field with a template bound to it, for example, after one of the referenced fields has its value changed, use workflow to assign the value of the view field to itself or to a value generated by the TEMPLATE function, as describe in the next section.
Templates can be nested within templates using either of the following methods: By using workflow to generate content from a template with an HTML snippet and placing it into a hidden field. The value of that hidden field can be passed to another TEMPLATE function. Using the TEMPLATE function as a parameter within another TEMPLATE function. At runtime, when the client (BMC Remedy User or the mid tier) executes the active link where the template is specified, the template is retrieved from the AR System server and processed for the parameters that should be substituted. The resulting information is then rendered either in a view field or as a value in a character field. If the template does not use explicit parameters, it can be evaluated by calling the
TEMPLATE function with only the name of the template.
A message action of the type Tooltip can display the HTML generated by a Set Field action. This is typically done using a Set Fields action (generating content into a hidden field), followed by a message action to display the content of the hidden field. The BMC Remedy Developer Studio Expression Editor includes a mapping tool for setting template parameter values. After you choose the TEMPLATE function, choose a template from the Template Name list. The explicit parameters are listed in the table below. If you select the Value cell and click the ellipsis button, you can open an editor to set the value. See Figure 12-2 on page 392.
Chapter 12
Using templates
391
392
13
Chapter
Chapter 13
393
This view represents the function that a user performs in an application. For example, a user might use an application to manage, submit, or audit help desk requests. In AR System, each of those functionsmanager, submitter, auditoris called an actor. Each actor can be associated with a different view. See Configuring actor-based view selection on page 396.
NOTE
An actor is not related to access permission roles.
3 Default view specified in the User Preference form.
For a browser, the system selects a view according to the Prefer Standard/ Windows Views option in the BMC Remedy Mid Tier Configuration Tool.
4 Default view specified in the form.
After using this order of preference to select a base form view, the system selects a version of the base view appropriate for the users locale. If no version exists for that locale, a fallback mechanism finds the closest possible locale to the one requested. The resulting view is then displayed for use.
394 Form and Application Objects Guide
Open form
No
No
View label specified in User Preference form? Yes Use preferences view label
No
Yes
Client
No
Server
View exists? No Use default form view label
Yes
No
Open view
Chapter 13
395
Defining actors
To select an actor on which to base view selection, AR System queries the AR System User Application Actor form. To add actors to AR System, applications must define them in this form.
NOTE
Adding a large number of entries to this form might degrade the performance of logging in and opening forms.
Figure 13-2: AR System User Application Actor form
396
Each entry (actor definition) in the AR System User Application Actor form should contain this information:
Table 13-1: Fields in AR System User Application Action form Field User Name Application Name Actor Group Access Description (Optional) A users AR System login name. To specify all users, leave this field empty. (Optional) Name of an application to limit this actor to. To specify all applications, leave this field empty. (Required) Name of the actor, such as Request Manager, Request Submitter, or Request Auditor. Name of one or more access control groups. By default, this field is set to Public.
Important: This field (ID 112) controls row-level security. If it is set to NULL, no user has
access to the entry, so AR System will not consider the entry when selecting an actor. Order (Optional) Integer that determines which entry to use when multiple entries contain matching User Name and Application Name values. In this situation, the entry with the highest Order value is used. An Order value of NULL is lower than 0.
To select an entry from the query results, AR System uses these criteria:
Table 13-2: Criteria for selecting an entry Entry selection order 1 2 3 4 User Name currentUser currentUser NULL NULL Application Name currentApplication NULL currentApplication NULL Default actor in all applications for this user. Default actor for all users in this application. Default actor for all users in all applications. In previous versions of AR System, the default form view was specified in one of these places: User Preference forms Default Form View field The form itself (Form > Set Default View) In AR System 7.5.00 and later, however, if the AR System User Application Actor form contains this entry, the actor in the entry is always used to determine the forms default view (see Specifying an actor-based form view on page 398). To use the legacy default views, do not include this entry in the AR System User Application Actor form. Notes
If multiple entries meet these criteria, the entry with the appropriate Group Access value and the highest Order value is used. If multiple entries share those criteria, the first entry returned by the query is used. AR System uses the actor specified in the entry to select a view. See Specifying an actor-based form view on page 398. If no entry meets these criteria, AR System uses the default form view specified in the User Preference form or in the form itself. See Figure 13-1 on page 395.
Chapter 13
397
To link actors to form views, applications must add entries to this form.
NOTE
Adding a large number of entries to this form might degrade the performance of logging in and opening forms. Each entry in the AR System Actor View form should contain this information:
Table 13-3: Fields in the AR System Actor View form Field Application Name Form Name Actor View Label Description Name of the application that contains the form. (Optional) Name of the form. If you leave this field empty, the entry is the default for all forms in the specified application. (Optional) Name of the actor. If you leave this field empty, the entry is the default for all actors in the specified application. Name of the view to display. See the views Label property.
NOTE
If you later rename a form or change a view label, AR System will not automatically update the entries in this form.
398
If multiple entries meet these selection criteria, the first entry returned by the query is used. If no entry meets these criteria, AR System uses the default form view specified in the User Preference form or in the form itself. See Figure 13-1 on page 395.
The icon for the form type appears in the view tab at the bottom of the form editor. After you change the default form view, you must reopen the form for BMC Remedy Developer Studio to display the default form view with its tab as the first form view tab at the left bottom of the form editor.
Chapter 13
399
StandardA view that can be displayed in BMC Remedy User and in a browser. Web - AlternateA view that uses fixed field positioning.
400
Web - Alternate views are available for special purposes and for backward compatibility with previous releases. These views are not needed in version 6.3 and later versions. Use them for compatibility with older versions of the mid tier or for a situation where you need to create a view that is different in a browser than in BMC Remedy User. If there is a Web - Alternate, that view is selected first for a browser, unless the Standard view is the default preference set in the BMC Remedy Mid Tier Configuration Tool. For more information, see the BMC Remedy Mid Tier Guide, General settings, page 22.
5 Click the form view tab at the bottom of the form editor to select the new view. 6 In the Properties tab, modify the properties listed in Table 13-5, as appropriate. Table 13-5: Form view initial properties (Sheet 1 of 2) Property View ID Label Description A unique identifier for a form view. This value is automatically generated by AR System and cannot be modified. The label for the view. The Label, Locale, and View Type fields together define a unique identifier for the view. The client uses the label to identify the users preferred view. For more information, see the Configuration Guide, Setting user preferences, page 81. When a view is created, a label is assigned automatically to the new view. You can change the label. There is no enforced convention for specifying labels, but it is helpful to make the name descriptive and indicative of the views function consistently across forms. For example, you might create a Manager view for all forms in an application. Labels can be as many as 80 characters, including spaces. Names can include doublebyte characters, but avoid using numbers at the beginning of the name.
Note: If you want a specific view (other than the default set in BMC Remedy
Developer Studio) to be displayed in a browser by using a URL, make sure the label is unique. Locale Defines the views locale. When a view is created, the Locale field is empty. If left blank, the locale of the users operating system is assumed for the view. To specify a locale for a view, click the cell for the Locale field and select the preferred locale from the list. The Locale field associates a language and country dialect with a view following the format: language_country. Selecting only the language includes all variations of that language. Conversely, selecting fr_CA (French, Canada) defines a view for Canadian French speakers, while selecting fr includes all French speaking countries. For more information about localization, Appendix H, Localizing AR System applications. Different views for different locales should have the same Label, and the correct locale for the user is automatically opened.
Chapter 13
401
Table 13-5: Form view initial properties (Sheet 2 of 2) Property View Type Description The view type that was selected from the Manage Views - Copy View To dialog box when copying the view. Choices are: Standard (Recommended) Web - Alternate (Fixed) This field cannot be modified. Master View for Server Defines if the view is used for processing to retrieve field labels and selection value Processing aliases (not database values). Certain tools (such as data dictionary menus, active links that display a list, and application commands) query the data in forms and use these labels and aliases. For example, the ODBC driver might use field labels and selection field aliases to generate reports. Similarly, report qualifiers are validated using these labels and aliases. To specify the view that should be used as the master for a particular locale, click the cell for the Master field, and select True from the list. You can set only one view per locale. It is best to specify as Master the view that contains most, if not all, of the fields and aliases required for processing. If no view is specified as the master, the default view is used. If neither a master or default view exist, the system chooses a view at random.
The Label, Locale, and View Type properties do not need to contain unique values, but the combination of the three fields must be unique to each view.
7 To set a default view, click in the form editor and choose Form > Set Default View. 8 In the Choose Default View dialog box, select a view from the View Label list, and
click OK. The default view is the view displayed to a user when a request for a form is made and no user preferences is set. An exception to this rule is seen in a browser; if no user preference is set but the configuration preference is set to a web view, the web view is chosen.
9 To open a view, click its tab at the bottom of the form editor. 10 Choose File > Save to save the form with the new form view created.
NOTE
To create a blank form view with no core fields, choose Form > Create New View instead Form > Duplicate View.
402
The default view of the selected form appears in the form editor.
2 Click the form view tab at the bottom of the form editor to select the appropriate
view.
The form view is displayed in the form editor and its properties are shown in the Properties tab. The following are examples of modifications that you can make to a form view: Modifying view properties. See Setting form view properties on page 405. Adding or modifying fields. See Chapter 11, Types of fields, and Appendix D, Field properties,. Specifying which fields to include or exclude. See Including and excluding fields from form views on page 411. Arranging fields. See Arranging fields in a form view on page 412. Modifying field properties of fields. See Appendix D, Field properties. Localizing the view. For more information, see Appendix H, Localizing AR System applications.
3 Choose File > Save to save the form with the changes to the view.
Chapter 13
403
The form view is displayed in the form editor and its properties are shown in the Properties tab.
3 In the Properties tab, enter the new name in the Name property. 4 To change the views label, enter the new name in the Label property.
NOTE
Avoid characters in a form view label that result in an invalid URL when the form view is accessed through the mid tier. BMC Remedy Developer Studio warns you if you use one of the invalid characters configured in the Form preferences page. By default, the Invalid Characters for Form Name preference is set to /&#%'".?.
5 Choose File > Save to save the form with the changes to the view.
A frame shows the actual view size. The form editor displays a grey background outside the form view.
2 Select the form view by clicking in its background or deselecting all the fields.
Resize handles appear on the right and bottom edges and at the bottom right corner of the form view.
3 Drag a resize handle to change the form view size.
NOTE
When you design form views, you should design them for a particular screen resolution. For example, a form view designed for a 1280 by 1024 screen resolution might look incorrect on a 1024 by 768 screen.
404
NOTE
If you select a field in a form view, either by clicking in the form view or in the Outline tab, the Property tab shows the properties for the field. To display the properties for the form view, click the view background or deselect the field by holding down Ctrl and click it in the form editor or its name in the Outline tab.
Chapter 13
405
Application Development with BMC Remedy Developer Studio guide, Modifying object properties, page 51.
Table 13-6: Form view properties - Basic category Name Label Description Defines the label for the view. When a view is created, a label is automatically assigned for the new view. The assigned label can be changed. There is no enforced convention for specifying labels, but it is helpful to make the label descriptive, indicative of the views function, and consistent across forms. Labels can be as many as 80 characters, including spaces. Labels can include doublebyte characters, but do not use digits at the beginning of the label.
Note: If you want a specific view (other than the default set in BMC Remedy
Developer Studio) to be displayed in a browser by using a URL, make sure the label is unique. Locale Localize Defines the views locale. When a view is created, the Locale field is empty. If left blank, the locale of the users operating system is assumed for the view. Specifies if the text in a view must be translated. By default, this property is set to True, and attribute 287 in the view definition is set to 1. To ascertain which views must be translated, localizers can search .def files for the display-instance setting 287\6\1, where 287 is the ID of the localization indicator attribute. 6 is the data type for the attribute and can be ignored. 1 is the attribute value that indicates localization is required. Master View for Server If set to True, this view is used for processing to retrieve field labels and selection Processing value aliases (not database values). For more information, see the description for Master View for Server Processing on page 402. Name View ID View Type Defines a unique identifier for a form view. This value is initially generated by AR System, but you can modify it. This number is a unique ID generated by AR System and stored in the database, and you cannot change it. Defines the type of view associated with the selected view. You choose the view type when you create the view, and you cannot change it.
406
Table 13-7: Form view properties - Appearance category (Sheet 1 of 2) Name Description
App-specific Image Use the App-specific Image Path for Mid-Tier View property for forms viewed Path for Mid-Tier View through applications in a browser. Set this property to the relative path from an application's Support Files top directory to the background image. If the file is not found in the application resource files, the path in this field is ignored. See the BMC Remedy Mid Tier Guide, Managing resource files, page 74. Background Color Background Image The color of the view background where there are no fields. The default is white. A background image (.gif, .png, .jpeg, .jpg, .bmp, or .dib format) for the view. Use the Background Image dialog box to select an image file that is saved with the form or a reference to an image object.
Note: Avoid using uncompressed .bmp and .dib bitmap files. Use images files with
lossless compression, such as .gif and .png, for images that do not use continuous tones. Use .jpg for continuous-tone images, such as photographs and graphics with gradients. Avoid using a large image file. Although view definitions are cached when initially loaded, images associated with a view must first be downloaded. Changes to a form also force the image to be downloaded again, increasing response time. If you need a large image, create an image object that is downloaded and cached separately. See Chapter 10, Working with images. Background Image Horizontal Background Image Vertical Details Pane Banner Layout Layout Editable by User HiddenDoes not appear when BMC Remedy User is opened. VisibleAppears when BMC Remedy User is opened. The position of the results and details panes in the view. This property is enforced only when the Layout Editable by User property is False. Enables users to define the position of panes and banners in their view. If this property is true, the layout selected in the Windows User Tool is applied. If this property is False, the positions are locked, and the corresponding menu items in BMC Remedy User are disabled. XY or Fill. See Panel layout styles on page 329. Position the graphic in the view and control whether it is stretched to fill the view, tiled, or neither.
Layout Style
Maximize Window On Controls whether a view is maximized automatically when opened. For larger forms, Open the maximized view can free the user from having to scroll when viewing a forms contents. This option applies to a specific view of a form; each view of a form has its own maximize value. This option is ignored when the form is opened in Dialog mode. Prompt Bar Position Results Banner Right To Left The position of the prompt bar, at the top or bottom of the window. HiddenDoes not appear when BMC Remedy User is opened. VisibleAppears when BMC Remedy User is opened. Defines whether the text direction of a form view is displayed from left to right (False) or right to left (True). The default is False. For more information, see Rendering forms in right-to-left format on page 423.
Chapter 13
407
Table 13-7: Form view properties - Appearance category (Sheet 2 of 2) Name Title Bar Icon Description An icon image (.gif, .png, .jpeg, .jpg, .bmp, or .dib format) for the title bar of the form view. Use the Title Bar Icon dialog box to select an image file that is saved with the form or a reference to an image object. Images larger than 16x16 pixels are cropped. HTML code to include in the footer of a Web - Alternate (Fixed) view. For more information, see the BMC Remedy Mid Tier Guide, Editing web header and footer content, page 68. HTML code to include in the header of a Web - Alternate (Fixed) view. For more information, see the BMC Remedy Mid Tier Guide, Editing web header and footer content, page 68. HiddenDoes not appear in a form opened in a browser. VisibleAppears in a form opened in a browser.
Web Toolbar
Table 13-8: Form view properties - Aliases category Name Plural Request Identifier Description Defines the aliases that appear in the Results and Details banners in Search mode and the Open dialog box in BMC Remedy User and the title bar of the window. Allows a descriptive request name such as current inventory to appear instead of asset 565. The Request Identifier can be any field except diary and long character fields. The Request Identifier replaces the Request ID in the Details pane banner and the most recently used requests in the File menu in BMC Remedy User. Short Plural Defines the shortened version of the plural alias that appears when the title does not fit in the Results and Details banners. The Short Plural alias is not used in the title bar of the window. Defines the shortened version of the singular alias that appears when the title does not fit in the Details banner. The Short Singular alias is not used in the title bar of the window. The web does not use the short alias and precedence is as follows: If long and short aliases are defined, the title bar displays the long alias. If only the short alias is defined or if no aliases are defined, the title bar displays the form name. Singular Defines the alias that appears in the Details banner and the title bar of the window.
Short Singular
For each view, use the Defined Searches category to define the searches that appear in the Search menu list on the Details banner and in the Actions > Defined Searches menu in BMC Remedy User. Use this feature to create predefined searches that you think might be helpful to your users; for example, finding all open requests or entries. You can define as many as 18 searches.
408
Click the ellipsis button in the Defined Searches property to open the Defined Searches dialog box.
Table 13-9: Form view properties - Defined Searches dialog box Name Name Description If you do not enter a Description, defines the name of the predefined search that users see in the Search menu in BMC Remedy User. This name appears in the Results pane banner after users perform a search.
Note: You can create parameterized searches for users who use a browser, but these
searches return an error in BMC Remedy User. To avoid this error, create parameterized searches only for the web view of the form and not the BMC Remedy User view. For more information, see the BMC Remedy Mid Tier Guide, Including parameters in saved or defined searches, page 91. Description Defines the name of the predefined search that users see in the Search menu in BMC Remedy User. If you do not enter a Description, the text in the Name field is used. For example, if you enter Open Requests in the Name field and Search for open requests in the Description field, users see Search for open requests when they view the list of Defined Searches. Qualification Creates search criteria that you want users to access from the Search menu. Use it for any search that your users frequently perform; for example, 'Status' < "Closed by QA", to find all requests that are not closed. Click in the Qualification cell and click the ellipsis button that appears to open the expression editor for help in building the qualification. For information about building qualifications, see the Workflow Objects Guide, Creating and managing form views, page 393. Table 13-10: Form view properties - Labels category Name Entry Point, New Mode Entry Point, Search Mode Description Defines the label of a new (submit) entry point that appears in an application list field. For more information, see Chapter 14, Defining entry points and home pages.
Note: You enable the entry point in the forms Form Properties.
Defines the label of a search (query) entry point that appears in an application list field. For more information, see Chapter 14, Defining entry points and home pages.
Note: You enable the entry point in the forms Form Properties.
For each view, use the Menu Access category to control which menu and toolbar items users can access in BMC Remedy User and which buttons appear in the toolbar of a form viewed in a browser. For example, if you do not want users to have Modify All capability, you can disable it.
Chapter 13
409
In the Menu Access category, select the Accessible Menu Items property and click the ellipsis button to open the dialog box.
Table 13-11: Form view properties - Menu Access Items dialog box (Sheet 1 of 2) Name Description BMC Remedy User menu item Browser toolbar button +
Advanced Search
If set to False, the Advanced Search capability is disabled. If workflow shows or hides an Advanced Query bar form action field (ID 1005), the toolbar button should toggle 1005 to the opposite state. (In such a case, you should remove the Advanced Search button from the toolbar for that view.)
Auto Refresh
If set to False, all user actions to invoke AutoRefresh (polling refresh) of the results list are disabled. If set to False, Clear and Clear All are disabled. If set to False, Delete is disabled. If set to False, help is disabled. If set to True and a user clicks the button in a browser, the help opens in a new window.
+ + +
+ + +
Home
If set to False, the menu, button, and keyboard actions for opening the home page are disabled. If set to True and a user clicks the button in a browser, the home page opens in a new window.
If set to False, Logout is disabled. If set to False, Modify All is disabled. If set to False, New Request is disabled. If set to False, New Search is disabled. If set to False, Options is disabled. If set to False, the ability to print the entry is disabled. This includes disabling the print option of table and results list fields on a form. If set to False, the ability to generate a report on data in this form is disabled. This includes disabling the report option of table and results list fields on a form. If set to False, the menu, button, and keyboard actions for saving a request are disabled. This is useful when users do not need to save a form, such as in control panels. This option can also force the user to save by using a button you create on your form. If set to False, Saved Searches is disabled. + + + + +
+ + + +
Reporting
Save
Saved Searches
410
Table 13-11: Form view properties - Menu Access Items dialog box (Sheet 2 of 2) Name Description BMC Remedy User menu item + Browser toolbar button +
Search
If set to False, the menu and button actions for searching for requests are disabled. This is useful when users do not need to search a form, such as in control panels. This option can also force the user to search by using a button you create on your form. If set to False, Set to Defaults is disabled. If set to False, Status History is disabled. If set to True, when the user clicks the button in a form viewed in a browser, the status history opens in a new window.
+ +
+ +
Table 13-12: Form view properties - Results category Name Initial Row Selection Description Defines the item you want selected when the results list is loaded. Select First, Fire WorkflowThe first item is shown selected and any workflow defined is activated. This is the default setting. No SelectionNo item is selected. Results Color Controls the color of requests that appear in the results list pane after a search in BMC Remedy User. In the Results Color dialog box, select a Selection Field and a color for each value. For example, you can choose to color all New requests red and all Assigned requests green. Defines how many rows of data to return at one time (or chunk) if a search yields a long list of requests in the BMC Remedy User results list pane. Buttons are provided for displaying previous and next chunks. A value greater than zero in this field enables the chunking feature. The default value is 0.
Size of Chunk
NOTE
Any field not in the current view does not affect the change flag, even if the Disable Change Flag field property is not selected. Associate a SET-CHANGE-FLAG Run Process action with a field not in the view to set the change flag as needed. For more information, see Disable Change Flag on page 506 and the Workflow Objects Guide, Using Run Process and $PROCESS$ commands, page 257.
Chapter 13
411
arrow buttons to move them to the other list, or click the double-arrow buttons to move all the field to one of the lists.
5 Click OK to close the dialog box. 6 Choose File > Save to save your changes.
In the Views dialog box, all views defined for the form appear in the Not In Views list and the In Views lists.
3 Use the Add and Remove buttons to move the views to the appropriate list. 4 Click OK.
NOTE
You cannot use the Views dialog box to remove a field from the current form view. To do that, see Including and excluding fields from form views on page 411.
NOTE
When you design form views, you should design them for a particular screen resolution. For example, a form view designed for a 1280 by 1024 screen resolution might look incorrect on a 1024 by 768 screen.
412
Alignment field
Use any combination of the following three methods to select multiple fields.
selection.
enclosed fields.
4 Hold down CONTROL and drag a rectangle to enclose fields to add to or remove
NOTE
To use the marquee in a container field, select the Marquee tool from the Palette. The mouse pointer remains a cross until you select another tool from the Palette or close the editor.
Chapter 13
413
selection.
NOTE
Due to a technical limitation, selecting a field in the Outline tab does not change the alignment field.
Sizing fields
Use field handles, arrow keys, field properties, or command on the Layout menu to set the size of field labels and values.
fields. All the selected fields are resized relative to the field you operate on.
414
The other fields size are set to the size of last field you select, the alignment field.
2 To make the size of the other fields labels the same as the size of the alignment
fields label, choose Layout > Size Fields > Size Label.
3 To make the size of the other fields values the same as the size of the alignment
fields value, choose Layout > Size Fields > Size Value.
values. The values are changed for all fields. This is an example of setting common field properties.
NOTE
Use this method to set other common field properties that apply only to the current form view. Among these are, Label Alignment, Label Justification, and Label Location.
horizontal and vertical space in pixels between grid lines in the Set Grid Size dialog box. Valid values are 2 to 100 pixels. The default value is 25 pixels.
2 To display or hide the grid, choose Layout > Show Grid.
The grid spacing and visibility are saved in the workspace when you exit and restored when you start BMC Remedy Developer Studio.
Chapter 13
415
Layout > Align to Grid menu: NoneDisable grid alignment. LeftAlign the left edge of the field label with a vertical grid line. Value LeftAlign the left edge of the field data entry region with a vertical grid line. RightAlign the right edge of any button associated with the field with a vertical grid line. If there is no button, align the right edge of the field data entry region. Value RightAlign the right edge of the field data entry region with a vertical grid line.
2 To enable Vertical grid alignment, choose one of the following options from the
Layout > Align to Grid menu: TopAlign the top edge of the field with a horizontal grid line. BottomAlign the bottom edge of the field with a horizontal grid line.
3 To disable grid alignment, choose Layout > Align to Grid > None.
The state of grid alignment is saved in the workspace when you exit and restored when you start BMC Remedy Developer Studio.
Positioning fields
Position fields in a form view by dragging them, by using the arrow keys, or by setting their position properties. You might want to zoom the display to help you position fields precisely.
416
To move the fields only horizontally or only vertically, hold down SHIFT and drag. If grid alignment is enabled, the alignment field snaps to the grid. The other fields move with the alignment field and keep their positions relative to it.
The mouse pointer changes to a four-way arrow resize mouse pointer shown in Figure 13-6.
3 Press the arrow keys to move the fields. 4 Press and release the period or Enter to complete the move, or press Escape to
To control how far the fields move for each press of an arrow key
1 Choose Window > Preferences. 2 Expand BMC Remedy Developer Studio and click Form. 3 Type the number of pixels for the fields to move for each press of an arrow key in
Chapter 13
417
As the fields move in relationship to other fields in the form view, blue lines appear when edges or centers of the fields align.
3 Position the fields when the lines indicate the relationship you want.
If both the grid alignment and Snap to Geometry are enabled, you can drag fields to field geometry positions that are not aligned with the grid lines.
4 Choose Layout > Snap to Geometry again to exit Snap to Geometry mode.
All the fields are moved with respect to the left edge and top edge of the form view by the factors you specified. A percentage less than 100 moves the fields closer together and to the left or up. A percentage greater than 100 moves the fields farther apart and to the right or down.
The values are changed for all fields. If you set both X and Y, the fields are positioned stacked in the same location in the form view. This is an example of setting common field properties.
418
The other fields size are aligned to the last field you select, the alignment field.
2 Choose the appropriate command from the Layout > Align Fields menu:
Align LeftMoves the other fields so their left edges are aligned with the left edge of the alignment field. Align RightMoves the other fields so their right edges are aligned with the right edge of the alignment field. Align Value LeftMoves the other fields so the left edges of their data entry regions are aligned with the left edge of the data entry region of the alignment field. Align Value RightMoves the other fields so the right edges of their data entry regions are aligned with the right edge of the data entry region of the alignment field.
The other fields size are aligned to the last field you select, the alignment field.
2 Choose the appropriate command from the Layout > Align Fields menu:
Align TopMoves the other fields so their top edges are aligned with the top edge of the alignment field. Align MiddleMoves the other fields so their horizontal midlines are aligned with the horizontal midline of the alignment field. Align BottomMoves the other fields so their bottom edges are aligned with the bottom edge of the alignment field.
Chapter 13
419
But when the browser window is enlarged, the logo no longer appears in the topright corner because its horizontal position is set relative to the left side of the form:
To prevent the distance between a field and the right side of a form from changing, you must anchor the field to the right side of the form instead of to the left side:
420
This feature is available only in the mid tier, not in BMC Remedy User.
NOTE
When a container has fields anchored to both its left and right sides, those fields might overlap if users substantially reduce the width of the browser in which the container is displayed. In most browsers, the distance between the field and the side of the container to which it is anchored remains the same as the browser shrinks, and the field moves off-screen on its unanchored side. In a Firefox browser, however, right-anchored fields eventually stop moving left and disappear under the right side of the browser. Keep this in mind when designing such containers.
Enter the appropriate number of pixels in the fields X (distance from right side) and Y (distance from top) properties. Drag the field to the appropriate position. The fields X and Y properties are automatically updated.
6 Save the form.
The current distance between the field and the right side of its container will be maintained when the container is displayed in a browser regardless of the width of the browser window.
Chapter 13
421
Then, stretch data region to align the end of the field and the menu boxes.
Spacing fields
Use Layout commands to distribute three or more fields with even spacing in a form view. You can distribute the fields evenly between the top and bottom fields or the leftmost and rightmost fields or by specifying the space between the fields.
Evenly HorizontallyMoves the interior fields so there is an equal amount of space between the right edge of each field and the left edge of the field on its right. Evenly VerticallyMoves the interior fields there is an equal amount of space between the bottom edge of each field and the top edge of the field below it.
By Length HorizontallyMoves the fields to the right of the leftmost field so the amount of space between the right edge of each field and the left edge of the field on its right is equal to the spacing value. By Length VerticallyMoves the fields below the top field so the amount of space between the bottom edge of each field and the top edge of the field below it is equal to the spacing value.
422
Stacking fields
You can position two or more fields in a form view so they overlap. Use the staking order commands to control which fields covers the others.
At least one of the fields must overlap a field that is not selected.
2 Choose Layout > Bring to Front.
The fields move to the top of the stacking order, covering all fields they overlap.
At least one of the fields must overlap a field that is not selected.
2 Choose Layout > Send to Back.
The fields move to the bottom of the stacking order and are covered by all fields they overlap.
Chapter 13
423
Properties tab.
3 Set the value for the Right To Left property to True.
The current version BMC Remedy Developer Studio does not support what-yousee-is-what-you-get (WYSIWYG) editing for RTL.
4 Save the form. 5 To see the form view displayed with a RTL flow, open the form view in Internet
424
A box with the tab sequence number appears on each field in the form editor. The sequence numbers begin with zero.
2 Select a field, click a tab sequence number box, type the new number, and press
ENTER or click the outside the field. The tab sequence numbers of the other fields are adjusted.
3 Repeat step 2 until you have set the tab order. 4 Choose Layout > Tab Order > Select and Edit again to exit the Select and Edit
mode. The boxes with the tab sequence numbers are removed from the fields.
mode. A box with the tab sequence number appears on each field in the form editor. The sequence numbers begin with zero.
2 Click the first field whose the tab order you need to change until the tab sequence
number is correct. Click once to make the field the first field (number zero), twice to make the second, and so on. The tab sequence numbers of the other fields are adjusted as you click.
3 Click the next field whose the tab order you need to change until the tab sequence
number is correct. Click once to make the field the next in the tab order, twice to make the next plus one, and so on. The tab sequence numbers of the other fields are adjusted as you click.
4 Repeat step 3 until you have set the tab order. 5 Choose Layout > Tab Order > Increment on Click again to exit the Increment on
Click mode. The boxes with the tab sequence numbers are removed from the fields. To use Increment on Click mode to set the tab order for the initial fields in the order (or all fields), click each field once in order. You can switch between Select and Edit mode and Increment on Click mode without exiting both modes by choosing the appropriate Layout > Tab Order command.
Chapter 13
425
NOTE
Fields that are on panels appear as nested under the panel on the Set Tab Order window. Shared fields on panels appear under each panel on which it is shared. You can set the tab order differently on different panels. See Shared fields in panel holders on page 349.
426
NOTE
Although the Skin Selector field property is listed for other fields types (such as character and other data fields), entering a value for this property does not affect those fields. Only the fields listed in the following table support skins.
Object View Panel (not the panel holder) Properties that support skins Background Image Background Color Header Background Color Header Label Color Background Image Background Color Border Color Image URL Color (for buttons displayed as URLs) Label Text Color Background Color URL Color Label Text Color Background Color Line Color
Control (button)
Trim Text
Trim Box
Chapter 13
427
Properties that support skins Line color Top level background color Top level background gradient Sub level background color Top level text color Sub level text color
Types of skins
AR System provides the following types of skins. Each skin type has a priority level by which it is applied, with 1 being the highest:
1 View Name + Form Name 2 View Name Only 3 View Label + Form Name 4 View Label Only 5 Form 6 Application 7 Server
428
Properties for a field skin selector take precedence over properties for a field type. Properties for a field ID take precedence over properties for a field skin selector.
Chapter 13
429
Defining skins
Administrators can define skins by using the AR System Skins form (Figure 13-10), which is installed with AR System. Entries in this form specify the properties and the permissions for each skin that you want to define. Each skin you define is an entry in the form.
Figure 13-10: AR System Skins form
To define a skin
1 Open the AR System Skins form: http://<serverName>/arsys/forms/<serverName>/AR+System+Skins 2 Enter the following information:
DescriptionEnter a brief description of the skin. StateSelect Enabled to make the skin available, or Disabled to disable it temporarily. TypeSelect a skin type. Type identifierEnter additional information about the skin type being defined. GroupsSelect the groups and roles to have access permissions for this skin.
3 Click the plus sign to the right of the Skin Properties banner to open the AR System
430
TypeSelect Field ID, Field Skin Selector, or Field Type. For more information, see How skin priorities are applied on page 428. Type identifierEnter a description that identifies the property type. PropertyEnter the object type (for example, panel) and the type of property being applied (for example, background color).
NOTE
The fields in the AR System Skins Properties dialog box are not validated, so if you enter Field Type in the Type field, select a property from the same type that you entered in the Type Identifier field. Otherwise, the skin property might not be applied. (Consequently, fields of different types can sometimes share the same property ID, in which case that skin property may be applied). Property ValueEnter the value for the specified property. For example, if the property is a background color of blue, the value must be the hexadecimal value for the shade of blue being applied. If the property is an image, the value must be the name of the server image object. To specify colors, you can either enter a hexadecimal value for the color, or click the down arrow to select a color from the color picker.
5 Click OK to close the AR System Skins Properties dialog box.
The information you entered appears in the Skins Properties list in the AR System Skins form (Figure 13-12).
Figure 13-12: Skins properties list
Chapter 13
431
After a skin is defined, it can be applied to these scenarios: All forms and views on a server All forms and views in an application All views in a form A specific view of a form
Configuration Tool. (See the BMC Remedy Mid Tier Guide , General settings, page 22.)
2 Flush the mid tier cache. (See the BMC Remedy Mid Tier Guide, Cache settings,
page 29.)
3 Flush the browser cache. 4 If the form view was cached: a Stop and restart the mid tier. b Delete the viewStats.dat file in midTierInstallDir\midtier\WEBINF\classes. 5 Restart the web server.
432
14
Chapter
Chapter 14
433
Two preconfigured home page forms are installed with AR System. You can use either of these forms as a starting point when designing a home page: AR System Customizable Home PageThis display-only form works together with the AR System Home Page Layout and AR System Home Page Descriptor forms. The customizable home page is customizable by users, within constraints defined by the administrator. The administrator defines the default layout and the form views that appear at login according to the users group permissions. You can define different default home pages for different groups. See Using the AR System Customizable Home Page on page 443. Home PageThe traditional AR System home page. Entry points appear as links, or you can configure the Application List field to look like a navigation bar with entry points appearing as flyout menu items. Figure 14-1 illustrates a sample customizable home page. It contains an Application List field with multiple entry points. One of the customizable panels is shown, containing a view of the User form. Up to four panels can appear by default. The user can minimize each panel, delete it, or select another form to appear in the panel from a list of available views. Each user can save one customized home page, and can return to the default home page if necessary. The Application List field is collapsible, and is formatted to look like a vertical navigation bar. Entry points appear as flyout menu items, as shown in Figure 14-2.
Figure 14-1: Example AR System Customizable Home Page with application list
Figure 14-2: Sample AR System Customizable Home Page with entry points in flyout menu
Chapter 14
435
Figure 14-3 illustrates the traditional Home Page form containing multiple entry points and fixed form contents.
Figure 14-3: Example Home Page form with application list
System-generated heading that lists the user logged in to AR System.
Password management entry point Deployable application label Search window entry point New window entry point
The home page forms contain the following components: System-generated headingShows the home page banner heading, page title and the name of the user logged in to AR System. Application list field, which includes of the following items: Application headingWhen you create a deployable application and include any forms with entry points, the application name appears as the heading in the home page by default. If you add a label to your application, the label appears as its heading. Entry points In the properties for a form, you can specify an entry point that opens the form in New or Search mode. Entry points for forms that are not part of a deployable application appear in the Quick Links section. Entry point guidesWhen you create an active link guide, you can specify an entry point that opens the guide. In this case, the guide functions exclusively as an entry point. Make the labels for entry points task-specific and easily identifiable, for example,
Generate a New Request or New Employee Setup. The following table outlines
where labels for each item in the application list are derived from.
Table 14-1: Labels in an application list Label on application list Applications heading Form entry points Where the label is derived from The label of the application (deployable applications only) The following form view properties in the Properties tab: Entry Point, New Mode Entry Point, Search Mode Entry point guides The label of the active link guide
436
TIP
You do not need to make entry points for every starting point, only for those most frequently used. If you have a large number of entry points (for example, over 30), consider using the subset mechanism (see Viewing a subset of entry points on page 454) to limit the number of entry points displayed.
Chapter 14
437
NOTE
Initially, the browser displays entry points differently than BMC Remedy User does. For more information, see Understanding how a home page appears in a browser on page 459. Entry points are designed to hide underlying forms, applications, and guides and give users one point of access. In BMC Remedy User, the home page functions like a control panel and opens automatically after you log in (unless you disable it). In BMC Remedy User, you can still access the classic Open dialog box by choosing File > Open > Object List. In addition, BMC Remedy User lists the most recently accessed entry points by choosing File > Recent Entry Points. For more information, see Understanding how a home page appears in BMC Remedy User on page 461. Finally, you can localize entry points just like other AR System components. For more information, see Appendix H, Localizing AR System applications.
438
NOTE
Based on user preferences for locale and default view, different views of a form might be selected as entry points for each user login. For more information about how views are selected for users, see How a form view is selected for the user on page 394.
For a New Mode entry point, select Enable Entry Point. For a Search Mode entry point, select the Enable Entry Point check box.
5 In the Application List Display Order field for each mode you selected, enter a
value to order the mode entry point in the application list. The value must be greater than or equal to 1. It determines the order of entries in the application list. For example, an entry point with a value of 101 appears in the list after an entry point with value of 100. If the entry point orders are the same for multiple entry points, the order they appear in the Application List field is random. Plan the order of your entry points carefully. You can have gaps in the numbering.
6 Click OK, and save the form. 7 Make sure that your form and its fields have adequate permissions for users to
view the correct information. Users see only the entry points that they have permission to access.
8 (Optional) Add a Home Page form action button to your forms so that users can
easily return to the home page with one click. See Home page navigation aids on page 456.
Chapter 14
439
views properties.
3 In the Properties tab, set the following values to define the label that you want to
appear for the forms entry points in the application list: Entry Point, New Mode Entry Point, Search Mode
4 Repeat step 1 and step 3 for each view of the form.
If you do not define a label string, the Application List field displays the entry points by their form name.
the entry point guide. You can include additional actions, but you must create at least one Open Window action to open the forms window from your entry point. For information about creating active links and active link guides, see the Workflow Objects Guide.
2 Create an active link guide. a Specify the information required in the Associated Forms, Display, and Entry
Point panels. Here you specify the active link that opens the form (which you created in step 1). In the Application List Label field, enter a descriptive label; otherwise, the home page displays the guide name.
b Define your permissions.
Permissions are crucial for determining what groups of users can access your guide.
440
c Add any other active links you want to use that run after the form is opened
with the Open Window action you created in step 1. These active links run in the window you are opening with the starting active link. Therefore, these active links in their Form Name list must contain all the names of the forms that can be opened in the starting active link action.
This active link opens the Google search engine after the user clicks the link in the Application List field.
Chapter 14
441
For deployable applications, this label text appears in the home page as the application heading for your entry points. Otherwise, the application name appears by default as the heading.
Descriptive heading created from Label field.
You do not need to create a deployable application for the entry points of an application to appear in the home page. However, putting your forms into a deployable application lets you include a descriptive heading to categorize the entry points. For local applications, no headings appear. Only the list of entry points is displayed in the application list.
b On the Forms panel, add your forms to the application.
For deployable applications, make sure you use the Standard form view, unless you have must use a web view, for example, backward-compatibility with old applications and forms. See Chapter 13, Creating and managing form views.
3 Create as many applications with their forms and entry points as needed.
442
NOTE
The AR System Customizable Home Page is not supported in BMC Remedy User. If you choose the AR System Customizable Home Page form as the default home page, users running BMC Remedy User will instead be directed to the old Home Page form. If you are upgrading from a earlier release and have configured a different form as the home page, and you still want to use that form as home page in BMC Remedy User, you must edit the CHG:redirect WUT active link after installation to redirect BMC Remedy User users to the form that you are using as the home page. Figure 14-4: Customizable home page with four-panel layout
Predefined panel descriptors are installed with many BMC applications. In addition, administrators can define different default layouts for different access control groups. If a user belongs to two or more groups that each have a default layout defined, the default home page that appears is determined by a priority ranking set in the layout form entries.
Chapter 14
443
Users can expand and collapse the panels in the customizable home page. They can also remove and add panels, and can select from the available descriptors to control which forms appear in the panels of their home page. Users can save one customized home page layout. Customized user layouts are also stored in the AR System Home Page Layout form. If the user saves a custom layout, it overrides the Default layout for that user, but the user can return to the Default layout at any time.
that can appear in a home page panel. See Defining form descriptors on page 445.
Step 3 Create a default layout, and assign up to four Descriptor entries, one per possible
Page form. See Specifying a home page on the server on page 458.
444
In the Appearance properties for the form view, set the Layout Style property to Fill. This allows the field contents to expand and shrink as the panel changes size. If the field is a panel holder, make sure that the Layout Style property for the panel showing the main data content of the form is also set to Fill. In the view properties, set the Results Banner and Web Toolbar properties to Hidden. Avoid creating forms for the customizable home page that support user data editing. The panel display size is variable, and pop up editors can be clipped by the panel that is hosting the form. Avoid using workflow that fires on window open, load, or display. Doing so can cause unneeded queries to the AR System server. If multiple items of data are needed to render the form, use a Service workflow action call to combine these queries into a single call to the server. Use workflow to automatically populate data in the display-only form. Alternatively, add a Refresh button to the form to allow the user to update the data manually.
Chapter 14
445
446
3 Save the descriptor. Table 14-2: Administrator-defined fields in the AR System Home Page Descriptor form Field name Content ID Description Enter a unique name for this descriptor. This name appears in the Layout form when you are selecting the descriptors for a default layout. The best practice is to use a locale-independent Content ID. To do this, enter the same Content ID for all descriptors that represent the same content, with unique values in the Locale field. This allows AR System to localize the descriptors based on the Locale field entry in the descriptor form. Category Type or select the category for this descriptor. Categories that you have entered in other Descriptor form records appear on this dropdown menu. Categories provide a level of organization for the descriptor menus. For example, Help Desk form descriptors might be grouped together in a category. Label Enter a label for the descriptor. The label appears in the results list when you search the descriptor form, and in the panel selection menu on the layout form. Enter a title for the descriptor. The title appears in the form selection menu in the customizable home page panel. This is the title that users will see when selecting a form to appear in the panel, so use a name that will clearly identify for the user the information that will appear in the home page panel. Type or select the form name associated with this descriptor. This is the form that will appear in the home page panel. (Optional) Type the name of the form view to use in the home page panel, if not the Default Admin View. Select all groups that have permission to use this descriptor in a home page panel. The value in this field should match the locales of the localized views and data supported by any applications installed on the server. If the descriptor is to be used with the default locale of the server, leave this field blank. If the descriptor is to be used in another locale, enter the twocharacter locale value, such as fr for French. For locales where country-specific locales are supported for the same language, and these are supported consistently across the applications installed, enter the full locale specifier. For example, enter pt_BR for Brazilian Portuguese. Status Select the current status for this descriptor: ActiveThe descriptor can be used in a home page panel InactiveThe descriptor is not available for use in a home page panel PendingThe descriptor is not available for use in a home page panel and is pending review.
Title
Chapter 14
447
Groups
448
Description (Optional) Use this field only to localize the Banner Title and Page Title for the layout. If you create separate versions of the layout for each locale, you must make sure the layout definitions are consistent and complete, following these guidelines: You must create a separate layouts for every locale If the layout is to be used with the default locale of the server, leave this field blank. If the layout is to be used in another locale, enter the twocharacter locale value, such as fr for French. For locales where country-specific locales are supported for the same language, and these are supported consistently across the applications installed, enter the full locale specifier. For example, enter pt_BR for Brazilian Portuguese. Alternatively, to perform all localization based on the descriptor form entries, leave this field blank in the Layout form and use the same Content ID for descriptors that represent the same content, as described in Table 14-2 on page 447. In this case, you cannot localize the Banner Title and Page Title for the layout.
For each panel in the home page, select a descriptor to identify the form that will appear in the panel for the Default layout. Select whether or not the application list on the home page is expanded when the user opens the home page. ExpandedThe application list appears as a navigation bar on the left side of the home page. CollapsedThe application list is hidden, but can be expanded by the user.
Chapter 14
449
Another good practice is to use 1 as the lowest value for layouts assigned to groups. This reserves the priority setting of 0 for use by the administrator, so you can test a layout before making it available. To test a layout, enter the Administrator group in the Groups field for the layout being tested, and set the priority to 0. In this case, only members of the Administrator group will see this layout, and it will have highest priority when a member of Administrator logs in.
By assigning descriptors to the panels, you determine which panels are used on the home page: A single panel expands to fill the home page panel area. Two panels can appear horizontally or vertically. If you assign descriptors as shown in Figure 14-6, the two panels will be tiled horizontally on the home page. If you assign descriptors to the two top panels, they will be tiled vertically. For three panels, you can have one panel on the left and two on the right, or viceversa. There is no layout using one panel above and two below, or two above and one below.
3 In the Properties tab, set the values to define how you want the Application Field
form as needed.
6 Save your changes.
and click the Home Page tab. You can also use define BMC Remedy User settings by choosing Tools > Options to open the Options dialog box.
b Specify the server that the home page form resides on. c Specify the default Home Page form. d (For BMC Remedy User only) In the Object List field, select how you want users
to interact with the home page. For example, if you select Disable, the Object List menu item and icon is disabled, and users must use the Home Page to access forms and applications. For more information, see: Understanding how a home page appears in BMC Remedy User on page 461 Understanding how a home page appears in a browser on page 459
4 Display the home page.
For BMC Remedy User, log out and log back in. To display the home page after you close it, choose File > Open > Home. In a browser, enter the following URL:
http://hostName/arsys/home
For example:
http://server1/arsys/home
Chapter 14
451
NOTE
You should be familiar with HTML and Cascading Style Sheet (CSS) files before editing style sheets. An excellent background resource is the MSDN Library website (http://msdn.microsoft.com/en-us/library/default.aspx). See especially the sections on HTML, Dynamic HTML, and CSS Attributes. Although browser attributes are similar, they are not exactly the same. Not all attributes work with every browser.
NOTE
The arsystem.css file replaced the appfield.css (or ARSystemApplist.css) file, which was used before version 7.0.00. If you customized the appfield.css file, copy the customizations to the arsystem.css file after you upgrade BMC Remedy User. After users save their changes to the style sheet, they do not see changes to the Application List field immediately because it is generated at runtime. The next time they open the home page, the edited style sheet is applied to the Application List field. Users do not have to log out and log back in to see the change.
NOTE
Do not rename the style sheet. BMC Remedy User expects the arsystem.css file to be present in the installation folder. The style sheet is updated with every installation of BMC Remedy User. If you customize the file, you must reapply your changes after an upgrade of BMC Remedy User. The installer creates a backup of your previous style sheet, so the customizations are not lost.
452
sheet.
2 Open the arsystem.css style sheet in a text editor.
The arsystem.css file for each user is located in your BMC Remedy User installation directory folder.
3 Edit any of the attributes as needed.
You must use the defined style classes (for example, .HomeListAppFirstStyle). You can add any available style to these classes. Make sure you use the correct syntax, adding semicolons after an attribute, valid font families, correct color or RGB settings, and so on. Edit the font family, font size, and add a color to the style, for example:
.HomeListAppFirstStyle {font-family:Century Gothic; fontsize:10pt; font-weight:bold; color: red;} 4 Save your changes. 5 Close your home page (or the form containing the Application List field). 6 Open the home page.
The new attributes you defined appear in the Application List field.
When you open the home page in a browser, the browser automatically applies the appropriate style sheet. Users can then edit this style sheet to change fonts, colors, attributes, and so on. For more information about ARSystem.css for the mid tier, see the BMC Remedy Mid Tier Guide, Default style sheets provided with AR System, page 58.
Chapter 14
453
You must use the defined style classes (for example, td.FIRSTAPPNAME). You can add any available style to these classes. Make sure you use the correct syntax, adding a semicolon after an attribute, valid font families, correct color or RGB settings, and so on. Edit the font family, font size, and add a color to the style, for example:
td.FIRSTAPPNAME { font-family:'Century Gothic'; font-size:10pt; font-weight:bold; color:deeppink; } 4 Save your changes. 5 Refresh your home page in the browser.
The new attributes you defined appear in the Application List field.
NOTE
In the default Home Page form installed with AR System, there is a hidden reserved field named AppSubset (field ID 1576). You only need to add the necessary workflow to use it. You might want to hide the reserved field on most form views. If you set its field values with the Window Loaded execute condition, the Application List field is populated automatically with the subset of entry points when the window becomes loaded. The following procedure adds a special character field (the reserved field used to configure the list of entry points) and a button to a form. It then uses Run Process workflow to dynamically display a subset of servers and applications. To test this functionality, create multiple applications and entry points, or use multiple AR System servers.
NOTE
If you use multiple servers on the Web, add servers using the BMC Remedy Mid Tier Configuration Tool. See Specifying a server for the mid tier on page 458.
454
This value creates a special reserved field ID. If this field contains a value, only the entry points for these applications and servers are displayed. Most likely, you will want to set this value dynamically through workflow.
3 Add a button field to your form and name it Show All Entry Points. 4 Save your changes to the form. 5 Create an active link with the following conditions:
Associated Forms panel: Add your home page form. Execute Options panel: Enter Show All Entry Points in the Button/Menu field.
6 Create a Run Process If action with the following Run Process syntax: PERFORM-ACTION-HOME-FIELD-REFRESH 7 Save your active link. 8 Display your home page form.
All the entry points in the Application List field are displayed. But when you enter a value into the Configuration Field and click the Show All Entry Points button, you see a subset of entry points. For this example, two servers were used (polycarp and mirepoix). The Application List field on this sample home page contains a list of all the entry points this user can see that are available on these two servers.
Figure 14-7: Complete list of entry points
9 Enter the following syntax into the AppSubSet field to display a subset of servers
Chapter 14
455
Enter a backslash (\) escape sequence in the syntax if the application name uses a comma or period. For example, if the application is named Help.Desk on server polycarp, the escape sequence is as follows:
polycarp.Help\.Desk
Enter serverName to display all the entry points and applications that the user has permissions to access on serverName. Or, enter serverName.applicationName to display a subset of applications on a specific server. For example, if you entered the following text and clicked Show All Entry Points:
polycarp.MusicManager Application
The Application List field is redisplayed with only the entry points from the MusicManager application on the server polycarp.
Figure 14-8: Subset of entry points
456
For more information about workflow, see the Workflow Objects Guide.
TIP
Both BMC Remedy User and the mid tier use a hierarchy of values to resolve which home page form to open on what server. The particular settings specified in the AR System User Preference form override the global server and configuration settings.
Chapter 14
457
wide. Select the AR System Customizable Home Page form to allow users to customize the forms that appear in panels on home page. Select the Home Page form to use the traditional AR System home page. Select a form that you designed. The form must include an Application List field. See Using entry points in applications on page 442.
4 Click OK.
For more information about configuring a home page server, see the Configuration Guide, Server InformationConfiguration tab, page 128.
458
4 If you use the subset reserved field (ID 1576) in your workflow and you use a
combination of fully qualified domain names and relative host names, add all the variations of server names to AR Server Settings. For example, add the server names arserver, arserver.staff.acme.com, arserver.acme.com, and arserver.acme2.com. For more information about the subset field, see Viewing a subset of entry points on page 454.
5 Save your changes.
the AR System User Preference form. If you defined a home page server in user preferences, the mid tier uses this setting to search for a home page form. For more information, see Specifying a server and home page in the AR System User Preference form on page 462.
NOTE
If you do not create an entry in the AR System User Preference form, the mid tier creates a default record for you, but it does not populate the fields relevant to the home page settings. These are left blank by default.
Step 2 If no user preference is defined, the mid tier checks the home page server setting
in the Configuration Tool. If there is no configuration setting, the mid tier displays an error. In this example, the mid tier found the server server1 in step 1. The mid tier then checks for available home page forms. You define preference servers by clicking Home Page Settings in the Configuration Tool. For more information, see Specifying a server for the mid tier on page 458.
Step 3 If the mid tier locates a home page form defined in your user preferences, the
browser displays it as your home page. In this example, the user preference was not the default Home Page form installed with AR System, but HelpDesk, an alternate home page form. The browser opens and display HelpDesk as the home page.
Chapter 14
459
Step 4 If you did not specify a home page in your user preferences, the mid tier searches
for a home page form on the server defined in step 1 and step 2. When a home page is found and opened, the mid tier has compiled a list of entry points from all the servers listed in the AR Server Settings in the Configuration Tool and displays them in the home pages Application List field. If two applications have the same name, the mid tier displays their server name as well, as shown in Figure 14-9.
Figure 14-9: Application list field displaying applications with same name
If such a form cannot be found, the mid tier displays an error and no form is opened in the browser.
NOTE
The entry point labels that appear in the application list field are also determined by the form views. You must set the correct view label to expose, for example, a web view of the forms entry points. Otherwise, you might define an entry point that is not displayed properly in your web view. The system displays views based first on the view label and then the locale. For more information, see How a form view is selected for the user on page 394. For more information about configuring home page servers, see the Configuration Guide, Home Page tab, page 104.
460
User checks the server that is defined as a user preference on the Home Page tab of the AR System User Preference form. If you are using a preference server and you configured a home page server, BMC Remedy User uses this setting to search for a home page form. With BMC Remedy User, the user preference is optional. For more information, see Specifying a server and home page in the AR System User Preference form on page 462.
Step 2 If you did not define any user preferences, BMC Remedy User checks for the home
page options defined in the Options dialog box (Tools > Options).
Step 3 If no options are defined in the Options dialog box, BMC Remedy User checks for
login list as an alternative. In this example, suppose the server found server1 in step 1. The server then checks server1 for available home page forms.
Step 5 If the server locates a home page form defined in your user preferences,
BMC Remedy User opens and displays it as your home page. In this example, the user preference was not the default Home Page form installed with AR System, but HelpDesk, an alternate home page form. BMC Remedy User opens and displays HelpDesk as your home page.
Step 6 If you did not specify a home page in your user preferences, BMC Remedy User
uses the Default Home Form defined on the Configuration tab in the AR System Administration: Server Information form. For more information, see Specifying a home page on the server on page 458.
Step 7 If you did not configure a home page form on your server, BMC Remedy User
searches for the first form it can find that has an Application List field.
Step 8 If such a form cannot be found, BMC Remedy User checks the next server in your
home page form, no form is opened in BMC Remedy User and a warning is returned (ARWARN 1898).
Chapter 14 Defining entry points and home pages 461
For BMC Remedy User, the server compiles a list of entry points from all the servers in your login list and displays them in the home pages Application List field. If two applications have the same name, BMC Remedy User displays their server name as well, as shown in Figure 14-9.
Figure 14-10: Application list field displaying applications with same name
Specifying a server and home page in the AR System User Preference form
Although a default Home Page form is installed with the AR System, you can define a different home page. Your user preferences override both the global server settings and mid tier configuration options. These user preferences allow you to define a customized home page form for particular groups of users (for example, Marketing and Engineering). You can also specify one home page for each user. For example, people working primarily in Marketing can see one home page. But if they communicate frequently with Engineering, they can have access to engineering applications, and the home page they see can be appropriately customized.
NOTE
With BMC Remedy User, user preferences are optional. With the mid tier, if you do not set any user preferences for your users, default values are not returned from the server or form. However, use the BMC Remedy Mid Tier Configuration Tool to define a mid-tier server and set the home page form for the server. For more information, see Specifying a server for the mid tier on page 458.
462
To specify a server and home page in the AR System User Preference form
1 Open the AR System User Preference form in BMC Remedy User or a browser.
NOTE
You can also define these preference settings through the Options dialog box. Choose Tools > Options, and click the Home Page tab.
2 Click the Home Page tab. 3 Specify the server the home page form resides on. 4 Specify the default Home Page form. 5 Select how you want users to interact with the home page.
For example, selecting Disable in the Object List field hides the menu item to access the Object List. For backward compatibility, the Object List familiar to those who know BMC Remedy User is still available (choose File > Open > Object List). You can also choose to show or hide this dialog box through these user preference settings.
6 Click Save.
You must log in again to see your changes take effect. The server on which the AR System User Preference form resides must be specified as the preference server when you log in.
Chapter 14
463
464
15
Chapter
A packing list is a container of objects that acts as a list. A developer can use a packing list to organize objects during the development phase. For example, if you add all forms and workflow that together perform a function into a packing list, it is easy to find all the related objects later when you need to add or revise the functionality. The following topics are provided: Using packing lists (page 466) Creating packing lists (page 466) Saving packing lists as XML import/export command files (page 469)
Chapter 15
465
NOTE
If you use the Distributed Server Option (DSO), you cannot track DSO mappings that were renamed. Packing lists can track only server objects with database IDs. DSO mappings are not server objects, so they are not tracked by their database ID, but by their actual names. Therefore, if you change a DSO mappings name and then open a packing list that contained that mapping, the DSO mapping is missing from the packing list.
You cannot enter more than 255 characters in the Label field or more than 2000 characters in the Description field.
466
4 Add the packing list objects. a Click Add. b In the Add Items dialog box, select the objects you want to add.
To view from more than one object category, click Select All in the Filtering Options area. Use the CTRL and SHIFT keys to select more than one item from the Available Objects list.
Figure 15-2: Adding items to a packing list
c From the Add Items with Related Property list, select the appropriate option for
your packing list: Object OnlyAdd only the selected objects (and not their related objects). Directly Related ObjectsLimits the scope of server objects when shared workflow is added to the packing list. See the table in Table 15-1 on page 468. All Related ObjectsAdds all selected objects and their related objects.
d Click OK.
Chapter 15
467
5 In the Properties tab, set the values for the following properties, as needed:
Help Text New Description (a description for Change History) Owner Permissions Subadministrator Permissions
6 Choose File > Save. 7 In the Save Packing List As dialog box, enter a name.
Packing list names must be unique on each AR System server. Although there are no naming conventions, create names that provide meaningful descriptions of the packing list. Names can be a maximum of 80 characters, including spaces. Names can include double-byte characters, but avoid using numbers at the beginning of the name. Names are shared across packing lists, active link guides, filter guides, web services, and applications, so each name must be unique.
Join forms
Active links
Filters
468
Table 15-1: Related objects in a packing list (Sheet 2 of 2) For: Filter guides Applications Web Services Menus Groups Flashboards Images Packing list includes: All filters referenced in the guide as well as all associated objects for those filters. All associated forms and the list of related objects associated with those forms. Included as an independent object. No related items included. Included as an independent object. Included as an independent object. Included as an independent object.
click the name of the list and choose Save as Import/Export Commands
2 In the Save as Import/Export Commands dialog box, select or enter a file to write
For information about the import/export CLIs and the use of this XML file, see the Integration Guide, Exporting and importing data and definitions, page 233.
Chapter 15
469
470
Appendix
Core fields
This section describes the AR System core fields and their uses. The following topic is provided: Core fields (page 472)
471
Core fields
AR System core fields are a set of fields that every regular form must have. You can include these fields in other forms; if present, the fields follow the same rules and have the same meanings. The commonality gained by such a convention is useful for conceptual consistency, sharing definitions, and exchanging and merging databases. Additional limits are placed on the core fields, including the fact that some fields are required, others are maintained by the system, and others have fixed or maximum sizes. Core fields generally appear on every regular form to make sure that all forms share a common set of concepts. AR System automatically includes core fields on all regular forms. Because display-only forms and joins do not directly store data in the database, core fields are not required for these types of forms. Core fields are also not required for view and vendor forms because they map to external data sources, which might not have these fields. Core fields help provide consistency when merging and sharing data. Core fields significantly aid in the construction of solutions based on AR System. You cannot delete core fields from regular forms although you can modify their appearance by altering labels, adding or changing menus, altering the display type, altering their location, or hiding them from view. The following table lists the AR System core fields.
Table A-1: AR System core fields (Sheet 1 of 2) ID 1 Field name Request ID Description A unique identification value for each request in the system. Groups that have neither Change nor View access to the Request ID field do not have access to any other form information, regardless of the permission settings of the other fields. Data Type: Character Length: 515 For join forms, there is no limit to the number of layers of joins that AR System supports, so the Request ID field of a join form contains more than 15 characters. See Joining three or more forms on page 165 for more information.
Note: Do not change the QBE Match setting to Equal for the Request
ID field. Because AR System adds a prefix and a series of zeros to Request IDs before it begins a search, users cannot run valid QBE searches against Request ID numbers if you set the QBE Match setting to Equal or Leading.
472
Core fields
Table A-1: AR System core fields (Sheet 2 of 2) ID 2 Field name Submitter Description The name of the AR System user who was logged in and submitted the request. This field is tied to the Submitter group when defining row-level security. For more information about row-level security, see Controlling access by using implicit groupsRow-level security on page 38. Submitter is a required field. Data Type: Character Length: 254 3 Create Date The date and time at which the request was created in the system. The AR System server sets this field, and it cannot be modified. Data Type: Timestamp 4 Assigned To The user who is assigned responsibility for the request. This field is tied to the Assignee group when defining row-level security. For more information, see Controlling access by using implicit groupsRow-level security on page 38. Data Type: Character Length: 254 5 Last Modified The name of the user who last altered the request. AR System sets By this field to the login name of the user who last changed the request. It cannot be modified. Data Type: Character Length: 254 6 Modified Date The date the field was last modified. The AR System server sets this field to the time the last change to this request was made. It cannot be modified. Data Type: Timestamp 7 Status Indicates the current state of the request. Users have control over this field. It must have a value at all times; there must be a default value in the event that the user does not specify a value when the request is created. The actual names and values of the status field can be customized. Status is a required field. Data Type: Selection 8 Short Description A brief description of the request. A size limit forces the submitter to be concise. Short Description is a required field. Data Type: Character Maximum Length: 254 15 Status History The user who last made a change, and the time the change was made to each of the states identified by the Status field. AR System sets and maintains this field, and it cannot be modified. If status history recording and reporting is disabled, the status history is cleared and not updated. Data Type: Character
473
Request ID field
AR System uses the Request ID field (Field ID 1) to provide a unique identification value for each request entering the system. It is created and maintained by the system. To improve the usability of the Request ID field, you can add a prefix to the field to make it more descriptive to your users. For example, in a distributed server environment where you transfer requests from Los Angeles to Chicago, the system can add the prefix LA to requests generated on the Los Angeles server and CHI to requests from Chicago. For more information, see the Configuration Guide, Changing the Request ID field length or prefix, page 336. The Request ID field is fundamental to access control in AR System. Without access to this field, users have no access to the request, even if they belong to groups with access to other fields on the form. Groups that have neither Change nor View access to the Request ID field do not have access to any other form information, regardless of the permission settings of the other fields. For more information, see Using the Request ID field with implicit groups on page 40.
Submitter field
The Submitter field (field ID 2) defines which user created a request. The user who create a request is automatically a member to the Submitter implicit group. See Submitter and Assignee access on page 39. For information about preventing changes to this field, see the Configuration Guide, Enabling submitters to modify requests, page 65.
474
Core fields
Status field
Your application can use the Status field (field ID 7) to track the different states a request moves through in its life cycle. The meaning of each individual state helps define the workflow process and you can define any number of states. In addition to keeping track of each state of a request, AR System keeps additional information with the Status field called status history. Status history includes the user name of the person who last changed the state of the request and the date and time that the change occurred. If status history recording and reporting is disabled, the status history is cleared and not updated. Define states carefully. The Status field is the key field that represents the problem resolution process. The states must capture the important steps in the process, although not all states might be used during the life cycle of a single request. A good process is often represented by four or five states. It is difficult to modify the Status field choices after users have begun to use the form, because the data for a selection field is stored in the database as an integer that relates to the order of the choices. For more information about selection fields, see Selection fields on page 376.
Assigned To field
The Assigned To field (field ID 4) enables ownership of each request to be tracked. If requests are designed to pass ownership from one user to another, create workflow that uses the Assigned To field. Users who are assigned ownership to a request are automatically assigned membership in the Assignee group. For more information about the role of the Assignee group in AR System, see Special groups in AR System on page 23.
475
476
Appendix
Reserved fields
AR System reserved fields are special-purpose data fields. Some of these fields are used in the User or Group forms. Others are used for assignee group access, the Distributed Server Option, web applications, or localization. You can use certain reserved fields in your forms. When these fields are used in your forms, they retain the special meaning and use as defined in this section. AR System contains fields that are reserved for system use. If you create fields with these IDs, certain actions automatically take place.
WARNING
When a form contains one of a number of combinations of reserved fields, the AR System server identifies it as a key form. For example, a form that contains fields with IDs 101, 102, and 103 is identified as the User form. You must avoid these special combinations of reserved fields to make sure the server does not identify a form incorrectly. For details, go to the Support page on the BMC website at http://www.bmc.com/ support and see Knowledge Base Self Help Document ID 20003599. This section lists the ranges of reserved fields and a description of the fields. The following topics are provided: Reserved field ranges (page 478) Reserved IDs used as placeholders in definitions (page 479) Reserved fields in access control (page 480) Localization reserved field (page 483) DSO reserved fields (page 484) Form action reserved fields (page 486)
Appendix B
Reserved fields
477
478
IMPORTANT
In the Best Practice Customization mode, a warning is displayed when you create or copy fields in the BMC reserved range on an overlay form. This warning states that creating or copying fields may cause a failure in future application upgrades, if the created field conflicts with a similar field introduced during an upgrade. However, this warning is not displayed when you create or copy fields in the BMC reserved range on a custom form. In the Base Development mode, a warning is displayed when you create fields using the field ranges that are outside the BMC reserved range on a base or overlaid form.
Set to Defaults Used in Open Windows action to indicate that fields on the opened form should be set to their default settings. Data type: Not applicable Like ID Used in Push Fields and Set Fields actions to indicate mapping of like IDs. Data type: Character Number between 1 and 100 indicating the quality of a match. The closer to 100, the better the match. Data type: Integer Used to display a subset of entry points. This field is hidden on the default Home Page form installed with the AR System. Create this field as necessary on your own home page form. Data type: Character
98
99
Weight
1576
AppSubset
Appendix B
Reserved fields
479
480
Table B-3: Reserved fields for access control (Sheet 2 of 4) ID 107 Field name Group Type Form Group Description The maximum permission type intended for the group named in the Group name field. Data type: Selection (None, View, Change) 108 Default Notification Mechanism License Type Full Text License Type User The notification method used if the user specifies the default mechanism. Data type: Selection (None, Alert, Email) User User The type of license that the user has. Data type: Selection (Read, Fixed, Floating) 110 The type of full text search license that the user has. Data type: Selection (None, Fixed, Floating) 112 Assignee Group any The groups or users assigned responsibility for the request. This field is tied to the Assignee Group group when defining rowlevel security. For more information about this type of security, see Controlling access by using implicit groupsRow-level security on page 38. Data type: Character Maximum length: 255 115 Write License Pool User The license pool from which floating write licenses are taken. Data type: Character Maximum length: 30 116 FTS License Pool User The license pool from which floating full text search licenses are taken. Data type: Character Maximum length: 30 117 Authentication Login Name User This field is used for external authentication under certain conditions. For more information, see the Configuration Guide, Setting up an authentication alias, page 76. Data type: Character Maximum length: 254 118 Authentication String User This field is used for external authentication under certain conditions. For more information, see the Configuration Guide, Setting up an authentication alias, page 76. Data type: Character Maximum length: 255 119 Computed Group List User After a search, displays the computed groups the user is associated with. Data type: Character Maximum length: 255 Appendix B Reserved fields 481
109
Table B-3: Reserved fields for access control (Sheet 3 of 4) ID 120 Field name Form Description The group category, such as Regular, Dynamic, or Computed. Data type: Selection 121 Computed Group Definition Group Boolean statement that defines a computed group. For information about computed groups, see Groups you createRegular, computed, and dynamic on page 25. Data type: Character 122 Application License User For users of licensed applications, the name of the application and the type of license. For more information about licensing applications, see the Integration Guide, Making applications licensable for integration system vendors, page 323. Data type: Character 123 Encrypted String any This field encrypts input text. The resulting encrypted string is 120 characters long. Data type: Character Minimum length: 120 179 Unique Identifier User and Group This field is used internally by applications installed on top of AR System. It replaces field ID 490000000 (Instance ID) in version 6.x. See your product documentation for more information. Data type: Character Maximum length: 38 1700 Application Name Roles Name of the application for which the role is defined. Data type: Character Maximum length: 250 1701 Role Name Roles Name by which the role is known. Data type: Character Maximum length: 255 1702 Role ID Roles Integer ID that is the recognized identity of the role. The ID must be a negative number, such as -10001. Data type: Integer 2001 Test Roles The regular or computed group to which you want to map the role for the Test application state. Data type: Character Maximum length: 255
482
Table B-3: Reserved fields for access control (Sheet 4 of 4) ID 2002 Field name Production Form Roles Description The regular or computed group to which you want to map the role for the Production application state. Data type: Character Maximum length: 255 60000 60999 Dynamic groups any The roles, groups, or users assigned responsibility for the request. This field is tied to a dynamic group when defining row-level security. For more information about this type of security, see Controlling access by using implicit groupsRow-level security on page 38. Data type: Character Maximum length: 255
Note: The ITSM suite of applications uses field
ID 60900 to control multitenancy in certain ITSM forms. Do not use ID 60900 for customizing the ITSM applications. 490000000 Instance ID User and Group Replaced by field ID 179 (Unique Identifier) in version 6.x. This field is used internally by applications installed on top of AR System. See your product documentation for more information. Data type: Character Maximum length: 38 490000100 Object ID User and Group This field is used internally by applications installed on top of AR System. See your product documentation for more information. Data type: Character Maximum length: 38
Appendix B
Reserved fields
483
484
Table B-5: DSO reserved fields (Sheet 2 of 3) ID 311 Field name From Server Description The server from which a request was transferred. Data type: Character Length: 64 312 To Form The form to which a request should be transferred. Data type: Character Length: 254 313 To Server The server to which a request should be transferred. Data type: Character Length: 64 314 When to Update The frequency with which to update the original request if a transferred copy is updated. Data type: Selection (Daily, Hourly, Immediately, No Update, On Return) 315 Transfer Mode The type of transfer to perform. Data type: Selection (Copy + Delete, Data + Ownership, Data Only, Independent Copy) 316 Duplicate Entry ID Action The action that occurs if you transfer a request and a request with the same ID already exists in the form specified in the To Form field. Data type: Selection (Create New, Error, Overwrite) 317 Max Time to Retry From Pool The maximum time (in seconds) that the system should retry a distributed operation before canceling the operation. Data type: Integer 318 DSO pool on the source server that processed the distributed operation. Data type: Character Length: 254 319 Enforce Pattern Matching Require Required Fields Flag indicating whether to enforce patterns defined in fields on the target form during distributed operations. Date Type: Selection (No, Yes) 320 Flag indicating whether to require values in fields defined as required fields on the target form. Use this field to enable transfer of an entry with a NULL value in a required field. Date Type: Selection (No, Yes)
Appendix B
Reserved fields
485
Table B-5: DSO reserved fields (Sheet 3 of 3) ID 321 Field name Matching Qualification Description The qualification used to match a source request with a request in the target form. Data Type: Character Length: 0 322 DSOUniqueID A reserved field (ARDS_RESERV_DISTRIB_UNIQUE_ID) that has characteristics similar to field ID 112. Field ID 322 enables DSO to perform distributed operations on join forms. For more information, see the BMC Remedy Distributed Server Option Guide, Performing distributed operations on join forms, page 81. Data Type: Display-only character Length: Undefined
486
Table B-6: Form action reserved fields (Sheet 2 of 2) ID 1008 1009 1010 1011 1012 1020 Field name Help New Search New Request Show Status History Home Results List Description Opens help for the form. Data type: Button Changes the form to Search mode. Data type: Button Changes the form to Create mode. Data type: Button Displays the progress made on an AR System request. Data type: Button Displays the form you have configured as your home page. Data type: Button Displays results of a search. Data type: Button
Appendix B
Reserved fields
487
488
Appendix
Special forms
This section describes the system-defined forms that are loaded during AR System installation. Some of these forms are required for baseline AR System functionality. The following topic is provided: AR System installed forms (page 490) For more information, see the Installation Guide, Locating BMC Remedy AR System files and forms, page 185.
Appendix C
Special forms
489
System Description Used for queuing processes and requests. This form works with the Dispatcher thread, which routes requests to the appropriate queues. The Dispatcher wakes up the process that the Application Pending request indicates requires execution. For more information about the Dispatcher thread, see the Configuration Guide, Threads, page 29. Used to monitor and analyze the performance of your deployable applications and forms. For deployable applications, logs entry, filter, and escalation statistics for all forms participating in the application statistics. Also logs application licensing statistics. For forms, logs entry, filter, and escalation statistics. For more information, see the Optimizing and Troubleshooting Guide, Logging application and form statistics, page 17.
Application Statistics
Verifies or changes application and form statistics logging settings. For more information, see the Optimizing and Troubleshooting Guide, Logging application and form statistics, page 17.
490
Table C-1: AR System installed forms (Sheet 2 of 10) Form name Application forms (continued): AR System Application State + Defines the development state (such as Test or Production) for a deployable application. You can edit the entries in this form in the user client or create workflow that acts on this form to change the applications state. Changing the state changes the access permissions to the application (and to objects owned by the application) according to the role-group mappings defined for each state in the Roles form. See Working with deployable application states on page 97 for more information about application states. SHARE:Application_Interface
+
System Description
Required by the following applications (and their previous versions) to load their systems, sub-systems, and help: ITSM 7.0 suite (AM, CM, IM, PM and DSL) SLM 7.0 Approval Server 7.0.00 Assignment Engine 7.0.00 (Assignment Engine has a load dependency order on other applications that load this form.) Also required by the following applications: Customer Support 6.0 Quality Management applications.
SHARE:Application_ Properties
Required by applications to register their versions and other necessary information, and get the unique identification (GUID) on that server at the time of installation. This information is used by other applications for communication. Enables you to view and modify the AR System server information. For more information, see the Configuration Guide, Configuring AR System servers, page 122.
Enables administrators to provide localized versions of error messages, help text, menus, and other text strings displayed to users in applications that are customized by locale. The use of this form can be enabled or disabled. See Appendix H, Localizing AR System applications, for how to use this form.
Appendix C
Special forms
491
Table C-1: AR System installed forms (Sheet 3 of 10) Form name AR System Object Relationships System Description
+
View forms providing access to the object relationship data recorded when Record Object Relationship is selected on the Configuration tab of the AR System Administration: Server Information form. For more information, see the Configuration Guide, Server InformationConfiguration tab, page 128.
Used by administrators to configure the integration between AR System and BMC Atrium Orchestrator. For more information, see the Integration Guide, The AR System Orchestrator Configuration form, page 226.
Used to define templates. For more information, see Resources for templates on page 388. Stores searches that users can create and save for a form. Each search is an entry in this form. For more information, see the BMC Remedy Mid Tier Guide, Setting up searches for your end users, page 90.
Stores the ranking of servers for operation ownership within a server group. This form is loaded only when the AR System server is configured to be a member of a server group. .
Assignment Engine forms: ASE:Assignment Association ASE:ProcessRuleForm Assignment Engine Administration Assignment Forms Assignment Processes Assignment Rules Search Rules BMC Atrium Web Services Registry integration forms: AR System Web Services Registry AR System Web Services Registry Pending Delete
+ +
Used to run the Assignment Engine. For more information, see the Configuration Guide, Using the Assignment Engine, page 265.
Used by the integration between AR System and the BMC Atrium Web Services Registry. For more information, see the Integration Guide, Registering a web service, page 80.
492
Table C-1: AR System installed forms (Sheet 4 of 10) Form name BMC Remedy Alert forms: Alert Events
+
System Description Contains alerts that are sent to users. If a notify action of a filter or escalation sends an alert, the alert text and reference is stored in this form. For more information, see the Configuration Guide, Alert Events form, page 254.
Alert List
Provides a web view with an alert list field already created. You can add this form to your web-based applications for viewing lists of alerts in a browser.
+ + + + + + + +
Business Time forms: Business Segment-Entity Association Business Segment-Entity Association_Join Business Time Holidays Business Time Segment Business Time Shared Entity Business Time Shared EntityEntity Association_Join_Join Business Time Workdays Currency forms: AR System Currency Codes Holds the currency codes that are available on a server. Each code can be activated or inactivated by checking the Active field on the form. Activating a currency code makes it available to the clients. Contains localized labels that override the currency codes in the menus associated with currency fields in BMC Remedy User and browsers. Queried by clients to retrieve overridden currency labels. There is no interaction with this join form. Holds the ratios for converting one currency to another. This form can include ratios for both conversion directions (for example, from USD to Euro and from Euro to USD) because these conversion rates are sometimes different. This form can store current and historical conversion rates. Used to define periods of availability and unavailability, workdays, and holidays to calculate business schedules. For more information, see the Configuration Guide, Using Business Time in the AR System server, page 215.
Appendix C
Special forms
493
Table C-1: AR System installed forms (Sheet 5 of 10) Form name Data visualization forms: Data Visualization Definition Data Visualization Module Data Visualization System Files DSO forms: Distributed Mapping
+
System Description Used to set up a data visualization module to display graphical data in a field on a form. For more information, see the Integration Guide, Data visualization fields, page 167. Defines and maintains parameter and data control values for a specific distributed mapping. Maintains a queue of pending distributed transfers, updates, returns, and deletes. Maintains a queue of failed pending distributed operations. Includes information about the error that caused the failure. Defines and maintains definitions of specific distributed pools. Used to create and add flashboards to a form and to handle them at run time. For more information, see the BMC Remedy Flashboards Guide.
+ +
Distributed Pool Flashboards forms: FB:Alarm Events FB:Alarm Monitor FB:CumulativeServerStatistics FB:Datasource FB:DataSourceVariables FB:Flashboards FB:History FB:History Summary FB:NonCumulativeServerStatistics FB:Variable FB:Variable Attributes FB:User Privilege Flashboard Server Statistics Sample Group
Used to create access control groups to which you grant or deny access to AR System objects. There must be exactly one Group form defined on a server. See Creating groups on page 49 for how to use this form.
Home Page
Used as a convenient starting point for administrators and site managers to display entry points. This default form is automatically installed with AR System.
494
Table C-1: AR System installed forms (Sheet 6 of 10) Form name inetorgperson System Description Provided as an example form based on an industry standard directory service user schema. Each field on the form references an attribute defined by the inetorgperson object class. Enables administrator to view and modify configuration parameters for the ARDBC and AREA LDAP plug-ins that are stored in the ar.cfg (or ar.conf) file. Requires the Configuration ARDBC plug-in. For more information, see the Integration Guide, ARDBC plug-ins, page 127. AREA LDAP Configuration Enables administrators to view and modify the parameters for the AREA LDAP plug-in. The parameters are used to query the LDAPenabled directory service for authentication purposes and user information. Enables administrators to view and modify the parameters for the ARDBC LDAP plug-in. The parameters are used to establish connections with LDAP-enabled directory services. + Used to add, activate, modify, deactivate, and remove licenses for the AR System server, server components, and applications based on AR System. For more information, see the Configuration Guide, Adding licenses, page 40, and the Configuration Guide, Removing licenses, page 41. AR System Current License Usage Tracks all licenses currently in use on the server when the Enable License Tracking option is selected in the AR System Administration: Server Information form. You can use the data in the AR System Current License Usage form to generate flashboards that show current license usage. For more information, see the Configuration Guide, AR System Current License Usage form, page 46.
Appendix C
Special forms
495
Table C-1: AR System installed forms (Sheet 7 of 10) Form name AR System Historical License Usage System Description Tracks information about licenses that are released while the Enable License Tracking option is selected in the AR System Administration: Server Information form. You can use this data to generate flashboards that show the following information for specified time periods: License usage for a single user, including each time that the user acquired or released a particular license type Number of licenses used by all users for a specified application, license type, or license pool For more information, see the Configuration Guide, AR System Historical License Usage form, page 48. AR System Licenses AR System Tags Log forms: AR System Log: Alert AR System Log: ALL AR System Log: API AR System Log: Escalation AR System Log: Filter AR System Log: FullText Index AR System Log: SQL AR System Log: Server Group AR System Log: Thread AR System Log: User Metadata forms
+ + + + + + + + + + + +
Internal supporting forms for licensing. Receives log information when a log mode is configured to log to a form. For more information, see the Optimizing and Troubleshooting Guide, Using log files, page 43.
View forms used by AR System client programs to access server objects. These forms are not designed for access using BMC Remedy User or the browser.
496
Table C-1: AR System installed forms (Sheet 8 of 10) Form name Preference forms AR System User Preference AR System User Central File AR System Administrator Preference System Description Store user preferences centrally, providing roaming profiles for any AR System user. These forms are loaded when they are selected in the Select BMC Remedy Action Request System Components dialog box during installation of the AR System server. Users can access these forms in BMC Remedy User or in a browser to view and set their preferences. In BMC Remedy User, choose Tools > Options to set preferences. In BMC Remedy Developer Studio, choose Window > Preferences to set preferences. For more information, see the Configuration Guide, Setting user preferences, page 81. Reporting forms: Report Links reports to forms on the same AR System server that hosts the Report Form, and provides the structures needed for granting permissions to run a report for specified groups. Administrators and individual users can submit entries to this form. For more information, see the BMC Remedy Mid Tier Guide, Managing reports with the Report form, page 98. ReportCreator Provides the interface to create and maintain AR System native report definition files. This form is a vendor form using an ARDBC plugin. The data is actually stored in the Report form as attachments. This is a legacy report form. For more information about this form, see the BMC Remedy Mid Tier Guide. For more information about ARDBC, see the C API Reference, ARDBC plug-in API functions, page 553. ReportToFile ReportType Records report file names. Specifies how each type of report (for example, Crystal or user-defined) is created, edited, and run. Generally, only administrators can submit or modify entries in this form, but users must be able to view the entries. For more information, see the BMC Remedy Mid Tier Guide, Defining report types, page 109.
Appendix C
Special forms
497
Table C-1: AR System installed forms (Sheet 9 of 10) Form name ReportSelection System Description Used in workflow to prompt users to select a report to run. This form has no entries. This is a legacy report form. For more information, see BMC Remedy Mid Tier Guide. Roles
+
Defines roles for each deployable application, and maps the roles to explicit groups on the server. You must map roles to groups for each application development state, such as Test or Production. See Creating and mapping roles on page 55 for how to use this form. There must be exactly one Roles form defined in a server.
Server Events
Contains a record of internal events for a particular server. Event types that can be recorded include server structure changes, user and group changes, and server setting changes. Set options for recording server events using the AR System Administration: Server Information form of the AR System Administration Console. For more information, see Configuration Guide, Working with the Server Events form, page 197.
Server Statistics
Enables the server to automatically store server statistics. These statistics can then be graphically displayed by client programs such as Flashboards and used to analyze server performance. For more information, see Optimizing and Troubleshooting Guide, Using server statistics to gather baseline data, page 15, and the C API Reference, ARGetServerStatistics, page 380.
User
Used to define users, their characteristics, and their access rights within AR System. There must be exactly one User form defined on a server. For more information, see Configuration Guide, Adding and modifying user information, page 57.
Used by users to change their passwords. For more information, see Configuration Guide, Enabling users to change their passwords at will, page 75.
498
Table C-1: AR System installed forms (Sheet 10 of 10) Form name Version control forms: System Description For information about the features that use these forms, see Chapter 2, Using version control.
+
Stores information about labels used to identify a collection of objects for versioning purposes. See Labeling a collection of objects on page 78.
Stores information that links a version control label to various objects. See Labeling a collection of objects on page 78.
AR System Version Control: Object Modification Log AR System Version Control: Object Reservation AR System Version Control: Task View selection forms: AR System Actor View
+ + +
Records changes to server objects. Records object reservations. Reserved for future development.
Stores actor definitions for actor-based view selection. Each actor is an entry in this form. See Configuring actor-based view selection on page 396.
Stores information that links actors to views for actor-based view selection. See Configuring actor-based view selection on page 396.
Visualizer forms: Visualizer Module Images Visualizer Module Registration Visualizer Type Information Visualizer Type Object Props Visualizer Type Style Info
Appendix C
Special forms
499
500
D
Property Active Link(s)
Appendix
Field properties
For each field on a form, you use the Properties tab in BMC Remedy Developer Studio to set properties that determine how the field looks and acts during operations performed in a browser and in BMC Remedy User. The properties listed in the Properties tab vary depending on the type of field you are creating or modifying. The following table lists the field properties in alphabetical order.
Table D-1: Field properties (Sheet 1 of 31) Field type Button Navigation field menu item Add Label Add New Panel Alignment Attachment pool Panel holder (all) Data (all) Display (all except navigation field menu items) Composite (all except table columns and panels in panel holders) Attachment Data (all) Button Attachment pool Navigation (all) Attachment pool Attachment Description See To create a button field on page 210. See To create a navigation field on page 205. See To create an attachment pool on page 198. See To create a panel holder on page 336. Specifies whether the fields horizontal position is anchored to the Left (default) or the Right side of a form. This property is valid only in the mid tier, not in BMC Remedy User. See Anchoring fields to the right side of a form or panel on page 420.
Allow Any User to Submit Alternative Text Attach Name Label Attach Orphaned Items Attachment Fields Attachment Pool List
See Special submit setting on page 36. See To add an image to a button on page 212. See To create an attachment pool on page 198. See To create a navigation field on page 205. See To create an attachment pool on page 198. See To move an attachment field from one attachment pool to another on page 200.
Appendix D
Field properties
501
Table D-1: Field properties (Sheet 2 of 31) Property Audit Log Key Audit Option Field type Attachment Data (all) Attachment Data (all) Description See Specifying fields to be audited on page 551. Select one of these options: NoneChanges to the field are not recorded by any audits. AuditChanges to this field trigger an audit. New values are recorded in the audit form or log form, depending on the audit style set at the form level. CopyChanges to this field are recorded during an audit, but they do not trigger an audit. Audit and CopyChanges to this field trigger an audit if the field is changed, but if it is not changed, it is still copied (that is, behaves like a copy field). See Appendix F, Auditing. Auto Complete Auto Complete Match By Auto Fit Columns Character Character Alert list Cell-based table List view table Results list Alert list Character Cell-based table Panel (all) Trim box Trim text See To enable or disable auto-complete on page 321. To configure auto-complete to match by label on page 322 See To add a table field to a form on page 248.
See To customize table labels on page 255. See Enabling dynamic resizing of RTF fields on page 187. Specifies the background color:
1 Select the appropriate field. 2 (Panels and trim fields) In the Properties tab, set
Background Mode to Opaque. 3 Select custom from the Background Color drop-down list. 4 Choose a color from the color palette, and click OK. The selected color is displayed in the Background cell. For cell-based tables, specifies the background image in all cells in the table. For panels, specifies the image that appears in the background of the panel, and whether the image is embedded in the panel or inserted by reference.
Background Image
For cell-based tables, specifies the position of the image in the cells from side to side. For panels, specifies the position of the image in the panel from side to side.
For cell-based tables, specifies the position of the image in the cells from top to bottom. For panels, specifies the position of the image in the panel from top to bottom.
502
Table D-1: Field properties (Sheet 3 of 31) Property Background Mode Field type Panel holder (all) Trim box Trim text Panel holder (all) Description Specifies whether the background is opaque or transparent. For text fields in a browser, the opaque background is white. Specifies whether the background image for the view shows through the panel holder and all panels. Opaque (default)Fields on the form behind the panel in the stacking order are not visible. TransparentIn a browser, fields on the form behind the panel holder in the stacking order are visible unless covered by a panel with a Background Color or Background Image set. For more information about background images and colors in views, see Setting form view properties on page 405. Border Application list Data visualization View Specifies how borders are shown: DefaultThe field border is displayed only when the content of the view field is a URL. This option works only with a browser. Selecting this option for BMC Remedy User is equivalent to selecting the Show option. HideThe field border is not displayed. ShowThe field border is displayed. Color of lines surrounding the cells. Dimension of lines surrounding the cells. Specify in pixels. You can specify up to 9 pixels. Enter 0 to have no border. To create a border with the same number of pixels on all sides, enter one number. To create a border with varying sizes, enter the number of pixels for each side in the following order: Top, Right, Bottom, Left. Separate each entry with a comma. For example, to create a panel with borders that are 2 pixels on the right and left and 5 pixels on the top and bottom, enter 5,2,5,2. To create a panel with no borders on the top and bottom and borders of 3 pixels thick on the right and left, enter 0,3,0,3. Borderless Panel holder (accordion, collapsible, splitter) Button Specifies whether a border appears around the panel holder. The default is True (border does not appear). See To create a button field on page 210.
Button Label
Appendix D
Field properties
503
Table D-1: Field properties (Sheet 4 of 31) Property Change History Field type All Description Contains information about field modifications. AR System automatically records the owner of a field, the user who last modified the field, and the date of the modification. To display or add to this information, use the Change History properties. For more information, see the Introduction to Application Development with BMC Remedy Developer Studio guide, Updating change history, page 53. Checkbox Column CLOB Storage List view table Results list Character See Adding a select/cancel all check-box column to tables on page 278. Specifies how CLOB (character large object) data is stored: DefaultUse the value of the Store CLOB In-Row option on the AR System Administration: Server Information forms Database tab. See the Configuration Guide, Server InformationDatabase tab, page 142. In Row If the length of the character data, including the LOB locator, is less than or equal to 4000 bytes, store the data in row. If the length of the character data, including the LOB locator, is greater than 4000 bytes, store the LOB locator in row and the data out row. In-row CLOBs can degrade CPU performance. Out RowStore the data out row. Out-row CLOBs can cause the database to grow rapidly.
Note: This property applies only to Oracle databases.
Column
All (view and vendor Specifies the name of the database table column associated forms only) with the field. This field is read-only. For more information, see the Integration Guide, Vendor forms, page 183, and the Integration Guide, View forms, page 187.
Column Width
Alert list Cell-based table List view table Results list Tree view table Currency All
See To create a currency field on page 192. Specifies a custom CSS style for the field. For more information, see the BMC Remedy Mid Tier Guide, Customizing AR System style sheets, page 55.
Custom Properties
Data visualization
For more information, see the Integration Guide, Data visualization fields, page 167.
504
Table D-1: Field properties (Sheet 5 of 31) Property Data Font Field type Data (all) Description Specifies a font type for the data that users enter into the field. To change the data font, select a different font type in the drop-down list. Data Length Data (all) Specifies the width of the fields data entry region in pixels. This often differs from the maximum length for data entered in the field (see Input Length on page 515). If users enter more characters than can be displayed, the text scrolls off the end of the field, provided the internal field length can accommodate the input. Specifies the type of information that the field is designed to contain, for example, character or trim. This property is read-only. See Chapter 11, Types of fields. Default Value Character Specifies the value that appears in the field when users initially open the form to perform a search or to submit a new request in BMC Remedy User. Default values can improve application usability. For example, creating a default value as a prompt in a required field (Enter your name here) informs users what information must be entered in the field. You can use keywords to define a default value. Keyword values that are unlikely to change, such as $USER$, expand to a value when defaults are first set. Other keywords (such as $TIME$) expand to a value as late as possible when defaults are loaded. For more information, see the Workflow Objects Guide, Keywords, page 221. To add a default value, select the Default Value property, click its ellipsis button, enter the default value, and click OK. Date Date/Time Decimal Diary Integer Real Time Specifies the value that appears in the field whenever users load default values before performing a search or submitting a new request. (Date and time fields) This value can be a static value or one of these keywords: $TIME$, $DATE$, or $TIMESTAMP$. (Diary fields) You can use keywords. For more information, see the Workflow Objects Guide, Keywords, page 221. To add a default value, select the Default Value property, click its ellipsis button, enter the default value, and click OK. Currency Definition Name Data visualization See To create a currency field on page 192. Specifies the definition name for the data visualization module. For more information, see the Integration Guide, Data visualization fields, page 167. See To customize table labels on page 255.
Data Type
All
Delete Button
Appendix D
Field properties
505
Table D-1: Field properties (Sheet 6 of 31) Property Delete Label Depth Effect Field type Attachment pool Horizontal line Trim box Vertical line Description See To create an attachment pool on page 198. For a box or line, specifies the appearance of depth: None Raised Sunken Etched (default) For examples, see Figure 11-8 on page 385. Deselect All Alert list Cell-based table List view table Results list Attachment pool Data (all) Application list Attachment Data visualization View See To customize table labels on page 255.
See To create an attachment pool on page 198. Specifies whether the change flag (dirty bit) is affected by the field you are creating. When this property is set to True, the field does not affect the change field status of the form. This can be helpful when you have calculations that use hidden fields. See GET-CHANGE-FLAG and SET-CHANGE-FLAG in the Workflow Objects Guide, Process commands, page 261.
Note: Any field not in the users current view does not affect
the change flag, even if the Disable Change Flag property is set to False. You can associate a SET-CHANGE-FLAG Run Process action with a field not in the view to set the change flag as needed. See Including and excluding fields from form views on page 411 and information about special run processes and $PROCESS$ in the Workflow Objects Guide, Process commands, page 261. Display as Flat Image Display As Text Button Data (all) See To add an image to a button on page 212. When set to True, displays the contents of the field as plain text without a border or background. You might want to set a default value for the field (see the Default Value description in this table). See To create an attachment pool on page 198. See To add a table field to a form on page 248.
506
Table D-1: Field properties (Sheet 7 of 31) Property Display Type Field type Button Character Description See To create a button field on page 210. Specifies one of these display types: Drop-Down ListUsers can select a value from a dropdown list. Values available in the list are from a menu attached to the character field. This option is available only if the character field has a menu attached to it. This option is different from the drop-down list for a selection field although they look similar. In non-Search modes, such as New and Modify, users can select a value from the list but cannot type directly in the field. In Search mode, users can either select a value from the list or type directly in the field. Users can also enter partial list values, such as Business instead of Business Services, to find all requests whose value in the field includes the word Business. EditUsers can type values directly into the field. Edit MaskedUsers can type values directly into the field, but the values are displayed as asterisks. This display type offers no special security. For example, the values are not stored in the database as encrypted values. Edit masked values are exported, imported and transmitted from client to server in clear text. FileUsers can browse network file systems for a file path, which is added to the character field. See Adding a file system browser to character fields on page 185. Rich TextUsers can make rich-text-formatting (RTF) changes in a dialog box after they click the RTF icon ( ) next to the field. Rich Text In PlaceUsers can make RTF changes within the character field, or they can click the RTF icon ( ) and make RTF changes in a separate dialog box that contains more RTF options. For more information, see Adding rich-text-formatting capabilities to a character field on page 186 Date/Time Date Time Specifies one of these display types: Date/TimeUsers can click a calendar to enter dates and times into the field. Users can also directly edit dates and times. DateUsers can click a calendar to enter dates into the field. Users can also directly edit dates. TimeUsers can click increment and decrement arrows ( and ) to enter times into the field. Users can also directly edit times. Diary Specifies this display type: EditUsers can type values directly into the field.
Appendix D
Field properties
507
Table D-1: Field properties (Sheet 8 of 31) Property Display Type (continued) Field type Integer Description Specifies one of these display types: EditUsers can type values directly into the field. Numeric SpinnerFor BMC Remedy User and Internet Explorer browsers only. Users can click increment and decrement arrows ( and ) to increase or decrease the number in a field. Users can also directly edit numbers. Navigation Horizontal Nav Bar The field is a horizontal navigation field. Vertical Nav Bar The field is a vertical navigation field. This property cannot be changed, so it is not possible to convert one type of navigation field to the other. Panel holder Specifies one of these display types: Tabbed One panel is displayed at a time. Multiple panels are indicated by tabs. Collapsible (Stacked) Multiple panels are displayed either horizontally or vertically. Splitter Multiple panels are displayed either horizontally or a vertically. A splitter control can be dragged to change the size of adjacent panels. Accordion One panel is displayed at a time; only headers of the remaining panels appear. When the header of another panel is selected, that panel is opened to display its contents. Selection Specifies one of these display types: Drop-Down ListUsers can select from a list of choices. Radio ButtonUsers can select only one choice. Check BoxUsers can select one or more items from a set of items. Table columns Table fields Draggable Data (all) Horizontal Line Vertical Line Trim Text Trim Box Button Tables (all, except Results List) Attachment Pool Panels (all) See To set column properties on page 257. See To add a table field to a form on page 248. (Web only) Specifies whether a field can be dragged to another field. This property creates only the effect of dragging. You must create workflow to copy and paste data between fields. (You can, however, configure workflow to execute on the drag event.) For more information, see the Workflow Objects Guide, Allowing data to be dragged and dropped, page 290.
Note: If you enable dragging and dropping between two
attachment pool fields, they should each have only one attachment field because workflow cannot determine which field is being dragged or dropped. The default value of Draggable is false.
508
Table D-1: Field properties (Sheet 9 of 31) Property Droppable Field type Data (all) Horizontal Line Vertical Line Trim Text Trim Box Button View Data Visualization Tables (all, except Results List) Attachment Pool Panels (all) Navigation Character Description (Web only) Specifies whether a field is highlighted when a user drags a field. For more information, see the Workflow Objects Guide, Allowing data to be dragged and dropped, page 290. This property allows the field to accept drop events that occur as a result of a user dragging a field and dropping on it.
Note: If you enable dragging and dropping between two
attachment pool fields, they should each have only one attachment field because workflow cannot determine which field is being dragged or dropped. The default value of Droppable is false. See To create a navigation field on page 205. Specifies whether a (clear) item appears on character field drop-down lists. AlwaysA (clear) item appears in all modes. This is the default setting. Search OnlyA (clear) item appears in Search mode only. This property is appears in the Properties tab only when a menu is attached to the character field and the Display Type field property of the character field is set to Drop-Down List. See Adding (clear) to drop-down lists on page 319.
Enabled
Data (all)
(Web only) Specifies whether a field is highlighted when a value is changed through a Set Fields action, and the color of the highlight. When set to True, you can specify a highlight start color and a highlight end color. The default value is false (highlight not enabled). (Web only) When the Enabled property is set to True, enables a smooth visual transition following a system action. For best results, choose a color that matches the background color of the element on which the field resides, whether it is a panel or the form. The default color is white. For display as text fields, the default color is the background color of the form.
End Color
Data (all)
Appendix D
Field properties
509
Table D-1: Field properties (Sheet 10 of 31) Property Entry Mode Field type Data (all) Attachment Description Specifies one of these options (available options depend on field type): SystemThe field is populated by AR System. Certain core fields such as Request ID and Last Modified By are system fields. RequiredField requires a valuedefault, user-entered, or from workflowwhen a user submits a request. Required fields have a bold label. A form has at least three required fields: Submitter, Short Description, and Status. Make a field required only if it must be filled in for every new request. OptionalUsers can enter information in the field or leave it empty. If you have optional fields that must be filled in under certain circumstances, you can create filters and active links that force the user to fill in the field when specified conditions are met. DisplayThe field is used as a temporary field. No space is allocated for a display-only field in the database, so a display-only field value can never be recorded in the database. For this reason, display-only fields have a value of NULL when a request is retrieved. In all other ways, a display-only field can be used in the same way as any other field (for example, you can reference it in workflow). You can select this option only when you create a field. After you save a form, the following changes occur: For a required or optional field, the Display option is no longer available. For a display-only field, the Entry Mode property is disabled and cannot be changed. To improve system performance, use display-only fields to store temporary values or to perform calculations. Global fields (field IDs 10000012000000) must be displayonly.
510
Table D-1: Field properties (Sheet 11 of 31) Property Expand Box Field type Character Currency Date Date/Time Diary Time Description Specifies whether an expand button that opens a dialog box appears next to the field. Users can enter data for the field into the dialog box. Values are DefaultHides the expand button for character fields if the field length is less than 70 bytes. Displays the expand button for currency, date, date/time, diary, and time fields regardless of field length. HideAlways hides the expand button. ShowAlways displays the expand button. The dialog box opened by the expand button depends on the type of data that can be entered into the field. The buttons icon shows the type of data: Character icon Currency icon Date and Date/Time icon Diary icon Time icon For character fields, This feature enables you to conserve space on the users view of the form by making the fields display Data Length value smaller than its database Input Length value. The text dialog box supports text editor commands, such as Select All and Copy, which makes it easier to work with large amounts of data in the dialog box than directly in the character field. If you set the Display As Text property to True, you might want to hide the expand button.
Note: When a character field has an expand button, the field
displays whole words only. To see the text beyond the words displayed in the field, open the text dialog box.
Appendix D
Field properties
511
Table D-1: Field properties (Sheet 12 of 31) Property Field Access Field type Alert list Button Cell-based table Horizontal line List view table Navigation (all) Results list Tree view table Trim text Trim box Vertical line Data (all) Description Specifies how the field is initially displayed: Enabled (default)Results in an active field. DisabledResults in an inactive (grayed out) field.
Specifies how users initially access a field in the current view: Read OnlyUsers can read or access field information, but they cannot edit it. Read/Write (default)Users can read, access (for example, copy), and edit field information. DisabledUsers can read field information, but they cannot access or edit it.
Field ID
All (join forms only) For fields on join forms, specifies the integer that identifies the field internally throughout AR System. This field is readonly. See Working with fields in join forms on page 229. All (join forms only) For fields on join forms, specifies the fields database name. This field is read-only. See Working with fields in join forms on page 229. Attachment pool Attachment pool Navigation (all) Panel (collapsible) Alert list Cell-based table List view table Results list Panel Panel holder See To create an attachment pool on page 198. See To create an attachment pool on page 198. See To create a navigation field on page 205. See Using Fit to Content to dynamically resize panels on page 355. See To add a table field to a form on page 248.
Field Name
File Name Label File Size Label Fire workflow again on selected item Fit to Content Fixed Headers
All (join forms only) For fields on join forms, specifies the name of the underlying form (primary or secondary) in which the field resides. This field is read-only. See Working with fields in join forms on page 229.
512
Table D-1: Field properties (Sheet 13 of 31) Property Full Text MFS Category Name Field type Character Diary Attachment Description Specifies a category name for a field that is indexed for a full text search of multiple forms. (For more information, see the Configuration Guide, Setting up FTS to search across multiple forms, page 322.) At index time, the server checks whether an entry has any fields with a category name (defined in the Full Text MFS Category Name field property). If so, the server also indexes the field as that category name as well. Header Background Color Panel (accordion, collapsible, splitter) Specifies the background color for the header in a panel.
Header State
Specifies whether the panel header is visible or hidden. The default is Visible.
All All
Specifies the height of the field in pixels. Specifies the Help text for a field. To enter Help text, select this property, click its ellipsis button, enter text in the Help Text dialog box, and click OK. For information about creating help text, see the Introduction to Application Development with BMC Remedy Developer Studio guide, Providing help text, page 54.
Horizontal Space
Cell-based table
Appendix D
Field properties
513
Table D-1: Field properties (Sheet 14 of 31) Property ID Field type All Description Identifies the field internally throughout AR System. Every field in a form must have an integer field ID that is unique in that form. If you leave the ID field empty or set it to zero, AR System automatically assigns a number from the unrestricted number set. Restrictions on field ID numbers are as follows: Numbers 199 are reserved for core fields. You cannot assign an ID in this range unless you are modifying core fields. See Appendix A, Core fields. Numbers 100536868911 are reserved. If you use an ID in this range, you receive a warning. Numbers 1000000 1999999 and 30000003999999 are reserved for regular global fields and window-scoped global fields, respectively. For information about global fields, see page 217. Numbers 5368689122147483647 are administratordefined. There are no restrictions on assigning numbers in this range. If you choose to assign field IDs instead of letting AR System do it automatically, be aware that view IDs are also drawn from the low end of this range. Columns in table fields and panels in panel holders also have an ID. To assign order in workflow, you can assign the ID yourself or let AR System assign the number for you. The field ID remains constant even if the database name or display label changes. You cannot modify the field ID after it is saved to the database. If you define fields that serve the same purpose in more than one form, assign identical IDs to the identical fields in the different forms. You can then write workflow once for that field (with minor edits to AR System field definition) and reuse the field in multiple forms. Reusing the ID provides a consistent definition for the field across forms. Image Image Attachment Image Position Index For FTS Button Character Button Attachment Character Diary Currency Panel holder (accordion) See To add an image to a button on page 212. See Allowing users to add an image to a character field on page 188. See To add an image to a button on page 212. If you are licensed for full text search, specifies whether to index a character, diary, or attachment field for FTS. See To create a currency field on page 192. Specifies the first panel displayed in an accordion panel holder. To select the initial panel, click the propertys Value cell, click the arrow button that appears in the cell, and select a panel from the drop-down list.
514
Table D-1: Field properties (Sheet 15 of 31) Property Initial Row Selection Field type Alert list Cell-based table List view table Results list Tree view table Panel (splitter, collapsible) Cell-based table List view table Results list Tree view table Character Description See To add a table field to a form on page 248.
Initial Size
Specifies the size of the panel when it is initially created in a collapsible or splitter panel holder. See To set column properties on page 257.
Initial Value
Input Length
Specifies the maximum number of bytes or characters, depending on the value of Length Units property, that the field can contain. Leaving this property empty or setting it to 0 specifies an unlimited length. To use database storage most efficiently, set the Input Length of a character field so that it will be created as a varchar database table row. Storage for a varchar is allocated dynamically to the length of the actual field contents, not the input length. See Character fields on page 368 for the maximum values for varchar storage for each database. If you set the Input Length to more than the maximum for varchar, the character field is created as a clob database table column and storage is allocated in blocks that average between 1K to 2K bytes (depending on the database). A full block is allocated for the first byte. When that block is filled with the field contents, another full block is allocated. To control CLOB storage in an Oracle database, see CLOB Storage on page 504. For more information about database structure in AR System, see the Database Reference. Do not use more space than you need to store the intended field contents. If you allocate more space for storage than your system needs, more space is searched during queries. If the Expand Box property is set to Default and the field length is 70 or more bytes, AR System automatically inserts an expand button to the right of the field that users can click to open a text dialog box. This can conserve space on the users view of the form by making the fields Data Length smaller than its Input Length property. (Continued on next page)
Appendix D
Field properties
515
Table D-1: Field properties (Sheet 16 of 31) Property Input Length (continued) Field type Character Description The default maximum input length for character fields is different for each of these databases: Sybase, Microsoft SQL Server, and Informix: 2 GB DB2: 10 MB Oracle: 4 GB For scalability reasons, limit the number of long character fields in a form.
Note: To configure a different maximum input length for
Oracle, Microsoft SQL Server, and Sybase databases, use the Db-Max-Text-Size option in the AR System server configuration files. See the Configuration Guide, ar.conf (ar.cfg), page 348. You cannot use the Indexes form property to create an index for a long or character field with an Input Length over 255 bytes. But if you are licensed for full text search, you can use the Index for FTS field property to create a search index for the field. For more information about FTS, see the Configuration Guide, Using full text search, page 295. For some databases, you cannot search fields that are over 255 bytes. See your database reference guides and information in the AR System release notes and Installation Guide. Label Application list Attachment Composite (all) Data (all) Data visualization Navigation (all) View Specifies a label for the field in the current form view. You can enter a label with as many as 80 characters that describes the meaning and purpose of the field. The label can include spaces and double-byte characters. Avoid using spaces at the beginning of field labels; such spaces do not appear in some browsers. If you leave this property empty, the field appears on the screen with no label. For tree view table fields, if this property has text, it becomes the root of the tree. The label need not be unique. However, if duplicate field labels exist in a form, AR System issues a warning message every time you apply changes to the form unless you disable the BMC Remedy Developer Studio preferences for duplicate blank and nonblank field label warnings. You can use single quotation marks in field labels; however, when performing searches, users must enter two single quotation marks when specifying the quotation mark in the label. This is required because field labels that contain special characters must be enclosed in single quotation marks in searches, and a single quotation mark in the label is otherwise interpreted as the end of the field label. Users with Customize permissions can define labels in their personalized views in BMC Remedy User.
516
Table D-1: Field properties (Sheet 17 of 31) Property Label Align Field type Data (all) Description Aligns labels to the top, center, or bottom of the region available for the label. The default is Top for labels located to the left of the field. The default is Bottom for labels located above the field. See Arranging fields in a form view on page 412. For text fields with one row, when this property is set to Top, labels appear in the center in BMC Remedy User and in a browser. See Rows on page 527. Label Font Button Data (all) Panel (all) Specifies a font type for the field label. In a default regular form, each label style identifies a different field behavior: ItalicField is maintained and automatically updated by AR System. BoldField requires a value. PlainField value is optional. As the administrator, you can override the properties of the default font types, but do so cautiously to avoid confusing users. In addition, users can use preferences to change the fonts assigned to font types. All fields with the same type remain consistent. To change a label font:
1 Select the field. 2 In the Properties tab, select a new font type in the Label
entered into the field if applicable. Label Justify Button (URL style) Data (all) Trim text Data (all) Button Data (all) Panel (all) Trim text Specifies where label text is positioned relative to the left and right edges of the text box: Left, Center, or Right. Specifies where a data fields label appears in relation to the field: Top (above the field) or Left (default). Specifies the color of the fields label or text. For a data field, the label appears to the left of a field or above it. For a panel field, the label appears in the panel header. Colors are set one field at a time. To change label or text color:
1 Select the appropriate field. 2 In the Properties tab, select Custom in the Label/Text
Color drop-down list. 3 Choose a color from the color palette, and click OK. Last Changed By Last Changed Time All All Specifies the user name of the last person who modified the field. This read-only field is automatically set. Specifies the date and time that the field was last modified. This read-only field is automatically set.
Appendix D
Field properties
517
Table D-1: Field properties (Sheet 18 of 31) Property Layout Style Field type Cell-based table Panel (all) Description XYSpecifies that field locations in the cell or panel are set by X and Y coordinates and sized by width and height. FillSpecifies that fields are dynamically resized within the cell or panel. FlowSpecifies that RTF fields are dynamically resized within the panel. See Panel layout styles on page 329 and Enabling dynamic resizing of RTF fields on page 187. Length Units Character In Regular forms, specifies whether the Input Length of a character field is calculated in Bytes or Characters. The default is Bytes, which is the Input Length unit for all character fields in AR System release 7.1.00 and earlier. Because character sets use varying numbers of bytes to represent a single character, setting the Length Units property to Characters allows better control of character field sizes in the database. When creating or resizing a database column corresponding to a field with a Length Units value of Characters, AR System applies a multiplier to calculate the column size for the field. The multiplier is determined by the server character set and the database code unit. The server uses the following multiplier values: 1WESTERN character set. 2UTF-8 with Microsoft SQL Server, GB2312, Big-5, EUCCN, Shift-JIS, KSC-5601, and EUC-KR character sets. 3EUC-JP character set. 4UTF-8 (except Microsoft SQL Server), EUC-TW. For example, when you create a character field with a Length Units value of Characters and an Input Length of 100 on a UTF-8 platform, the corresponding column is 200 nvarchar in a Microsoft SQL Server database (multiplier value of 2), or 400 char in other databases (multiplier value of 4).
Note: For the core fields Request ID, Submitter, Assigned To,
and Last Modified By, you can only set Length Units to Bytes. The Short Description field can use either Bytes or Characters. For Bytes, it is limited to an Input Length of 255; for Characters it is limited to Input Length 63. (Continued on next page)
518
Table D-1: Field properties (Sheet 19 of 31) Property Length Units (continued) Field type Character Description BMC Remedy Developer Studio does not display the Length Units property if the AR System server is release 7.1.00 or earlier. To configure the default value of this property, in BMC Remedy Developer Studio, select Window > Preferences > Form, and set the Input Length Units value. In Display Only and Vendor forms, this property works with the Data Length field to restrict the length of the information to display. In Join forms and View forms, this property reflects the setting for the mapped field in the underlying form or database table. Line Color Horizontal line Panel Trim box Vertical line Character Specifies the color of the line:
1 Select the appropriate field. 2 In the Properties tab, set Depth Effect to None. 3 Select Custom in the Line Color drop-down list. 4 Choose a color from the color palette, and click OK.
Specifies whether the FTS engine should use the literal method to search the contents of all requests indexed for the field. For more information about FTS, see the Configuration Guide, Using full text search, page 295. This property is enabled when the Index For FTS property is set to True.
Localization Required
All
Specifies whether a field label must be translated. By default, this property is set to False. When this property is set to True, attribute 287 in the field definition is set to 1. To ascertain which fields must be translated, localizers can search .def files for the display-instance setting 287\6\1, where 287 is the ID of the localization indicator attribute. 6 is the data type for the attribute and can be ignored. 1 is the attribute value that indicates localization is required.
Data (all) Attachment All Button Cell-based table Panel holder (accordion, collapsible, splitter)
Specifies whether configuration data can be localized for the form. The options are True and False (the default). Specifies whether the field label can be localized for the form. The options are True (the default) and False. See To add an image to a button on page 212. For cell-based tables, specifies the space between the bottom of the cell-based table field and the last row of cells. Specify in points. For panel holders, specifies the amount of space between the bottom border of the panel holder and the bottom edge of the panels in it. If the bottom margin size is too large to allow all of the panels to be displayed, a vertical scroll bar appears.
Appendix D
Field properties
519
Table D-1: Field properties (Sheet 20 of 31) Property Margin Left Field type Cell-based table Panel holder (accordion, collapsible, splitter) Description For cell-based tables, specifies the space between the left side of the cell-based table field and the first column of cells. Specify in points. For panel holders, specifies the amount of space between the left border of the panel holder and the left edge of the panels in it. For cell-based tables, specifies the space between the right side of the cell-based table field and the last column of cells. Specify in points. For panel holders, specifies the amount of space between the right border of the panel holder and the right edge of the panels in it. For cell-based tables, specifies the space between the top of the cell-based table field and the first row of cells. Specify in points. For panel holders, specifies the amount of space between the top border of the panel holder and the top edge of the panels in it. If the top margin size is too large to allow all of the panels to be displayed, a vertical scroll bar appears. See To add a table field to a form on page 248.
Margin Right
Margin Top
Max Rows
Alert list List view table Cell-based table Results list Tree view table Attachment Integer
See To create an attachment pool on page 198. Specifies the highest integer value that users can enter in the field during data submission and modification. By default, integer fields accept integer values between 2147483647 and 2147483647. Specifies the highest value that the field can have during data submission and modification. This setting is required. See Enabling dynamic resizing of RTF fields on page 187. Specifies the maximum size allowed for a panel in a splitter panel holder.
Currency Decimal Real Maximum Height Maximum Size Character Panel (splitter)
520
Table D-1: Field properties (Sheet 21 of 31) Property Menu Name Field type Character Description Attaches a character menu to a character field and inserts a menu button to the right of the field. Character menus provide users with a fill-in aid that can help standardize the text contents and thereby improve the accuracy of searches. Unless you specify a pattern match (see Pattern on page 524) or change the display type to Drop-Down List (see Display Type on page 507), users can enter their own text even when a character menu is attached to the field. To attach a menu, select it in the propertys drop-down list. The $NULL$ option allocates space for the menu button, but hides the button in the users client. When you use the Change Field action to associate a menu, the menu button appears without disrupting form layout. See the Workflow Objects Guide, Using buttons and menu bar items to execute active links, page 165. For information about designing and creating a character menu, see Chapter 8, Creating menus. Menu Style Character Specifies how menu text is added to the field when users selects an item from a character menu: AppendText is added to any text already in the field. If text is in the field, a blank space is inserted before the menu text value is appended. OverwriteText replaces any text already in the field. Specifies the lowest integer value that users can enter in the field during data submission and modification. By default, integer fields accept integer values between 2147483647 and 2147483647. Specifies the lowest value that the field can have during data submission and modification. This setting is required. Specifies the minimum size allowed for a panel in a splitter panel holder. Specifies whether the entry points in an application list field are presented as a traditional list, or with the appearance of a vertical navigation bar: TraditionalThe application list appears in the traditional AR System Home Page format, with entry points displayed as links. FlyoutThe application list looks like a vertical navigation bar, and entry points are displayed as flyout options. See Navigation fields on page 383. Module Type Data visualization Specifies the module type for the data visualization field: flashboard, report, or visualizer. See the Integration Guide, Data visualization fields, page 167.
Minimum
Integer
Mode
Application list
Appendix D
Field properties
521
Table D-1: Field properties (Sheet 22 of 31) Property Name Field type All Description Identifies the field in the database. Every field in a form must have an alphanumeric field name that is unique in that form. Names can have up to 80 characters, including spaces. They can include double-byte characters, but avoid using numbers at the beginning of a name. If you leave this property empty, BMC Remedy Developer Studio generates a name based on the field type and appends a number to the name to make it unique. For example, if the form has a field named Column1, BMC Remedy Developer Studio names the next field of the same type Column2. Do not use the keyword FUNCTION as a field name; if you do, the system generates an error, and the underlying database view is not created.
Note: If you create a field with a dollar sign ($) or an
apostrophe (') in the database name, you must double the dollar sign or the apostrophe when using the field in workflow in addition to adding the surrounding characters. For example, a field named MyMoney$ must be entered in workflow as $MyMoney$$$, and a field named John's Money must be 'John''s Money'. The field name is easier to use than the field ID when you create workflow such as active links and filters. Unlike the field label, the field name is not specific to a view of the form. Do not confuse the field Name with the field Label (see page 516), especially when creating workflow. To avoid naming conflicts with the database server, do not use a word reserved by the database server software as a field name. See your database documentation for a list of reserved words. Navigation Initial State Navigation Mode Navigation (all) Vertical navigation See To create a navigation field on page 205. Indicates the options for displaying vertical navigation menu items. ExpandableSubmenu items are displayed in a vertical list expanded below the parent menu item. FlyoutSubmenu items are displayed in a vertical list expanded to the right of the parent menu item. New Description All Records information about a field change. To create a change description, select the New Description property, click its ellipsis button, and enter a description into the New Description dialog box. When you next save the field, your entry is moved to the Change History property, where it is stored in read-only diary format.
522
Table D-1: Field properties (Sheet 23 of 31) Property Next Label Field type Cell-based table List view table Results list Alert list Cell-based table List view table Results list Panel (all) Description See Next Label on page 252 and Size of Chunk on page 254. See To customize table labels on page 255.
Opacity
Specifies the degree of transparency of the panels background color. If the panel does not have a background color, this property is unavailable. See To set color opacity for a panel on page 346. Specifies the orientation of a line: Vertical or Horizontal. For panel holders, specifies the orientation of the panel headers: Vertical or Horizontal.
Orientation
Horizontal line Vertical line Panel holder (accordion, collapsible, splitter) All Cell-based table
Identifies the author of each entry in the Change History property. See Panel Border Color on page 252.
Cell-based table
See Enabling dynamic resizing of RTF fields on page 187. See Panel Height on page 252.
See Enabling dynamic resizing of RTF fields on page 187. See Enabling dynamic resizing of RTF fields on page 187. Specifies whether a panel in a collapsible panel holder is expanded or collapsed. The default is Expand. See Enabling dynamic resizing of RTF fields on page 187. See Panel Width on page 252.
Panels
Appendix D
Field properties
523
Table D-1: Field properties (Sheet 24 of 31) Property Pattern Field type Character Description Restricts what users can enter into the field. You can specify two types of character patterns: Specify a character pattern that the value must match. It is similar to that used in the LIKE operator and can include any of the same wildcard characters (see the Workflow Objects Guide, Operator types, page 216). Use a keyword to specify a style for a character field. You can specify only one of the following keywords for a pattern, and it cannot be combined with a pattern of characters and wildcards: $ALNUM$The value must be alphabetic characters and digits (and blank space). $ALPHA$The value must be alphabetic characters (and blank space). $DIGIT$The value must be digits. $LOWER$The value can be any character except uppercase letters. This includes special characters, digits, and blank spaces. $MENU$The value must match an item defined in the default menu attached to the field. Do not use $MENU$ together with a Change Field workflow action that attaches a new menu (with new values) to the field. You cannot use the $MENU$ keyword with a file menu or a data dictionary menu. You cannot use the $MENU$ keyword with a search menu if the search menu qualification includes a field value from the current screen or with an SQL menu if the WHERE clause of the query includes a field value from the current screen. $PRINT$The value must be printable characters. $UPPER$The value can be any character except lowercase letters. This includes special characters, digits, and blank spaces.
Note: The way that keywords are interpreted is language-
dependent. For example, $LOWER$ is not valid in Japanese, and $MENU$ is not valid in a multilingual environment. Permissions All Specifies which users have access to the field. To assign field permissions, select the Permissions property, click its ellipsis button, and use the Permissions dialog box. For more detail, see Field permissions on page 32. Precision Decimal Specifies the number of decimal places displayed in the users view. The default setting is 2 and the maximum value of precision in AR System is 9. Specifies the number of decimal places displayed in the users view. The displayed number is rounded off, but the value stored in the database is not changed.
Real
524
Table D-1: Field properties (Sheet 25 of 31) Property Preferences Field type Alert list Cell-based table List view table Results list Cell-based table List view table Results list Character Description See To customize table labels on page 255.
Previous Label
See Previous Label on page 252 and Size of Chunk on page 254. Specifies how a match is determined when a user performs a query-by-example (QBE) in BMC Remedy User: Anywhere (default)Finds a match if the entered value occurs anywhere in the corresponding field. For example, if a user enters Bob in the Submitter field, the search returns all requests submitted by Bobby Jones, Bob Smith, and Jill Bobbington. LeadingFinds a match only if the entered value occurs at the beginning of the corresponding field. For example, if a user enters Bob in the Submitter field, the search returns all requests submitted by Bob Smith and Bobby Jones but not those submitted by Jill Bobbington. EqualFinds a match only if the entered value matches the value in the corresponding field exactly. For example, to find requests submitted by Bob Smith, the user must enter Bob Smith, with exact spelling and capitalization, in the Submitter field. However, for some databases (such as Sybase or Microsoft SQL Server), case-sensitivity depends on the underlying DBMS settings, regardless of the specified QBE Match. Equal and Leading generally provide better performance than Anywhere. Use them wherever they are appropriate. You can use the Preferences dialog box (Window > Preferences) to set a default QBE match type for all new character fields that are not core fields. (Continued on next page)
QBE Match
Appendix D
Field properties
525
Table D-1: Field properties (Sheet 26 of 31) Property QBE Match (continued) Field type Character Description A search on a character field with the QBE match type Anywhere performs a full table scan of the database, reading every record in a form and ignoring any indexes for the field. Searches on fields with the QBE match type Leading or Equal are typically faster than searches on fields with the match type Anywhere, especially if the field is indexed. See Defining indexes on page 181. Some relational operators and wildcards work during a QBE regardless of the QBE Match setting. This means that users can specify an exact match in a field with the QBE Match setting Anywhere by using the equal sign (=) relational operator. Users can also use the percent sign (%) wildcard at the beginning of the search string (%abcd) to override the QBE Match setting Leading or Equal. Using the % wildcard anywhere else in a string (abcd%) does not override the Equal setting. Overriding the Leading or Equal settings overrides the performance benefits of using those settings. Read Button Refresh Button Alert list Alert list Cell-based table List view table Results list Alert list Cell-based table List view table Results list Tree view table Alert list Cell-based table List view table Results list Tree view table Cell-based table See To customize table labels on page 255. See To customize table labels on page 255.
Remote/Local Fields
Opens a dialog box used to add columns to tables. See To add a table field to a form on page 248.
Report Button
Cell-based table List view table Results list Alert list Cell-based table List view table Results list Tree view table
Results Color
526
Table D-1: Field properties (Sheet 27 of 31) Property Rounded Corners Field type Panel (all) Description Specifies the radius of roundness for the corners of a panel. The default is blank (no rounded corners).
Note: Rounded corners are not shown in BMC Remedy
Developer Studio. Row Header Alert list Cell-based table List view table Results list Alert list Cell-based table List view table Results list Character Diary Check box Drop-down list Radio button See To customize table labels on page 255.
Row Selection
Rows
Specifies the number of rows of text that are displayed. For radio buttons, specifies the number of rows used for selection options. A setting of 1 produces one horizontal row. A setting of 2 divides the options into two horizontal rows, and so on. For other types of selection fields, this property cannot be changed.
See To create an attachment pool on page 198. See To add an image to a button on page 212. Specifies how scroll bars are displayed: DefaultDisplays scroll bars only when the field content does not fit completely within the field. ShowAlways displays scroll bars. HideAlways hides scroll bars.
Note: If the content of a field (such as an AR System form) has
its own scroll bars, they appear even if you hide scroll bars for the field itself. If you can hide the scroll bars of the content, you can remove all scroll bars from the field. Select All Alert list Cell-based table List view table Results list Alert list Cell-based table List view table Results list Navigation (all) Check box Drop-down list Radio button See To customize table labels on page 255.
See To create a navigation field on page 205. See To add selection items on page 197.
Appendix D
Field properties
527
Table D-1: Field properties (Sheet 28 of 31) Property Server Field type Data visualization Description Specifies the AR System server that contains the data visualization module. See the Integration Guide, Data visualization fields, page 167. See Shared fields in panel holders on page 349. See Size of Chunk on page 254.
Panel holder (all) Cell-based table List view table Results list Panel Cell-based table Alert list List view table Results list Tree view table Panel holder (splitter) Data (all)
See Distributing slack to avoid scroll bars on page 350 See To set sort order and visible levels on page 260. See To set sort order and visible levels on page 260.
Splitter State
Specifies whether the splitter bars between panels are visible in a splitter panel holder. The default is Visible. (Web only) When the Enabled property is set to True, enables selection of a color for the highlight based on the theme of the form, background color, and other factors. If no highlight start color is specified, the mid tier uses the default color of yellow. Specifies the order in which the field is selected when users press the TAB key. See Setting the tab order of fields in a form view on page 424.
Start Color
Tab Order
Application list Button Composite (all) Data (all) Data visualization Navigation (all) Trim text View
Table
All (view and vendor Specifies the name of the database table associated with the forms only) field. This field is read-only. For more information, see the Integration Guide, Vendor forms, page 183, and the Integration Guide, View forms, page 187.
Alert list Cell-based table List view table Results list Tree view table Cell-based table List view table
528
Table D-1: Field properties (Sheet 29 of 31) Property Tabless Borderless Text Text Align Field type Panel holder (tabbed) Trim text View Trim text Trim text Trim text Alert list List view table Results list Tree view table Horizontal line Panel Trim box Vertical line Alert list Button Trim text Use Locale Alert list Cell-based table List view table Results list Tree view table All (vendor form only) Description See To create a panel holder on page 336. See To create trim fields on page 214. See To create a view field on page 201. See To create trim fields on page 214. See To create trim fields on page 214. See To create trim fields on page 214. Opens a dialog box used to add columns to tables. See To add a table field to a form on page 248.
Text Rotation
Text Style Tree/Table Property
Thickness
Specifies a line width of 1 to 9 pixels. The default is 2. Thickness cannot be changed if the Depth Effect is Etched.
See To customize table labels on page 255. See To create a button field on page 210. See To add a URL to a trim text field on page 215. See Locale-specific refresh on page 297.
Vendor
For fields on vendor forms, specifies the vendor name. For more information, see the Integration Guide, Vendor forms, page 183, and the Integration Guide, View forms, page 187. See Vertical Space on page 254. See Enabling dynamic resizing of RTF fields on page 187.
Appendix D
Field properties
529
Table D-1: Field properties (Sheet 30 of 31) Property Views Field type All except table columns Description Specifies the form views in which a field appears. See To add or remove a field from form views: on page 412. New fields are automatically added to the current view. Depending on how your preferences are set, new fields might also be added to all other views of the form. (In BMC Remedy Developer Studio, choose Window > Preferences. Under BMC Remedy Developer Studio, click Form.) Some field properties affect all form views while other field properties do not. All display property settings apply to only the form view in which they are set. For example, in one view a field might be visible while in another view the field might be hidden or located elsewhere in the form. See Chapter 13, Creating and managing form views, and the BMC Remedy Mid Tier Guide, Working with applications that will be viewed in a browser, page 65. Visible All Specifies whether the field is visible in the current view. When this property is set to False, the field cannot be seen in the view, although users with Customize permissions can make a hidden field visible. A hidden field remains in the database and can be accessed by workflow. You can create active links to dynamically hide and unhide all fields except tree view table column fields. Visible Columns Cell-based table See Visible Columns on page 254.
All Alert list Cell-based table List view table Results list Tree view table
Defines the width of the field in pixels. See To set column properties on page 257.
530
Table D-1: Field properties (Sheet 31 of 31) Property X Field type All Description If the Alignment property is set to Left (default), specifies the horizontal position of the left edge of the field relative to the left side of the form. If the Alignment property is set to Right, specifies the horizontal position of the right edge of the field relative to the right side of the form. The X and Y settings are relative to the top left or right corner of the form. For example, X=0, Y=0, and Alignment=Left is the top left corner of the form.
Note: If a field is anchored to the right side of a panel in a panel
holder, the fields X value might change if either of the following actions occur: (Tabbed only) The Display Type of the panel holder is changed. (Accordion, collapsible, or splitter) The Orientation of the panel holder is changed. Y All Defines the vertical position of the left or right edge of the field in the form. The X and Y settings are relative to the top left or right corner of the form. For example, X=0, Y=0, and Alignment=Left is the top left corner of the form. If you have a series of data fields on the same line, these fields must have the same Y coordinate for tabbing between fields to work from left-to-right, top-to-bottom unless you define a tab order of fields in the form. See Setting the tab order of fields in a form view on page 424.
Appendix D
Field properties
531
532
Appendix
Archiving data
Use data archiving to make archive copies of data on a specified form. The following topics are provided: Understanding data archiving (page 534) Configuring data archiving for a form (page 534) Deleting an archive form (page 536) AR_ARCHIVER user (page 537) How changes to the main form affect the archive form (page 537) Characteristics of archive forms (page 539) Configuring data archiving for a server (page 541)
Appendix E
Archiving data
533
NOTE
Do not archive system forms (such as User, Group, Server Statistics, and Server Events) because these forms use reserved fields that should exist only on the one form in AR System.
534
Copy to Archive and Delete from Source Copy to Archive Delete from Source None
4 Select the Enable option to enable archiving of the form. 5 If you selected Copy to Archive and Delete from Source or Copy to Archive, enter
a name for the archive form. For example, if you are archiving data on the Application Statistics form, you might name the archive form Application Statistics - Archive. If the form that you entered does not exist, AR System creates the form. If the form exists, it must have these required properties of an archive form, as described in Characteristics of archive forms on page 539.
Appendix E
Archiving data
535
6 (Optional) If you selected Copy to Archive and Delete from Source or Copy to
Archive, select the following options to exclude them from the archive form: No Attachments No Diary Fields Selecting these options saves space in the archive form if the main form has large attachments or a large amount of data in diary fields.
WARNING
If you select Copy to Archive and Delete from Source, and select the No Attachments and No Diary Fields options, the data in the attachments and diary fields are deleted from the main form and are not copied to the archive form.
7 In the Times Selected area, set the time when you want the archiving process to
occur. You cannot set the interval time between each archiving process for less than 1 hour.
8 To specify a limited amount of data on the form to archive, enter a qualification.
For example, to archive statistics older than thirty days in the Application Statistics form, enter:
Time Stamp < ($TIMESTAMP$ - 2592000) 9 Click OK. 10 Choose File > Save Form.
After the data is archived according to your qualification criteria at the time specified, you can open your archive form and view archived data using BMC Remedy User or a browser.
IMPORTANT
When a view form, join form, or vendor form is archived, the archive form is created as a regular form containing core fields that are not in the source form. You must supply default values for the required Submitter and Short Description core fields in the archive form.
536
AR_ARCHIVER user
If the main form is not closed, your archive form might be regenerated and the archive settings might not be cleared.
2 In AR System Navigator, expand serverName > All Objects. 3 Double-click Forms. 4 In the Forms list, right-click the form name, and choose Delete. 5 In the Confirm Deletion dialog box, click OK. 6 In the Confirm dialog box, click OK.
AR_ARCHIVER user
The AR System server has a special user called AR_ARCHIVER to perform data operations such as copying data to the Archive form and deleting data from the source form. If you run a filter log file, you can see this entry in the log file. The AR System server also reserves an internal thread for archiving.
Appendix E
Archiving data
537
Using qualifications
You can select the data to be archived based on a qualification. If you do not specify a qualification, all the data in the form is archived. Consider the effect on performance when using this option.
Licensing
When you license an application and license the main form, the archive form is also licensed.
538
General
The form is a regular form. The detail view in the BMC Remedy Developer Studio forms list shows its Type as Archive. Any changes to the definitions in the main form (such as adding or deleting a field) are also applied to the archive form. But if there is any data in the form, no fields are deleted from the archive form. You can change the form and view properties of the archive form explicitly. Trim fields are not created automatically, but a trim field can be added to an archive form manually. If the main form belongs to a deployable application, the archive form also belongs to the same application. If the main form is made licensable, then the archive form is also made licensable. The archive form cannot be audited or further archived.
Fields
When the AR System creates a new archive form, the following two fields are included in the form: Original Request ID (ID 450) Original Create Date (ID 451) These fields contain the Request ID and Create Date from the main form. These fields are not placed in the view. To add them, open the archive form in BMC Remedy Developer Studio, and choose Form > Add/Remove Fields On View. Then, move the fields to the Fields in View table. The Create Date of the archive form can be used as the archive date. The remaining core fields on the archive form contain the same values as the main form. Data fields, attachment pools, and panel holder cannot be modified or added to an archive form. All other field types, such as trim or table, can be added or modified. The data fields in the main and archive form have identical field limits. The permissions on archive forms are always read access.
Appendix E
Archiving data
539
Workflow
Workflow from the main form is not attached to the archive form when it is created. You can add workflow to an archive form, but workflow cannot modify data in an archive form. Filters that execute on Delete execute when archiving deletes data.
540
If you select the Archive check box, every archive event is logged into the Server Events form.
Appendix E
Archiving data
541
The entries are as follows: Event Type: (14) AR_SVR_EVENT_ARCHIVE_DONE. Event Cause: One of the following entries: (1) AR_SVR_EVENT_ARCHIVE_FORM (Copy to archive only). (2) AR_SVR_EVENT_ARCHIVE_DELETE (Delete from source only). (3) AR_SVR_EVENT_ARCHIVE_FORM_DELETE (Copy to archive and delete from source). Event Date: Date and time of the end of the archive operation. Event Details 1: Source form name. Event Details 2: One of the following entries: Copy to archive and Copy to archive and delete from source
numberOfRecordsTransferred : totalNumberOfEntriesAttempted
542
Appendix
Auditing
This section discusses auditing, which enables you keep track of changes to data in a form. The following topics are provided: Understanding auditing (page 544) Audit styles (page 544) Configuring auditing (page 549) Considerations for forms (page 553) Assignee Group and other dynamic group fields (page 555) Using flag fields to view changes to an individual field (page 555) Audit processing and filters (page 556)
Appendix F
Auditing
543
Understanding auditing
Through auditing, you can keep track of changes to data in any form (except display-only forms). If you have at least one field configured for auditing on a form, data in a main form can be recorded in an audit form or log form when any of the following actions occur: A new entry is created on the form. An entry is deleted on the form. Any audit field on the form is modified. Data is merged into a form. Auditing requires configuration at the following levels: Form levelEnable auditing for a form, specify an audit style, and specify the name of the form that will contain the audited data. If the audit form does not exist, AR System creates it. Field levelSpecify whether a field should be: AuditedA change to this field triggers audit processing. CopiedThe field value is copied to the corresponding field in the audit form if the audit field is triggered. Audit fields that have not changed are not copied. Audited and copiedThe field triggers an audit if the field is changed. If it is not changed, it is still copied. You can selectively audit entries by providing an audit qualification. If the audit qualification fails, the audit does not occur (even if the values of audit fields have changed).
Audit styles
When you configure a main form for auditing, you specify whether to perform a form-style audit or a log-style audit. Because AR System updates the audit forms for both styles, a special user named AR_AUDITOR performs the audits. This name is displayed in the Last Modified By field for all audits.
544
Audit styles
Form-style audits
A form-style audit records data from the main form to an audit form. The audit form: Is a regular form that serves as the destination for data audited in the main form. Resides on the same server as the main form. Contains the same fields as the main form. Contains several audit-specific fields. See Audit form fields on page 545. When you configure a main form for a form-style audit, you specify a name for the audit form. When the form is audited, data from the main-form fields configured for auditing is copied to corresponding fields on the audit form. If there are fields in the main form not configured for auditing, the corresponding fields on the audit form are left blank.
IMPORTANT
When you delete multiple fields from the main form, AR System attempts to delete those fields from the audit form as well. If any of those fields contains data, none of them are deleted from the audit form. If the fields are deleted one by one from the main form, the fields that do not contain data are deleted from the audit form. Each audit form contains the following audit-specific fields.
Table F-1: Audit form fields (Sheet 1 of 2) Field name Action Description The actions that triggered the audit. The options are: 2Set 4Create 8Delete 16Merge Fields Changed User Original Request ID Audit Date The database names of the audit fields that changed. The syntax for the list is as follows: ;databaseName;databaseName;databaseName; The user that modified the entry in the main form. The Request ID of the entry being audited. The date and time when the audit occurred.
Appendix F
Auditing
545
Last Modified The user who created the entry in the audit form last. (AR_AUDITOR is By always the user who creates the entries.) Audit Join Key Used for join form auditing. AR System maintains this field.
AR System does not create these fields as part of any view in the audit form, so you must add them to the view to use them. (In BMC Remedy Developer Studio, open the audit form, and choose Form > Add/Remove Fields On View.)
NOTE
The owner of the non-core fields on the audit form (form style) is set to the owner of the audit form, not the original form.
General
Any changes to the definitions in the main form (such as adding or deleting a data field) are applied to the audit form. You can change the form and view properties of the audit form. Only an administrator can delete entries. If the main form belongs to a deployable application, the audit form also belongs to the same application. If the main form is made licensable, then the audit form is also made licensable. An audit form cannot be further audited, but it can be archived. Archive forms cannot be audited.
Fields
Data fields, attachment pools, and panel holders cannot be modified or added to an audit form. All other field types, such as trim, or table, can be added or modified. Limit information of the fields must be the same as the corresponding fields in the main form. The permissions for fields on the Audit forms is read access.
Workflow
When an audit form is created, the workflow from the main form is not copied to the audit form. You can add workflow to an audit form, but workflow cannot modify data in an audit form.
546
Audit styles
Appendix F
Auditing
547
Log-style audits
A log-style audit records data from the main form into a log form. The log form: Is a regular form that serves as the destination for data audited in the main form. Resides on the same server as the main form. Contains only audit-specific fields. (See Log form fields on page 548.) When you configure a main form for a log-style audit, you specify a name for the log form. When a main form is audited, AR System copies values from the main form to a text field in the log form.
IMPORTANT
A log-style audit form can contain data from multiple main forms.
548
Configuring auditing
Log keys
When a log form is created, it contains special character fields named Log Key 1, Log Key 2, and Log Key 3. These fields can help in searching of log entries. In BMC Remedy Developer Studio, you can set a field to any of these Log Key fields. During an audit, the value of this field goes to the key that was selected. Only three keys are available, and you cannot set two fields to the same log key. Also, you cannot set log keys for diary and attachment fields.
Configuring auditing
Configuring auditing is a two-step process:
Step 1 Configuring a form for auditing (page 549) Step 2 Specifying fields to be audited (page 551)
NOTE
Do not audit system forms (such as User, Group, Server Statistics, and Server Events) because these forms use reserved fields that should exist only on the one form in AR System.
Appendix F
Auditing
549
3 From the Audit Style list, select the type of audit you want to perform:
NoneNo auditing is performed. FormA snapshot of the audited form is saved to the audit form you specify. Only the audit and copy fields in the audit form contain values. LogWhenever a form is saved after an audit field or set of fields changes values, an entry is created in the log form you specify.
4 From the Audit state field, select Enable.
You can select Disable to disable audit functionality temporarily. Any other audit configuration values you have specified remain intact.
5 From the Audit Only Changed Fields field, select how the audit function operates
when no field is changed: DefaultUse the setting defined in the Configuration tab of the AR System Administration: Server Information form. See the Configuration Guide, Server InformationConfiguration tab, page 128. YesAuditing occurs only when at least one field value changes as the result of an operation. NoAuditing occurs whenever there is an operation on the form. Before AR System 7.5.00, the server always audited every operation.
6 If you specified a form audit, enter an audit form name in the Audit Form field. 7 If you specified a log audit, enter a log form name in the Log Form field.
The audit or log form you specify is created when you save the main form.
550
Configuring auditing
In the audit forms Audit page of the Form Properties dialog box, the name of the main form is displayed next to the Audit From Form label. In the log forms Audit page of the Form Properties dialog box, the number of forms using the log form is displayed next to the Audit From Ref Count label.
NOTE
System fields, including Create Date and Last Modified by, cannot be audited.
See Configuring a form for auditing on page 549 for more information.
2 Select the fields you want to audit. 3 In the Properties tab, set the value for the Audit Option property.
The options are: NoneChanges to this field are not recorded by any audit processing. AuditChanges to this field trigger audit processing and its new value is recorded in the audit form or log form, depending on the audit style you specified at the form level. If the value does not change, its value is not recorded. CopyEither the database value or the value in the current transaction if present is recorded during an audit, but does not trigger audit processing. Audit and CopyChanges to this field trigger audit processing. If the value has not changed, the value from the database is recorded (similar to the behavior of the Copy option).
Appendix F
Auditing
551
4 (For log-form audits only) In the Properties tab, set the values for the Audit Log
Key property: Key 1The value of this field appears in the Log Key 1 field in the log form. Key 2The value of this field appears in the Log Key 2 field in the log form. Key 3The value of this field appears in the Log Key 3 field in the log form.
5 Save the form.
The problem is that the AR System server is attempting to create the table field in the audit form, but because the table fields form is missing, it cannot pass the validation. To resolve this problem, create the table fields form, or delete the table field from the main form.
552
Join forms
Both form-style and log-style auditing are available for join forms. An audit of a join form is triggered if the join form contains audit fields from the base forms and the audit qualification (if present) is TRUE.
Form style
For a form-style audit, the join forms underlying forms must also be configured for form-style audit and must be enabled. AR System creates the join forms audit form as a join form of the underlying forms audit forms and use the Audit Join Key fields in the join criteria, as shown in Figure F-2.
Figure F-2: How a join audit form is created
Audit Join Key for A = Audit Join Key for B Join Form Audit Join Form
Form A
Form B
Audit Form A
Audit Form B
After AR System creates the audit join form, you can modify the join criteria for the audit form to add more qualifications. Figure F-3 illustrates how join-form audits work in join forms. If Join Form 2 satisfies the join audit criteria, an audit occurs for Forms A, B, and C (irrespective of A, B, and Cs audit qualification), and audit records are visible by way of Audit Join Form 2. If Join Form 2 fails the join audit criteria but Join Form 1 satisfies the audit criteria, an audit occurs for Forms A and B, and audit records are visible by way of Audit Join Form 1, but not Audit Join Form 2. If Form C has audit enabled, Form C is audited, and Audit Form C has entries, but audit data cannot be viewed from Audit Join Form 2.
Appendix F Auditing 553
In summary, for the first audited join form that passes the join audit criteria, AR System generates a unique GUID and uses this GUID to update the Audit Join Key fields in this join forms underlying audit forms. Because the audit join form has a join criteria based on the Audit Join Key, the audit join form displays only data entered or modified in the corresponding audited join form. If the base forms of the join are modified directly, these base forms are audited, but the audit join form does not display the modifications because the value of the Audit Join Key fields is empty.
Figure F-3: How a join form audit-style works with joins
Join Form 2 Audit Join Form 2
Join Form 1
Form C
Audit Form C
Form A
Form B
Audit Form A
Audit Form B
Log style
For a log-style audit, a regular form is created and contains the special log-style audit fields.
IMPORTANT
Data entered in the join form is copied to the log form regardless of whether any of that data is pushed to the underlying base forms. This means that the data captured in a log-style audit form might not reflect the content of the main form or its underlying base forms.
554
When you modify the following properties, the audit form is unchanged: Entry mode Display properties Index for FTS Permissions Fields on audit forms are always read-only.
NOTE
In the base form of a join, if a field is set to audit after the audit join form is created, the flag field is created in the base forms audit form and in the audit join form.
Appendix F
Auditing
555
When auditing is triggered, and if the audit field changes value, the corresponding flag field contains a 1 to indicate that the field changed; otherwise, it remains empty. By using a flag field, you can refine your search and view changes to an individual field.
where fieldID is the ID of the field for which you want to view the audit. This field must be one of the fields that have the Audit or Audit and Copy attribute enabled. For example, Form A has fields A, B and C, and audit is turned on for A and B. To view the changes to A, search Form A with the following qualification:
'F_536870913_C' = "1"
where 536870913 is the field ID of field A. This query displays all of the records where field A has changed.
NOTE
Phase 3 filter actions (such as Run Process, Notify, and DSO) are not audited. For information about filter processing, see the Workflow Objects Guide, Filter processing in the AR System server, page 177.
556
Appendix
NOTE
Exporting and importing object definitions (.def or .xml) files is not the same task as exporting and importing data (.arx, .asc, .csv, or .xml). Use BMC Remedy User to export data in a form to a file, as described in BMC Remedy User help. To import data into a form, use BMC Remedy Data Import, as described in the Configuration Guide, Importing data into AR System forms, page 279. You can also export data as part of a deployable application. For information about exporting and importing deployable applications, see Exporting and importing deployable applications on page 108.
Appendix G
557
AR System definitions
A definition is the description of the structure in which objects, views, and applications in AR System are organized, identified, and manipulated in the AR System server. Object definitions contain no user data or entries. You can use two methods for exporting and importing definitions: You can move AR System objects from one server to another by exporting object definitions to a file, and importing the definition file to a server on the same or a different computer. Exported objects can be locked to prevent them from being modified or viewed. For more information, see Locking objects on page 571. You can export object definitions by type (for example, all menus), or those for a specific server. You can export and import deployable applications from one server to another. Exporting and importing a deployable application automatically includes all the forms, workflow, menus, web services, packing lists, localized messages, reports, application roles, support files, and the form data (if specified) that are referenced by the application. For more information, see Exporting and importing deployable applications on page 108. To learn about exporting and importing data, see Configuration Guide, Importing data into AR System forms, page 279.
NOTE
BMC Remedy Developer Studio 7.6.04 cannot import object definitions and deployable applications exported using BMC Remedy Administrator 6.3.00 or an earlier version. You must export using version 7.0.01 or later. When you export object definitions to a file, you choose a file typeeither AR System definition or AR System XML.
558
Exported objects in XML format comprise an XML document, which might also be referred to as an instance of a particular XML schema definition for that object. If the XML schema definitions are loaded into an XML editor, someone who is knowledgeable about AR System objects and XML can edit the XML document. The XML schema definitions are designed to be similar to the definitions in the *.def files. You can include only one application inside an .xml file. For more information about the XML Schema definitions of AR System objects, see the data structure information in the C API Reference, XML support, page 569.
WARNING
If you are exporting an object that contains XML text (for example, a form with a data visualization field that holds a flashboard), you must use a .def file. Because of an XML parsing limitation, exporting and importing XML text in AR System XML files is not supported.
NOTE
This section describes how to import and export objects outside of a deployable application. There is special functionality to export and import deployable applications. See Exporting and importing deployable applications on page 108. Export provides a wizard from which you can export structure definitions to a file. If you are licensed for the Distributed Server Option, you can also export distributed mapping and pool definitions. You can also create mail template files with the Export Mail Templates tool. You can also export definitions into source control. Import imports structure definitions to a server. If you are licensed for the Distributed Server Option, you can import distributed mapping and pool definitions. You can also import definitions from source control.
Appendix G
559
WARNING
After initiating an export operation, do not cancel it. The AR System server does not support the cancel option for exports, so attempting it might corrupt your files.
2 Expand BMC Remedy Developer Studio in the tree. 3 Select Object Definitions, and click Next. 4 Select the server from which to export objects, and click Next. 5 In the Export Objects dialog box, click Add to open the Add Items dialog box.
560
6 Perform the following actions: a (Optional) In the Filtering Options area, use any of these methods to narrow the
list of objects in the list: To find an object, enter the first few characters of its name in the Name field. For example, to find a form called Class Cost, enter cla or class. To show only the objects for a specific application, select an application from the Applications drop-down list. To display specific types of objects, Use the Object Category check boxes to select categories. To select all categories, click Select All.
b To find a specific object after you filter the list, enter the first few characters of
an object name in the Locate field above the object list. You can sort the list of objects by name or type by clicking a column header. For example, to sort the objects by name, click the Name column header. By default, items are sorted in ascending order. To sort by descending order, click the column heading again.
Appendix G
561
7 Select the objects to export. (Use the CTRL or SHIFT key to select more than one
object.)
8 From the Add Items with Related Properties drop-down list, select an option:
Object Only Directly Related Objects All Related Objects Content The Directly Related option limits the scope of server objects when exporting shared workflow to a definition file. This option defines new rules for each workflow object, establishing parameters that restrict the objects that are related to include only the associations defined by the new rules for each type of workflow. The Content option is applicable only to container objects: applications, guides, and packing lists. If you select only Container object types in the Filtering Options, the Content option is displayed in the list. Selecting Content exports only the object in the container. The container and related objects are not exported.
NOTE
You can change the Related property for an object after you add it to the Export wizard page. Table G-1 outlines how each object definition is exported with the Directly Related option.
Table G-1: Items exported with Directly Related option (Sheet 1 of 2) Object type Forms Items exported with Directly Related option All related menus, active links, filters, escalations, active link guides, filter guides, web services, and distributed mapping definitions. Menus from the Change Field action of the active links are also included. Any other forms referenced in workflow actions, guides, and menus are not associated as related objects. Join forms Active links All forms used to create join forms and their related items (as defined in the operations included in the forms described in the preceding row). All menus referenced in the Change Field actions, and all guides referenced in the Call Guide action. The guides should see the same form to which the active link refers. The active links referenced in the guide also fall within the same scope; therefore, the associated objects of those active links are included. This cycle continues until it reaches a form. Filters All filter guides referenced in a Call Guide action and all DSO mapping definitions referenced in a DSO action. Filters referenced in the guide also fall within the same scope; therefore, the associated objects of those filters are included. The guides should see the same form to which the filter refers. Escalations do not have any of the preceding actions, so there are no associations for escalations.
562
Table G-1: Items exported with Directly Related option (Sheet 2 of 2) Object type Active link guides Filter guides Applications Packing lists Menus Web Services Flashboards Items exported with Directly Related option All active links referenced in the guide and all associated objects for those active links. All filters referenced in the guide and all associated objects for those filters. All associated forms and the list of related objects associated with those forms. All contents of the packing list and all related objects for those contents. No related items exported. Exports as an independent object. Exports as an independent object.
The All Related option moves an object and any objects that are related to it. Table G-2 outlines how object definitions are exported with the All Related option.
Table G-2: Items exported with All Related option Object type Forms Items exported with All Related option All related menus, active links, filters, escalations, active link guides, filter guides, web services, and distributed mapping definitions. Forms associated with distributed mapping definitions are exported with all related forms and workflow on the current server. Join forms Filters, active links, and escalations Guides Applications Packing lists All related forms and their form-related items All related forms and their form-related items
All related forms and their form-related items. All related forms and their form-related items. List of all objects in the packing list and the related items of each object, including list of objects in an embedded packing list.
Note: Exporting embedded objects can be time consuming.
No related items are exported. All related forms and their form-related items Exports as an independent object.
NOTE
If you enabled Record Object Relationship on the Configuration tab of the AR System Administration: Server Information form, BMC Remedy Developer Studio uses that data to find the related objects. See the Configuration Guide, Server InformationConfiguration tab, page 128.
Appendix G
563
TIP
When you export a large number of forms with many related objects, the export operation might time out and return an error. To avoid the time-out, export the forms and objects in two or more operations.
9 Click OK to close the Add Items dialog box. Figure G-3: Selected objects for exporting
10 To add more objects, click Add, and repeat steps 5 through 8. 11 To remove objects from the list or to change the Related property for objects, select
564
13 In the To File field of the Options page, verify the directory and file name for the
Lock Exported ObjectsSelect the check box to protect the exported objects from unwanted modifications. See Locking objects on page 571. Save as Related Working ListSelect the check box, and enter a name for the new working list. Related lists can be created from AR System Navigator by right-clicking the Working Lists node and selecting New Related List from the context menu.
15 Click Finish.
The export begins. A progress bar appears as objects are exported. When the export is finished, the Progress tab displays an Export Complete message.
NOTE
Exporting .def files cleans up only known names on the AR System server. For example, if you log in to ServerA, the export cleans up all names found with ServerA. Your computer might not know ServerA and ServerA.domain.com are the same, so it does not clean up the fully qualified name or an alias name. Also, table fields and active links can point to other servers to gather data. Exporting with server independent does not clean up those names.
Appendix G
565
WARNING
After initiating an export operation, do not cancel it. The AR System server does not support the cancel option for exports, so attempting it might corrupt your files.
2 Expand BMC Remedy Developer Studio in the tree. 3 Click View Definitions, and click Next. 4 Select the server containing the view or views to export, and click Next. 5 In the Export Views dialog box, click Add to select views to export. Figure G-5: Export Views dialog box
6 In the View Selector dialog box, click Add to display a list of available views.
566
7 (Optional) Perform any of the following actions to filter the list of views available
for exporting: To find a view in the list, enter the first few characters of its name in the Name field. For example, to find a form called Application View, enter app or application in the Name field. To show only views for a specific form, select a form from the Forms drop-down list. To find a specific view after you filter the list, enter the first few characters of its name in the Name field above the view list. You can sort the views in the list by name or type by clicking a column header. For example, to sort the views by name, click the Name column header.
8 Click the views to export. 9 In the To File field of the Export Views dialog box, enter the path for the directory
Next. The export starts and a progress bar appears. When the export is finished, a Completed message appears.
Appendix G
567
To export applications
1 Choose File > Export.
WARNING
After initiating an export operation, do not cancel it. The AR System server does not support the cancel option for exports, so attempting it might corrupt your files.
2 Expand BMC Remedy Developer Studio in the tree. 3 Select Application, and click Next. 4 Select the server that contains the application or applications to export, and click
Next.
Figure G-7: Export Application dialog box
The Application Selection page lists the applications available for export from the selected server. You can sort the list by clicking a column header. For example, to sort applications by type, click the Type column heading. By default, items are sorted in ascending order. To sort by descending order, click the column header again.
5 Select the application or applications to export. 6 In the To File field, enter a path for the directory to which to export the application,
568
the Replace Objects on the Destination server check box, which enables you to overwrite existing form definitions without deleting data or breaking workflow.
a Select any of the following options:
Delete Excess FieldsDeletes fields on the server that are not present in the file. Delete Excess ViewsDeletes views on the server that are not present in the file. Replace Application OwnerReplaces the Application Owner property of the object being imported with the value of the Application Ownder property for the object on the destination server.
Appendix G Importing and exporting object definitions and locking objects 569
WARNING
If you delete excess fields on the server, the associated data is deleted and any workflow might be broken.
b Select a Handle Conflicting Types option.
This option lets you decide on what path to take if field IDs are the same on the server and in the file, but the data types are different. Display Conflict Error (default)Check for conflicting data types and report errors. The import not performed. Take No ActionLeave the field as it is on the server. Data is not overwritten during import. Replace with New TypeReplace the field with the new type during import.
WARNING
If you replace the field with the new data type, the original data stored in the field is deleted and workflow might not work.
8 Click Finish.
If you attempt to import an application that is reserved by another user, the import operation fails with an error message. When you import objects that are reserved by another user, the reserved objects are skipped. When the import is completed, an Import Complete message appears.
9 Click OK. 570 Form and Application Objects Guide
Locking objects
Locking objects
Object locking allows application developers to protect AR System server objects. Locking objects prevents the modification and optionally the viewing of server objects that are neither intended nor designed to be customized. AR System developers who resell their applications will find this feature especially helpful. (For more information, see Levels of object locking on page 572.) To create a locked object, you use the export definition mechanism, not the export deployable application mechanism. For more information, see Locking objects when exporting on page 574.
WARNING
After you lock an object, it cannot be unlocked, even if you know its lock key. Keep unlocked, backup copies of your objects. In general, it is best to lock objects when you are ready to release your application. This practice prevents customers, but not fellow developers, from modifying or viewing the workflow. However, distributing locked objects prevents other developers from modifying or viewing them.
locked object: An unlocked copy of the object A lock key to recreate the locked object
2 Modify the unlocked object and export it with the same lock key used for the
locked object. This newly locked object can overwrite an existing locked object on a server when you use Import in Place. For information about importing definitions in place, see Importing locked objects on page 576.
NOTE
All objects locked with the same key on a server become one block of locked objects on that server. You cannot remove an object from a lock block without deleting the entire lock block. You can overwrite any locked object, but you cannot individual objects.
Appendix G
571
You cannot modify forms that You cannot modify forms with have a read-only lock, but you a hidden lock. can edit display, permissions, and VUI information. On a form with a read-only lock, you cannot create new fields or delete existing ones.
You cannot modify workflow You cannot modify workflow objects with a read-only lock, objects with a hidden lock. but you can add forms and edit permissions.
572
Locking objects
Table G-3: Object tasks and lock levels (Sheet 2 of 3) Object task Add forms to locked workflow object Read-only lock Hidden lock
You can add forms to workflow You cannot add forms to objects with a read-only lock. workflow objects with a hidden lock. Hidden locks apply only to server-side objects (for example, filters and escalations). Hidden locks do not apply to client-side objects.
You cannot remove forms from You cannot remove forms from workflow objects with a read- workflow objects with a hidden only lock. lock. You can copy objects with a You cannot copy objects with a read-only lock by performing a hidden lock (enforced at the Save As operation. API level). You can apply a read-only lock You can apply a hidden lock to server objects. only to workflow objects that run on the server (filters, filter guides, and escalations).
Increase restrictiveness You can increase the lock level Not applicableHidden is the to hidden. higher lock level. Decrease restrictiveness Not applicableRead-only is the lower lock level. You cannot decrease the lock level to read-only.
Rename locked objects You cannot rename objects You cannot rename objects with a read-only lock (enforced with a hidden lock (enforced at at the API level). the API level). Delete locked objects You can delete objects with a read-only lock only as a block of objects. Deleting one object that belongs to locked group deletes the entire group. Deleting a locked form that is part of a join deletes the join form. You can delete objects with a hidden lock only as a block of objects. Deleting one object that belongs to locked group deletes the entire group. Deleting a locked form that is part of a join deletes the join form.
You cannot export objects with You cannot export objects with a read-only lock (enforced at a hidden lock (enforced at the the API level). API level).
Appendix G
573
Table G-3: Object tasks and lock levels (Sheet 3 of 3) Object task Import locked objects Read-only lock You can import objects with a read-only lock only if the lock key of the objects to be imported matches the lock key for those objects on a server; the server object is replaced during an import in place operation. Otherwise, a locked object cannot be overwritten. If the objects are locked with a key that does not currently exist on the server, the objects are imported. Lock an object that is already locked Hidden lock You can import objects with a hidden lock only if the lock key of the objects to be imported matches the lock key for those objects on a server; the server object is replaced during an import in place operation. Otherwise, a locked object cannot be overwritten. If the objects are locked with a key that does not currently exist on the server, the objects are imported.
You can apply a read-only lock Not applicable. to a previously locked object if you use the same key to increase restrictiveness to Hidden. If you use a different key, you can lock the object but the existing key is kept. YesCustomers can customize YesCustomers can customize the unlocked objects. the unlocked objects. NoDetails of locked objects are not visible. However, their names do appear in the lists of filters and escalations. No
View imported locked YesYou can edit, display, and view information. You objects in cannot add or remove fields. BMC Remedy Developer Studio View data from a locked server object using pre-6.x versions of BMC Remedy Administrator Logging No
Only name and server are included in filter and escalation logs.
WARNING
Lock forms and workflow with different keys. As a general rule, use one key to lock multiple forms; use a different key to lock multiple pieces of workflow. If you use the same key to lock both forms and workflow, you might encounter problems when migrating locked objects.
574
Locking objects
WARNING
After initiating an export operation, do not cancel it. The AR System server does not support the cancel option for exports, so attempting it might corrupt your files. For information, see Exporting object definitions, views, and applications on page 560.
2 Select only the objects that you want to lock. 3 In the To File field of the Options dialog box, select the directory and file name to
To be valid, a lock key must consist of alphanumeric and punctuation characters, for example, ?1!2^3#4% or john doe. The lock key can be up to 27 characters. You cannot use double-byte characters. Objects with the same lock key are encrypted as a group in the definition file. You can apply different lock keys to different groups of objects, and both groups can reside within the same definition file.
Appendix G
575
For information about each lock type affects object tasks, see Table G-3 on page 572.
7 To save the object as a working list, click the Save as Related Working List check
box, and enter a list name. For more information, see the Introduction to Application Development with BMC Remedy Developer Studio guide, Using working lists, page 61.
8 Click Finish. 9 (Optional) During the export, append the locked objects into the same definition
file. During the export, you can append the locked objects to any existing definition file, or you can create a new definition file. The locked objects are encrypted in the definition file, so that changes to the locked objects are prevented in this format.
TIP
On a form with a read-only lock, you cannot create new fields or delete existing ones. When you create a form, add all the form action fields to one or more views and mark them as Hidden if showing them in that view is inappropriate. Then, export the form as locked. When the user imports this form, all necessary form action fields are already present in the form; the user is not required to add form action fields except for choosing which of these fields to be on a specific view.
576
Appendix
577
NOTE
During installation of AR System clients, you can choose more than one display or view language for your users to use, but the display language must be compatible with the underlying data language. For example, you can install French and German in any combination (data or display), but you cannot install a display language of French with a Japanese data language. AR System provides many ways to localize the forms that users use to operate on the data, and those form views can use multiple display languages. Users can choose the display language (assuming it is installed) that is closest to their native language. Accordingly, the French users see form views, error messages, and online help in their native language. With BMC Remedy applications like the BMC Remedy IT Service Management Suite, you can add display languages after installation. For example, if an office is opened in Holland, you can add a Dutch language pack to the application.
NOTE
For general messages, menus, and buttons (such as OK and Cancel), the browser uses the language that was installed on it. For example, if you localize forms in German, but the user is using a browser with English installed, the user might still see some messages, menus, and buttons in English.
578
579
580
Step 1 Install languages. (See page 582.) Step 2 Create a localized view of a form. (See page 583.) Step 3 Localize the user interface of a form view. (See page 584.) Step 4 Localize menus. (See page 586.) Step 5 Localize reports. (See page 588.) Step 6 Localize messages, including system error messages. (See page 588.) Step 7 Localize currency codes. (See page 593.) Step 8 Set the Localize Server option in the BMC Remedy System Administration
NOTE
You can use the localization toolkit to complete steps 2, 3, and 4. See Using the localization toolkit to localize your applications on page 601.
581
In the default server directory, each language installed has its own resource file and follows the format: arcatalog_languageCode. The languageCode follows the three-letter ISO 639 standard. The following website has a complete listing of the ISO 639 3-letter language codes:
http://www.w3.org/WAI/ER/IG/ert/iso639.htm
To enable users to view system messages in the same language as the client, select the client language during the server installation (only valid for Japanese, French, German, English, Italian, or Spanish). If the client is set to a locale that is not provided, but that is supported, you can add system messages to the AR System Message Catalog form for that locale. Otherwise, users will receive system messages in the servers locale.
582
When you install the AR System server, user-selected translations of the system forms (such as Group and User) are installed.
In the resdlls directory, each language installed is assigned a folder, identified by a unique four-digit code: German (0007) English (0009) Spanish (000a) French (000c) Russian (0019) Italian (0010) Japanese (0011) Chinese (Simplified) (0804) Korean (0012)
583
TIP
You can use a utility, ARLABEL, which is automatically installed in the same directory as the AR System server. This utility assists with localizing labels on a view. ARLABEL allows you to extract all of the text that can appear on a view screen into a CSV file: labels, button text, URL links, text trim, menu items, selection field choices, and so on. After the translated names are supplied for each item, the file can be imported and the new labels loaded into an appropriate language view (created if needed or updated in place if already present). For more information about using ARLABEL, go to http://www.bmc.com/support.
To maximize the servers performance, set XML-VUI-Export-Default-IsLocalized to False (F) if you do not intend to localize the views you export.
2 Restart the server. 3 For each language, complete the following steps: a In BMC Remedy Developer Studio, export the view definitions to an XML file.
(Choose File > Export.) The export wizard allows you to select multiple views, but the output is stored in a single file.
584
For more information about export formats, see Appendix G, Importing and exporting object definitions and locking objects.
b In an XML editor of your choice, translate the text located between the <characterValue> and </characterValue> tags.
When modifying the XML file, keep the basic syntax and file layout intact.
c Import the translated view definitions back into the form from where they were
exported. (Choose File > Import.) Select the Import in Place check box to replace the original view with the localized version. For more information about exporting and importing view definition files, see Exporting and importing definitions on page 559.
d Verify the layout and field alignments, and make adjustments as appropriate.
For more information about the Label property, see Label on page 516.
2 To define alias names and labels for views, enter the appropriate text in the
following view properties, which under the Aliases and Labels categories for a view: Singular Plural Short Singular Short Plural Entry Point New Entry Point Search properties. Only the Singular property is available for web-only views. For more information about the Aliases and Labels tab, see Table 13-8 on page 408 and Table 13-10 on page 409.
3 To localize display values for selection fields: a In BMC Remedy Developer Studio, open the form you want to localize. b Select a view. c Double-click a list or radio button field on the view.
585
d Click the entry you want to modify in the Selection Value list, and enter the
localized text in the Alias Value edit box. Click the Modify button for each entry that you modify.
e Save the form.
AR System searches for the appropriate version of a file menu according to what locale is set as the user preference.
For each Windows user who is going to use the localized search menu:
a Click the Locale tab.
586
b Enter the locale for that user in the User Locale field. c Save the form.
For each web user who is going to use the localized search menu:
a Open the BMC Remedy Mid Tier Configuration Tool, and click the General
Settings link.
b Make sure that the preference server names for the relevant users is set in the
The server automatically appends a query to the search statement, in which the special field value equals the users locale. For example, suppose the base query of a Search menu is:
"Create Date > 01/01/09"
Normally, when this query menu is executed, it searches for all records in which the create date is later than 01/01/09. If you add a field with field ID 160 to the form, the server automatically changes the search statement to:
"Create Date > 01/01/09 AND Field 160 = usersLocale"
587
To localize reports
1 Specify a locale for a Report form entry. 2 Attach a localized report definition file.
588
If a localized version for any message type is not found in the AR System Message Catalog form, AR System loads the system default message. You can localize messages, help, and report automatically or manually. See: Localizing messages automatically on page 589 Localizing messages manually on page 590
For more information, see BMC Remedy User help or the BMC Remedy Action Request System BMC Remedy Mid Tier Guide.
2 Translate the messages in the .arx file. 3 With BMC Remedy Data Import, import the messages into the AR System
Message Catalog form. For information about using BMC Remedy Data Import, see the BMC Remedy Action Request System Configuration Guide, Importing data into AR System forms.
4 To indicate that system default messages should be overridden: a In a browser or BMC Remedy User, open the AR System Administration: Server
Information form.
b Click the Advanced tab. c Select the Localize Server check box.
589
Message TypeThe type of message you are localizing. Message IdentifierThe object whose messages you are localizing. Table H-1 lists the information you can enter.
Table H-1: Types of files to attach to the Binary Attachment field For this Message Type: System message Active link message Active link help text List menu definition (character menu) Filter message Form help text Field help text Container description Container label Container help text Enter this message identifier: The error number The name of the active link The name of the active link The character menu name The name of the filter The name of the form you are localizing The name of the form you are localizing The name of the container The name of the container The name of the Container
590
Table H-1: Types of files to attach to the Binary Attachment field For this Message Type: External report Application help Application about Application help index Flashboards system message Flashboards label Enter this message identifier: The name of the active link that the External Report is linked to The name of the application The name of the application The name of the application The name of the flashboard The name of the flashboard
LocaleThe locale for the message. Enter the locale following the format: language_country. To find a list of acceptable entries for this field, open any form in BMC Remedy Developer Studio, and locate the Locale view property. This property lists all of the available locales. It is best to enter only the language portion, allowing for all country variations of a language. For example, an entry of fr includes all country variations of French. StatusThe status of localized messages to be retrieved. The options are: ActiveEnables a message for retrieval. InactiveDoes not allow the server to access the message even if the server is set as localized. Field ID or Msg NumThe field identifier or message number. To find the field ID, in BMC Remedy Developer Studio, select the field, and view the ID property in the Properties tab. To find the message number, open the corresponding If Action or Else Action panel of the corresponding active link or filter. For external reports, enter the file ID. Support files are saved according to object name and file ID. The file ID differentiates between multiple support files when more than one file or report is associated with a single active link. You can identify how many reports or files are associated with an active link, and then enter the appropriate number; for example 1, 2, and so on. Another solution to finding the file ID is to export the active link and review the .def file. Return TypeIdentifies whether text or file is returned when the message is called.
591
Message TextThe text that is returned when Return Type is text and appears in the message, help text, label, description, or menu. The default size of the text string is 255 bytes and is defined in the ar.h file as AR_MAX_MESSAGE_SIZE on the AR System server. Messages larger than 255 bytes might include an embedded colon after 255 bytes. For list menus definitions (character menus), the format is the same as a file menu. Each line in the file contains a definition of a menu entry in the following format:
label\value
NOTE
If you want to include an entry ID in a message in Message 1100, enter the %s variable. For example, enter the following text in the localized language:
The entry was successfully created with ID = %s
When you enter the message for your localized application, %s becomes the entry ID:
The entry was successfully created with ID = 000000000000551
Binary AttachmentThe file that is returned when Return Type is Binary Attachment. Table H-2 describes the type of files you might attach to this field.
Table H-2: Types of files to attach to the Binary Attachment field For this Message Type: External Report Application Help Attach this file: The localized report A help file (.hlp) Application help refers to the file attached in the Help Text panel of the application in BMC Remedy Developer Studio. Application About An image file (.bmp, .jpeg, .jpg, .dib) The .cnt file is the contents file used in conjunction with the application help (.hlp) file. Both files are used together only if the locale is matched between them; otherwise, only the help file is used. Application Help Index A help index file (.cnt)
592
NOTE
Use the AR System Currency Label Catalog form to localize currency codes. The AR System Currency Localized Labels form is used internally by the system and requires no modification.
form.
2 In the Currency Code list, select a currency code. 3 In the Locale field, enter the locale for which you are creating the localized code.
For example, enter fr for all French languages. Enter fr_CA for French Canadian.
4 In the Localized Currency Label field, enter the localized string. 5 Click Save.
593
You can find the .properties files for the localized languages that BMC supports in the midTierInstallationDir/WEB-INF/classes directory.
Step 2 Localize the AR System Message Catalog form. (See Step 6: Localizing message
pages.)
For example, if you wanted to localize the mid tier into Vietnamese, put the LocalizedMessages_KL.properties file into the midTierInstallationDir\WEB-INF\classes directory.
594
4 Set the locale in the AR System User Preference form. 5 Make sure that your browser and operating system are set to the correct locale.
The next time a user accesses a form in a browser, the login page displays the localized version. Based on the translations of the strings in the new .properties and .js files, the mid tier automatically opens the login.jsp and logout.jsp pages in the correct language.
For more information about this setting, see the Configuration Guide, Server InformationAdvanced tab, page 123.
595
A null selection for any of the fields on the Locale tab defaults to the setting of the users operating system, browser, or web server, depending on whether a locale preference is set.
596
597
The format you specify can contain any characters (including the field descriptors in Table H-3) in any combination that you choose. To put a comma in your date, include the comma in the appropriate place in the format.
598
NOTE
The wording of the second example might differ, according to the LANG environment variable or your systems default language. For Windows servers, use the time and date formats listed in the Regional Options dialog box to set the environmental variables under your System settings.
Table H-5: Sample Windows settings Variable ARDATE ARDATEONLY ARTIMEONLY Value M/d/yyyy h:mm:ss M/d/yyyy h:mm:ss tt
599
users browser.
3 If the view with the users preferred locale is not found, the system check the OS
of the user. If there is no exact match during any of these stages, the fallback mechanism finds the closest possible locale to the one requested. The resulting view is then displayed. In BMC Remedy User:
1 If a user indicates a locale as a preference in the Options dialog box in
BMC Remedy User, the view that matches the selected locale is used. It is first matched by language and country and then by just language if the country is not specified.
2 If no locale preference is set, a view with a blank locale or the locale of the users
600
Appendix
Appendix I
601
(page 606.)
Step 4 Create a localization package. (See page 607.) Step 5 Extract the strings for localization. (See page 609.) Step 6 Export the strings to an XLIFF file. (See page 612.) Step 7 Translate the strings in the XLIFF file. (See page 613.) Step 8 Import the translated strings. (See page 617.) Step 9 Create or update content. (See page 618.)
602
Step 10 Review the forms, views, and fields that were localized to make sure the
To be ready for localization, your server must be configured for localization. Additionally, applications must have the correct localization properties set for forms, their associated views, and fields. By default, all forms, views, and fields are configured to be localized, so you should not have to manually set each property. Conversely, if you have specific forms, views, or fields that you do not want localized, set the property accordingly. If you purchased your applications from BMC Software or from a third-party vendor, the localization properties might be set correctly already. Check with your sales representative. If you have backend forms that contain configuration data for your applications, you must prepare that data for localization. For example, you might have a form used to drive menus; the form contains the data corresponding to those menus. See To prepare your applications configuration data to be localized on page 605.
NOTE
New localization properties replaced the Localization Required property for views and fields in the 7.6.03 version of BMC Remedy Developer Studio. In summary, to prepare your application for localization, you must prepare the: Server Applications forms, views, and fields Configuration data
Appendix I
603
Information form.
b Click the Advanced tab. c Select the Localize Server check box.
This enables such tasks as searching entries in localized forms and using the AR System Message Catalog to load system messages.
Properties.
b To localize form views, select the Localize Form Views check box on the Basic
page. Then, select one of the following options: AllThe form is localized when you run the localization toolkit. The view properties and field properties are used to identify what to localize. Only for Selection Field AliasesOnly selection (enumerated) fields are localized when you run the localization toolkit. Usually, this option is used for back-end forms. By default, the Localize Forms Views check box and the All option are selected.
2 Set the properties for the views for each form. a Open the view of the form. b In the Properties tab, set the Localize property. The options are True and False.
By default, Localize is set to True, and the view is localized when you run the localization toolkit.
3 Set the properties for the fields on each view of each form. a Select the field. b In the Properties tab, set the Localize Label property. The options are True and
False. By default, Localize Label is set to True, and the field is localized when you run the localization toolkit.
604
The entry should contain the locale from which you are translating (for example, if you are translating from English data, then each data record must to have en as the locale value).
b Make sure that at least one of the following conditions is met:
A GUID field (field ID 179) is defined. At least one unique index is defined with the Locale field (field ID 160) included in it.
c Open the form in BMC Remedy Developer Studio, and choose Form > Form
Properties. Then, select the Localize Form Data check box. By default, this check box is not selected.
2 For each field in each view of forms with configuration data, change the Localize Data
field property to True. When data is processed, for each record that has the matching source locale, a new record is created for each of the target locales defined in the localization package definition. The only data that is translated is the data in the fields that are tagged for data localization.
3 To localize templates, on the AR System Resource Definitions form, make sure that
the Application field contains the applications name in each entry. This step ensures that the localization toolkit can identify the templates to extract and which application folder to place the files. For more information about where template files are stored for localization, see What happens to extracted attachment files and other external files on page 610.
When you install the localization toolkit, the localization toolkit files are added to the DeveloperStudio folder of your AR System installation. (The default installation directory is C:\Program Files\BMC Software\ARSystem\ DeveloperStudio.)
Appendix I
605
The localization toolkit plug-ins are placed in the plugins folder with the other BMC Remedy Developer Studio plug-ins. A Localization Package Definitions branch is added to each server in the AR System Navigator in BMC Remedy Developer Studio. The first time you add a new package definition, an l10n folder is added to the BMC Remedy Developer Studio workspace folder.
Figure I-1: Localization Package Definitions branch
To begin the localization process, set a root folder, which stores: The localization database (l10n.db) The log file that logs the translation progress (l10n.log) Package definition files that you create for translation. (See Creating a localization package definition.) The default root folder is the
BMCRemedyDeveloperStudioInstallDir\workspace\l10N folder.
By default, the localization toolkit uses the SQLite database, which is sufficient for extracting applications that will result in a small database. If you are using a large production database, you might want to use an AR System database for the localization toolkits database. This is described in the following procedure.
606
server.
a Select the Use the AR System server as the localization toolkit database check
box.
b In the AR System Server field, enter the name of the server you want to use.
IMPORTANT
For better performance, use a different server from the server that contains the applications you want to localize.
c If this is the first time that you are setting up the database, click Set Up Database.
After the server is set up, you do not need to click Set Up Database again. An application called BMC Remedy Localization Toolkit Database is installed on the server you entered in step b. This application contains four forms.
5 Click OK.
The Localization Package Definition editor (Figure I-2) in BMC Remedy Developer Studio makes it easy to create a localization package definition for your application and any other forms that you want in the package definition.
Appendix I
607
New Package Definition. A new package definition is opened, and the Target Server and Localization Database fields are completed.
3 Click the Browse button () next to the Locales field, and select the locales for
which you want to translate. A comma-separated list is entered in the Locales field.
4 In the Ignored Field Label Prefixes field, enter a comma-separated list of prefixes
that are used in field labels of fields that you do not want to localize. For example, to ignore all of the fields with labels that begin with zTMP, enter zTMP.
5 To localize currency codes, select the Localize Currency Code Labels check box.
By default, this check box is not selected. If you want to localize currency code labels on a server, you need to select this check box in only one of the localization package definitions on the server. Then, all currency code labels are localized.
6 In the Deployable Applications section, click Add, and add the applications that
8 In the Panel Fields to Skip section, add the field IDs for the panel fields that should
be skipped (along with their child fields) during the localization process. You might want to skip a panel field because you do not want to localize it, for example, for debugging purposes. You can enter IDs from 0 to 2147483647.
9 In the View ID Range section, enter a start and end range for generating view IDs
when the localization toolkit creates a new localized view. View IDs are created from the same ranges as field IDs. For a list of the ranges reserved for BMC, see the BMC Remedy Action Request System Form and Application Objects Guide, Reserved field ranges. The range can be from 0 to 2,147,483,647. Enter a range that is outside of the reserved ranges and that is large enough to hold the view IDs of all views. If you enter 0 in the Start and End fields, the view ID will be generated in the unreserved range.
10 Save and name the package.
An XML file containing the configuration information is created in your root folder. (See Setting a root folder on page 606.)
NOTE
Anything that is done outside BMC Remedy Developer Studio is not refreshed immediately in UI. If you add or remove definitions outside of BMC Remedy Developer Studio, the changes do not automatically appear. To view the latest definitions, close all of the editors, right-click Localization Package Definitions in the AR System Navigator, and choose Refresh.
After you create a localization package definition, you can extract the strings for localization into the localization database (l10n.db in the root folder).
If you have attachment or help files, see What happens to extracted attachment files and other external files.
Appendix I
609
4 To check the status or modify what is translated, click Translation Status in the
Localization Status section. For more information, see Reviewing the status of the translation progress on page 611.
NOTE
For reports generated through Crystal Reports and BusinessObjects, you must localize the reports manually. For more information, contact SAP (www.sap.com). The folders are organized in the root l10n folder (see Setting a root folder on page 606) as follows: Folders for attachment filesFor forms inside an application, attachment files are saved in hierarchy of folders. The name for the first folder under l10n contains the applications name. A subfolder under this folder is created for each attachment field and locale. The subfolders names include the form name, the attachment field ID, and locale. The path to the attachment fields looks like this:
BMCRemedyDeveloperStudioInstallDir\workspace\l10n\ applicationName\formName_attFieldID_locale
For example:
BMCRemedyDeveloperStudioInstallDir\workspace\l10n\VideoRental\ Inventory_710048911_es
Attachment fields for independent forms have folders saved directly in the l10n folder. The naming scheme for the attachment fields folder is the same; it includes the form name, the attachment field ID, and locale.
Template_Files folderThe Template_Files folder contains template files
from the Resource Definition form linked to the application. A separate locale folder is created for each application and locale, for example:
BMCRemedyDeveloperStudioInstallDir\workspace\l10n\ Template_Files\applicationName_locale
610
For example:
BMCRemedyDeveloperStudioInstallDir\workspace\l10n\ Template_Files\VideoRental_es Help_Files folderThe Help_Files folder contains the About box image and
external help files in the application. A separate folder is created for each locale, for example:
BMCRemedyDeveloperStudioInstallDir\workspace\l10n\Help_Files\ applicationName_locale
Even if more than one file is linked, only the first file is extracted (or updated) because the catalog form can have only one such entry.
Support_Files folderThe Support_Files folder contains the external
report files linked to the Open Window active link actions. A separate folder is created for each locale, for example:
BMCRemedyDeveloperStudioInstallDir\workspace\l10n\Support_Files\ activeLinkName_fr\
The translation processors cannot distinguish whether the file present is the original or localized version. They simply verify the presence of the named file and pick it up.
IMPORTANT
When you import the translated definition file, you must replace the file with the translated version, and the name and extension must exactly match the original file. For more information, see Importing the translated strings on page 617.
Appendix I
611
The Details tab appears and displays the Translation Status panel.
3 From the Locale list, select the locale you want to review. 4 Click the number link next to Ready to Translate.
If the list is very long, use the fields in the Filtering Options panel to narrow down the list.
6 In the Translation panel, select Do Not Translate from the State list. 7 Click OK.
XML localization interchange file format (XLIFF or .xlf) files are XML-based and help to standardize localization. The next step in the process is to export the extracted strings to an XLIFF file for translators. To export using the command-line interface, seeUsing the CLI to localize your application on page 622.
612
If the file you enter does not exist, then it is created. If you specify a full path, the file is created at that location. If you specify only a file name, the file is created in the root folder. (See Setting a root folder on page 606.)
4 Select the locale you want to export. 5 Select the state of the strings that you want to export. 6 Click OK.
Send the file that is created or updated to the translators. Only those items that are set to the state you selected in step 5 (for example, Ready to Translate) are exported to the .xlf file. For more information, see Reviewing the status of the translation progress on page 611.
For an accurate translation, BMC recommends that you send the XLIFF file to professional translators. (Open source and commercial XLIFF editors are available for purchase by several third-party vendors.) Optionally, you can translate each string manually with the Localization Details dialog box. (See Translating the strings within the localization toolkit on page 614.) If you want to create a mock-up of translated strings, the localization toolkit can programmatically translate strings through Google Translate. (This feature translates only from English to another language that Google supports.) The translation might not be clean and completely accurate, but you can use the translated strings to get an idea of how your translated views will look.
Appendix I
613
614
If the list is very long, use the fields in the Filtering Options section to narrow down the list. If you click the plus sign (+) next to the localization item, the panel lists the locations where the string appears. If you want to move a location to a new localization item because it might be a homograph, see To adjust repeated strings that are homographs on page 615.
5 In the Translation panel, enter the translated text in the Translation field. 6 From State field list, select Ready for Review. 7 (Optional) In the Notes field, enter notes about the translation. 8 (Optional) In the Context field, enter the context in which the text is used. 9 To see the history of the strings translation, click Translation History, and click
Normally, you would click the link next to Ready to Translate or Ready for Review. The Localization Item Details dialog box appears.
4 In the Localization section, click the plus sign (+) next to the localization item that
For example, the Assigned To field might be used five locations, and you want to move one of them to a new localization item.
6 Click Move Location.
Move location to a new itemCreates a new localization item, and a number is added to the new localization items name. For example, if Assigned To is selected, the new localization item is named Assigned To [001]. Move location to an existing itemEnables you to select the localization item in the list where you want the location moved.
9 Click OK.
616
The Translation History dialog box displays the following information about each previous translation: The value of the previous translation State of the translation (Ready for Review, Ready to Translate, and so on) The source for the translation: AutomaticThe translation that is created when you click Translate Strings in the Localization Package Definition editor. ManualThe translation that is manually entered in the Localization Item Details dialog box. ImportThe XLIFF file that is imported when you click Import Strings in the Localization Package Definition editor. Modification date and time The user who modified the translation
After you send out the XLIFF file to translators, they will return a translated file to you. The next step in the process is to import this file so that you can create new localized views or update previously translated views in your application. When you import items, the status for items in the dictionary automatically changes from Ready to Translate to Ready for Review. (See Reviewing the status of the translation progress on page 611.) To export using the command-line interface, seeUsing the CLI to localize your application on page 622.
NOTE
When you import strings from the .xlf file, if the item ID does not exist in the l10n.db file, then the item is skipped. Additionally, new items found in the .xlf file are not added to the l10n.db. Therefore, you should use the same .xlf file that was exported from l10n.db file when importing the strings.
file.
Appendix I Using the localization toolkit to localize your applications 617
4 Select the state of the strings that you want to import. 5 Click OK. 6 If you have attachments that were translated, copy the translated files into the appropriate l10n folders.
WARNING
Make sure that the file names match the file names in the folders; otherwise, those translations will not work. For more information, see What happens to extracted attachment files and other external files on page 610.
After you import the translated XLIFF file, the localization toolkit can create localized views, message catalog entries, and configuration data. If you have already run through this process, the localization toolkit updates existing views, messages, and data. The locale abbreviation is appended to each new view name (not the view label). For example, a Spanish locales view name would include - es at the end of the name. If you created views before creating a localization package definition, the localization toolkit might not be able to update them. The localization toolkit looks for views that have the same name in a form and that have the Locale property set. If the toolkit does not find a view for the locales you specified, it creates new views. For example, if you created a localized view called Spanish Help Desk for a form called Help Desk, but you did not set the Locale property for the view to es, the localization toolkit would create a new Spanish view called Help Desk - es.
Now, you are ready to open BMC Remedy Developer Studio and review the translations.
618 Form and Application Objects Guide
Review the forms, views, and fields that were localized to make sure the translation is accurate. You can review the list in the Localization Item Details dialog box, and make changes there.
Ready to Translate Ready for Review Flagged Reviewed The Localization Item Details dialog box appears.
4 In the Localization section, select the localization item that you want to review. 5 Review the text in the Translation field. 6 Edit as needed. 7 Repeat steps 4 through 6 for the localization items you want to review. 8 Click OK.
When your forms are localized, the views might become skewed because of the translation might increase the size of the field label. The localization translation toolkit allows you to review the views and make adjustments accordingly.
Appendix I
619
If the file is not in the workspace folder, all fields are checked on the base views and the 30% rule is used.
2 Enter the following text in the file: <?xml version="1.0" encoding="UTF-8"?> <spaceanalyzer baseviewsonly="true"> <ratio>30</ratio> <ignoredprefixes> <prefix>zTmp</prefix> </ignoredprefixes> </spaceanalyzer> 3 To change the views that the Analyzer checks with the Space between label and data box rule, set the value of baseviewsonly.
The options are true (the default) and false. If baseviewsonly is true, Analyzer checks only English views or views with no Locale property set. If baseviewsonly is false, all views are checked.
4 To change the percentage of space required after the label name, change the number on the <ratio> line to a larger or smaller percentage than the default of 30.
620
5 If you do not want to localize fields with specific prefixes in their field labels, enter a <prefix> line for each prefix you want to ignore. 6 Save the file. 7 Run Analyzer. 8 Fix any issues that are found.
Folder.
3 Click Next. 4 In the Export to File field, enter the full path and a file name for the zip file that you
want to create. If a zip file is already in the root folder but has a different name, that zip file is included in the new zip file. If the zip file in the root folder has the same name, the zip file is overwritten when the new zip file is created.
5 Click Finish.
For more information about exporting, see the BMC Remedy Action Request System Form and Application Objects Guide, Importing and exporting object definitions, views, and applications.
6 If you set up a localization toolkit database on an AR System server: a Export the data from the four forms in the BMC Remedy Localization Toolkit Database application to a .arx files.
You should have one .arx file for each form. For information about exporting data, see the BMC Remedy Action Request System Configuration Guide.
b Add the four.arx files to the zip file created in the previous steps.
For information about setting up a localization toolkit database on an AR System server, seeSetting a root folder on page 606.
Appendix I
621
database, you must set up the database on that server as described in Setting a root folder on page 606. -ldu "localizationDatabaseUser" Specifies the user account on the localization database server. Use this parameter when the -ldx parameter is used. -ldp "localizationDatabasePassword" Specifies the password for the user account on the localization database server. Use this parameter when the -ldx parameter is used, but you can omit the option if the user account has no password. -ldw "localizationDatabaseAuthenticator" Specifies the name of an external authentication string or Windows domain. This is related to the Login window Authentication field. (For more information, see the BMC Remedy Action Request System Configuration Guide.) Use this parameter when the -ldx parameter is used.ef
622
Table I-1: Parameters for the localization toolkit CLI Parameter -ldportnum "localizationDatabasePortNumber" Description Specifies the TCP port number used to log in when the portmapper is turned off on the localization database server. Use this parameter when the -ldx parameter is used. -d "definitionFilePath" Specifies the file path to the localization package definition file that you created. (See Creating a localization package definition on page 607.) Extracts strings from the applications and forms in the definition file specified with the -d parameter. The strings are placed in the localization database (l10n.db). Exports the object definitions to an XLIFF file in the specified path on the server specified with the -x parameter. Imports the objects defined in definition file (specified with the d parameter) into the localization database. Starts the localization process using the definition file specified with the -d parameter. Specifies the target state of the strings that were translated. The values are: ready_to_translate ready_for_review approved flagged do_not_translate -o "logFile" -l "locale" Specifies the path to a log file to which to redirect errors, which are normally displayed within the CLI. Specifies the locale to be used for exporting object definition. This parameter is used with the -export parameter. -root "pathToLocalizationDatabase" -migrate Species the file path to the root folder where the localization database (l10n.db) resides. Migrates data from the local localization database to a database on the AR System server.
-extract "fileNamePath"
-export "fileNamePath"
-import "fileNamePath"
-process -t "targetState"
Appendix I
623
Table I-2 lists the general parameters for each type of operation.
Table I-2: General parameters for the localization toolkit CLI Operation Extract Export Required parameters -data,-x,-u,-p,-d,-extract -data,-d, -l, -export Optional parameters -o, -w,-portnum -o,-t
Note: If -t is not specified then
ready_for_review is considered. Process Migrate -data,-x,-u,-p,-d,-process -data, -root,-ldx,-ldu, -ldp,-migrate -o, -w,-portnum -o,-ldw,-ldportnum
Table I-3 lists the parameters to include when the localization database is on the AR System database. Use these parameters in addition to the general parameters listed in Table I-2.
Table I-3: Parameters for localization toolkit CLI when the localization toolkit is on the AR System database Operation Required parameters when the Optional parameters localization toolkit is on the AR System database -ldx,-ldu,-ldp -ldx,-ldu,-ldp -ldx,-ldu,-ldp -ldx,-ldu,-ldp -ldw, -ldportnum -ldw, -ldportnum -ldw, -ldportnum -ldw, -ldportnum
For example:
L10NToolkit -data C:\Program Files\BMC Software\ARSystem\DevStudio\ L10NToolkitCLI -x "computerA" -u "user1" -p "1Mx37s8M" -d "C:\Program Files\BMC Software\ARSystem\DevStudio\workspace\l10n\ l10npackagedefinition.xml" -extract
624
3 To export the strings to an XLIFF XML file: L10NToolkit -data BMCRemedyDeveloperStudioInstallDir\L10NToolkitCLI -d "pathToDefinitionFile" [-o "logFile"] [-t "targetState"] -export "pathToExportedDefinitions" -l "locale"
For example:
L10NToolkit -data C:\Program Files\BMC Software\ARSystem\DevStudio\ L10NToolkitCLI -d "C:\Program Files\BMC Software\ARSystem\ DevStudio\workspace\l10n\l10npackagedefinition.xml" -export "C:\Program Files\BMC Software\ARSystem\DevStudio\workspace\l10n\ xliffdefinition.xml" -l "es"
When you use the CLI to export strings, the export command always overwrites existing content.
4 To import the XLIFF file that the translators have translated: L10NToolkit -data BMCRemedyDeveloperStudioInstallDir\L10NToolkitCLI -x "serverName" [-portnum "portNumber"] -u "userName" -p "password" [-w "authenticator"] -d "pathToDefinitionFile" [-o "logFile"] [-t "targetState"] -import "pathToImportFile"
For example:
L10NToolkit -data C:\Program Files\BMC Software\ARSystem\DevStudio\ L10NToolkitCLI -x "computerA" -u "user1" -p "1Mx37s8M" -d "C:\Program Files\BMC Software\ARSystem\DevStudio\ workspace\l10n\l10npackagedefinition.xml" -import "C:\Program Files\ BMC Software\ARSystem\DevStudio\workspace\l10n\translation.xml" -t "ready_for_review" 5 To create new localized views, messages, and data, or to update previously
translated content:
L10NToolkit -data BMCRemedyDeveloperStudioInstallDir\L10NToolkitCLI -x "serverName" [-portnum "portNumber"] -u "userName" -p "password" [-w "authenticator"] -d "pathToDefinitionFile" [-o "logFile"] -process
For example:
L10NToolkit -data C:\Program Files\BMC Software\ARSystem\DevStudio \L10NToolkitCLI -x "computerA" -u "user1" -p "1Mx37s8M" -d "C:\Program Files\BMC Software\ARSystem\DevStudio\workspace\l10n\ l10npackagedefinition.xml" -process 6 (optional) To migrate content from the localization toolkit client translation
For example:
L10NToolkit data c:\Development\workspace\runtime-New_configuration\ L10nToolkitCLI -root "c:\Development\workspace\runtime-New_configuration\l10n22" -ldx "xxxxx-sjc-87" -ldu "Demo" -ldp "" -migrate
Appendix I
625
SHARE:Application_Interface User User Password Change User Password Change Redirector User Password Management Configuration
Independent Forms section. See Creating a localization package definition on page 607.
Use BMC Remedy Developer Studio (choose File > Export) to export the view definitions to a definition file. For more information, see the Form and Application Objects Guide. Make sure that the definition file includes all of the forms that were included in the localization package definition. Optionally, you can create a script to perform this step.
2 Export the language-specific data. a Create an AR System report (with a browser or BMC Remedy User) that
includes the fields containing the localized data that was generated from the forms that were included in the localization package definition and that include the Locale field.
b From this report, create a data file. (If you have attachment fields, you might
create more than one data file.) For more information, see BMC Remedy User help or the BMC Remedy Mid Tier Guide. As part of localization, all English messages in the active link and filter Message actions are translated, and the localized entries are generated in the AR System Message Catalog form. So, export the data for the specific language from this form also; otherwise, the workflow messages will appear in English at runtime. Optionally, you can create a script to export the language-specific data.
Appendix I Using the localization toolkit to localize your applications 627
3 Create a zip file of the definition file and data file for the language. 4 Deliver the zip file to your customers, and instruct them to: a Unzip the file. b Import the .def file by using BMC Remedy Developer Studio. For more
command line. For more information, see the Configuration Guide and the Integration Guide.
IMPORTANT
On Chinese UNIX systems, CSV and ASCII files cannot be imported if they contain Date/Time fields. When using the BMC Remedy Data Import utility on Japanese UNIX systems, convert the data and .arm mapping files to EUC format before the files are moved to the UNIX server. (The .arx and .xml data files are already in EUC format when they are generated in the client tool, but the .csv file is not. Therefore, the .arm and .csv files must be converted.) Make sure that all of the data file names and a mapping file names are in English.
628
Appendix
629
Read
AR System Metadata: actlink AR System Metadata: actlink_auto AR System Metadata: actlink_call AR System Metadata: actlink_dde AR System Metadata: actlink_goto AR System Metadata: actlink_group_ids AR System Metadata: actlink_macro
630
Form Name AR System Metadata: actlink_macro_parm AR System Metadata: actlink_mapping AR System Metadata: actlink_message AR System Metadata: actlink_open
Details All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. 631
AR System Metadata: actlink_process Read AR System Metadata: actlink_push AR System Metadata: actlink_serviceaction AR System Metadata: actlink_set AR System Metadata: actlink_set_char AR System Metadata: actlink_sql AR System Metadata: actlink_wait AR System Metadata: arcontainer AR System Metadata: arctr_group_ids AR System Metadata: arctr_subadmin AR System Metadata: arreference AR System Metadata: arschema AR System Metadata: char_menu Read Read Read Read Read Read Read Read Read Read Read Read
Details All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer.
AR System Metadata: escal_mapping Read AR System Metadata: escalation AR System Metadata: field AR System Metadata: field_char AR System Metadata: field_column AR System Metadata: field_curr Read Read Read Read Read
AR System Metadata: field_dispprop Read AR System Metadata: field_enum AR System Metadata: field_enum_values AR System Metadata: field_permissions AR System Metadata: field_table AR System Metadata: filter AR System Metadata: filter_call AR System Metadata: filter_goto AR System Metadata: filter_log Read Read Read Read Read Read Read Read
AR System Metadata: filter_mapping Read AR System Metadata: filter_message Read AR System Metadata: filter_notify AR System Metadata: filter_process AR System Metadata: filter_push AR System Metadata: filter_serviceaction 632 Form and Application Objects Guide Read Read Read Read
Form Name AR System Metadata: filter_set AR System Metadata: filter_sql AR System Metadata: image AR System Metadata: schema_archive AR System Metadata: schema_audit AR System Metadata: schema_group_ids
Details All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. All Metadata forms are used by Search, Analyzer and Workflow Viewer. This form is used by the Analyzer to read configuration data. This form is used by the Analyzer to store results marked as Ignored. This form is by the Analyzer to read user permissions. This form is used to calculate related objects. It is used extensively in Search, Analyzer, Object List, Relationships and Workflow Viewer. This form is used in Group Object List, Search and Analyser. This form is used to read user roles. These forms are used to read and write administrator and user preferences. These forms are used to read and write administrator and user preferences.
AR System Metadata: schema_index Read AR System Metadata: schema_join AR System Metadata: schema_list_fields AR System Metadata: subadmin_group AR System Metadata: vendor_mapping Read Read Read Read
AR System Metadata: view_mapping Read AR System Metadata: vui AR System Administration: Server Information Read Read
AR System Ignored Analyzer Results Read/ Write User AR System Object Relationships Read Read
Groups Roles
Read Read
AR System Administrator Preference Read/ Write AR System User Preference Read/ Write
633
Form Name AR System Version Control: Object Reservation AR System Version Control: Object Modification Log AR System Version Control: Label
Details These forms are used for Object Reservation feature. These forms are used for Label Management. These forms are used for Label Management. These forms are used for Label Management. This form is used to get currency types that are shown in the Currency Types property of a currency field. This form is used in Set Fields action when Data Source is set to Webservice. This form is used by Open Window action when Window Type is set to Report. These forms are used in Distributed Mapping and Distributed Pool editors These forms are used in Distributed Mapping and Distributed Pool editors. Used by DSO Editors and DSO action to read logical names. This form is used by L10n Toolkit. These forms are used by L10n Toolkit. These forms are used by L10n Toolkit. These forms are used by L10n Toolkit. This form is used by L10n Toolkit. This form is used by L10n Toolkit. This form is used for localizing templates. This form is used for localizing messages. This form is used to read localized current code.
AR System Version Control: Labeled Read/ Object Write AR System Currency Codes Read
Read Read
Distributed Mapping Distributed Pool DSO Distributed Logical Name BMC Remedy Localization Toolkit: Items BMC Remedy Localization Toolkit: Location Package Join BMC Remedy Localization Toolkit: Location Package Link BMC Remedy Localization Toolkit: Locations BMC Remedy Localization Toolkit: Translations BMC Remedy Localization Toolkit: Translations Audit AR System Resource Definitions AR System Message Catalog AR System Currency Label Catalog
Read/ Write Read/ Write Read Read/ Write Read Read Read/ Write Read/ Write Read/ Write Read/ Write Read/ Write Read
634
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Index
Symbols
.def file type (exported objects) 558 .xml file type (exported objects) 558 requests at group level 41 requests at user level 40 Submitter group 39, 40 access points creating 99 described 99 access types Administrator 23 Assignee 24 Public 23 accordion panel holders 333 active link actions Close Window 159 Commit Changes 159 Open Window 159 Active Link(s) field property 501 active links access control 37, 61 permissions 37, 64 workflow issues with entry point guides 441 actor-based view selection 396 Add and Remove Licenses form 495 Add Label field property 501 adding images to a field 188 roles 57 additive access control 29 Administration Console forms, AR System 491 Administrator group 23 Administrator Preference, AR System form 497 advanced, data fields 34 Alert Events form 493 alert list fields, permissions 35 Alert List form 493 alert list tables about 245 creating 247 aliases, group 50 aligning, fields 421 Alignment field property 501 Allow Any User to Submit setting 36, 501 allowable currency 372 Index 635
Numerics
508, Section, identifying cell data in rows 256
A
About box, in applications 105 access control See also access control groups active links 37, 61 additive 29 applications 31, 61 fields 32, 61 forms 31, 61 Group form 49 groups 22 guides 31, 61 illustrated 48 implicit groups 38 objects, AR System 61 overview 22 requests 38, 41 reserved fields 480 roles 28 Roles form 55 row-level security 38, 481 users 29 access control groups See also access control; groups; permissions Assignee group 39, 40 Assignee Group group 40, 41, 481 computed groups 25, 52 dynamic groups 40 explicit groups 23 hierarchical 26 implicit groups 23, 38
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Alternative Text field property 501 Analyzer and localization rules 620 appearance of applications 101 Application Floating License field in Group form 53 Application Interface form 491 application list fields about 382 AppSubset field 479 creating 203 entry point labels 409 executing entry points in HTML 204 home page form 382 using style sheets with 452 workflow and 383 Application mode 103, 104 Application Name field 56, 482 Application Pending form 490 application permissions individual applications 62 multiple applications 64 subadministrator 69 Application Properties form 491 Application State form, AR System 491 Application Statistics Configuration form 490 Application Statistics form 490 applications See also Application Owner property; application permissions; Application window; deployable applications; local applications; web applications About box 105 access control 31, 61 access points 99 appearance 101 Application mode 103 application mode 103, 104 creating 93 customizing title bar 105 data properties 102 deleting 117 deployable 86 entry points, creating 442 forms properties 101 general properties 101 help 106, 107 icons 105 including forms in 95 including objects in 95 label property 101 local 117 localizing 579 names 94 opening in BMC Remedy User 103 primary form 105 primary view 105 properties, defining 100 run with form window maximized 106 shortcuts to 108 show only forms in 106 states 97 statistics properties 102 support files 102 AppSubset field (entry points) 479 AR System Actor View form 396, 499 AR System Administration Console 491 AR System Administrator Preference form 497 AR System Application State form 491 AR System Current License Usage form 495 AR System Historical License Usage form 496 AR System Licenses form 496 AR System Message Catalog form 491 AR System Message Catalog, localizing 588 AR System Object Relationships form 492 AR System Orchestrator Configuration form 492 AR System Resource Definitions form 492 AR System Searches Preference form 492 AR System Server Group Operation Ranking form 492 AR System Tags form 496 AR System User Application Actor form 396, 499 AR System User Central File form 497 AR System User Preference form 497 AR System Web Services Registry form 492 AR System Web Services Registry Pending Delete form 492 AR Task shortcut 104, 108 archive forms created by AR System 540 deleting 536 and DSO 540 properties 539 saving the main form 537 special considerations for view forms 536 archiving configuring data archiving for a form 534 configuring data archiving for a server 541 logging 541 overview 534 server events 541 ARDATE dates 597 environment variable 597 errors in formatting 599 field descriptors 598
636
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
time 597 ARDATEONLY environment variable defining 597 errors in formatting 599 ARDBC LDAP Configuration form 495 AREA LDAP Configuration form 495 ARLABEL, using 584 ARTIMEONLY environment variable defining 597 errors in formatting 599 Assigned To core field 473, 475 Assignee group access 24 access control groups 40 reserved group 24 Assignee Group field 41 Assignee Group group access 40 access control 41 access control to requests 43, 46 reserved group 24 Assignment Engine forms 492 assistive technology, for identifying table row data 256 Attach Name Label field property 501 Attach Orphaned Items field property 501 Attachment Fields field property 501 Attachment Pool List field property 501 attachment pools about 377 Copy to New and 379 creating 198 field size considerations 201 moving fields among pools 200 permissions 35 viewing attachments in a browser 379 viewing attachments in BMC Remedy User 378 workflow 380 attachments extracting localized strings and 610 Audit Log Key field property 502 Audit Option field property 502 auditing configuring 549 filters and processing 556 flag fields 555 form-style 545 log-style 548 overview 544 Authentication Login Name field, User form 481 Authentication String field, User form 481 Auto Complete field property 502 Auto Complete Match By field property 502 Auto Fit Columns field property 250, 502 Auto Fit Columns property 330 Auto Refresh String field property 255, 502 Auto Resize field property 502 auto-completion, menus 320 automating localization 584, 589
B
background setting color of table cell 266 Background Color field property 250, 502 Background Image field property 250, 251, 502 Background Image Horizontal field property 502 Background Image Vertical field property 251, 502 Background Mode field property 503 Background mode, panel holders 344 banner, hiding 407 Best Practice Customization mode deployable applications and 125 hiding unmodified objects 139 binding template to view field 390 blank form view 402 BMC Atrium Web Services Registry integration forms 492 BMC Remedy User cell-based tables and 244 entry points appearing in Object List 438 how home page appears 461 localizing preference settings 596 suppressing home pages 463 BMC Software, contacting 2 Border Color field property 503 Border field property 503 Border Thickness field property 503 Borderless field property 503 boxes, See trim fields browsers how home page appears 459 limitations in cascading style sheets 452 style sheets, using with 453 using home pages 434 business time forms 493 button fields adding images 212 adding to tables 275 creating 210 overview 384 URLs and 211 workflow in tables and 276 Button Label field property 503 Index 637
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
buttons. See button fields Column field property 504 Column Width field property 257, 504 columns check-box 278 Customization Type, displaying 139 customizing in tables 295 display types and images 272 setting properties in table fields 257 sorting in tables 259 Commit Changes action 159 Computed Group Definition field 52 computed groups examples 52 overview 25 Configuration ARDBC form 495 configuring auditing 549 data archiving for a form 534 data archiving for a server 541 home page preferences 457 control panels 157 converting custom objects 141 converting, currency fields to other data types 374 Copy to New, attachment pools and 379 copying fields 219 forms 153 core fields Assigned To 473, 475 Create Date 473 deleting 221 form views with none 402 Last Modified By 473 Modified Date 473 overview 472 Request ID 472, 474 Short Description 473, 474 special characteristics 474 Status 473, 475 Status-History 473 Submitter 473, 474 Create Date core field 473 creating alert list tables 247 application list fields 203 applications 93 attachment pools 198 button fields 210 cell-based tables 247 computed groups 52 control panels 157
C
canceling table row selections 278 cascading style sheets arsystem.css 452 BMC Remedy User, using with 452 browser limitations 452 browser, using with the 453 mid tier installation directory 452 cell fields, cell-based tables and 257 cell-based tables about 243 BMC Remedy User and 244 cell fields 257 creating 247 workflow and 269 cells setting background color in tables 266 setting color in tables 263 Change Field action attachment pools and 380 currency fields and 374 Change History field property 504 change history, applications 103 Change permissions fields 32 groups 50 changes to data, auditing 544 character fields about 368 clob storage 369 menus 300 rich-text formatting 186 varchar or clob used in database 368 character identifier, configuring for required fields 229 character menus creating 301 localizing 586 check box fields, about 376 Checkbox Column field property 504 clear menu items 319 Client Refresh Interval 196 client-side tables 234 Close Window action 159 collapsible panel holders 332 color setting for table text, rows, and cells 263 setting row in tables 263 using in tree view tables 264 638 Form and Application Objects Guide
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
currency exchange ratios 195 currency fields 191 custom application states 98 custom objects 133 data fields 184 data visualization fields 203 dialog boxes 158 display-only forms 157 form entry points 439 forms 151, 152 groups 54 home pages 451 home pages (overview) 450 join forms 170 list view tables 247 localized views 583 locked objects 574 navigation fields 205 overlays 128 packing lists 466 panel holders 336 panels 337 results list tables 247 roles 57 sample workflow to view subset of entry points 455 selection fields 196 shortcuts 108 tree view tables 247 trim fields 214 view fields 201 views 400 criteria for join forms 162, 172, 173 currencies See also currency fields allowable 372 exchange ratios, about 373 exchange ratios, creating 195 exchange ratios, setting refresh intervals 196 functional 372 localizing codes 593 primary allowable 372 currency fields See also currencies about 371 converting to other data types 374 creating 191 localizing currency codes 593 name considerations 375 workflow 374 Currency Types field property 504 currency, forms 493 Current Form field 484 Current Server field 484 custom About box 105 Custom CSS Style field property 504 custom IDs 197 custom objects about 123 configuring AR System to support 145 converting to base 141 creating 133 definition 120 deleting 134 exporting 144 finding customizations 137 ignoring at runtime 146 importing 144 invalid modifications 129 modifying 134 permitted and nonpermitted modifications 129 renaming 133 valid modifications 129 viewing 134 custom objects, about 120 custom objects, upgrades and 123 Custom Properties field property 504 custom title bar icon (applications) 105 customer support 3 Customizable Home Page about 443 AR System Home Page Descriptor form 446, 447 AR System Home Page Layout form 450 descriptors, defining 445 designing 444 form views, defining 444 layouts, assigning groups and priorities 449 layouts, default 448 layouts, defining 448 layouts, panels 450 Customization Type column, displaying 139 customizations preserving during upgrades 120 tracking 137 customizations, preserving 120 Customize group 23 customizing results list fields 178 users form layout in BMC Remedy User 23
D
data archiving 534 Index 639
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
deployable applications, exporting with 115 deployable applications, importing with 109 form, exporting and importing with deployable applications 115 languages (localization) 578 data dictionary menus, creating 316 data fields about 368 creating 184 nonoperational 221 Data Font field property 505 Data Length field property 505 Data Type field property 505 data visualization fields about 382 creating 203 data visualization, forms 494 databases, SQL menu security 316 date fields, about 370 date formats ARDATE 597 combining field descriptors (UNIX) 598 customizing for localization 598 localizing 597 Windows localizing 599 date/time fields, about 370 decimal fields, about 376 Default Notification Mechanism field 481 default permissions 58 Default Value field property 505 Definition Name field property 505 definitions exporting 560 file types 558 importing 569 overview of object 558 Delete Button field property 255, 505 Delete Label field property 506 deleting applications 117 archive form 536 custom objects 134 fields 221 forms 154 groups 55 overlaid objects 129 overlays 129 roles 57 views of forms 405 deployable applications access points 99 Best Practice Customization mode and 125 data exporting 115 exporting and importing form data 115 group permissions warning 95 including forms with group permissions warning 95 overlays and 125 roles 28 states 97 Depth Effect field property 506 description (predefined searches) 409 Descriptors AR System Customizable Home Page 445 Deselect All field property 255, 506 Deselect Label field property 506 design time, working with origin objects 145 designing forms 151 details pane, layout 407 dialog boxes, display-only forms as 158 diary fields 369 Disable Change Flag field property 506 disabling fields 221 Display as Flat Image field property 506 Display As Text field property 506 Display Label field property 506 display languages (localization) 578 display locale, localizing 597 Display NULL value As field property 251, 506 Display Type field property 251, 258, 507 displaying views based on locale 600 display-only forms creating 157 overview 149 used as control panel 157 used as dialog boxes 158 Distributed Mapping form 494 Distributed Pending Errors form 494 Distributed Pending form 494 Distributed Pool form 494 documentation, AR System 17 Draggable field property 508 drop-down list fields, about 376 Droppable field property 509 DSO reserved fields 484 DSO, forms 494 Duplicate Entry ID Action field 485 dynamic group fields 41 dynamic groups example 46 overview 23, 26 dynamic search menus 310 dynamic tables 282
640
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
E
Edit Menu/Navigation Items field property 509 Email Address reserved field 480 Enable Clear field property 509 Enabled field property 509 End Color field property 509 Enforce Pattern Matching field 485 Entry Mode field property 510 entry points active link workflow and guides 441 administrators, using 437 application designers, using 434 application, creating 442 AppSubset fields 479 custom view labels 440 displaying subset of 383 executing in HTML 204 form, creating 439 guides, using 438 limiting number 437 overview 434 subset, creating 454 using 437 views, selecting 439 environment ARDATE variable 597 ARDATEONLY variable 597 ARTIMEONLY variable 597 errors formatting date and time environment variables (localizing) 599 example workflow to view subset of entry points 455 exchange ratios, currency about 373 creating 195 setting refresh intervals 196 Expand Box field property 511 explicit parameters, in templates 389 exporting add all related 563 custom objects 144 definitions 559 localized view components 584, 585 object definitions 560 objects with the same version control label 82 overlays 144 exporting contents in localization toolkit 621 exporting strings for localization 612 external help files 107 extracting strings for localizing 609
F
field access Assignee access control 39 Assignee Group access control 40 dynamic group access control 40 Submitter group access 39 Field Access field property 512 field data dictionary menus 316 field descriptors ARDATE 598 date formats 598 Field ID field property 512 field labels, localizing 584, 585 Field Name field property 512 field permissions alert list 35 attachment pool 35 individual fields 62 multiple fields 64 overview 32 panel 35 results list 35 table 35 field properties Active Link(s) 501 Add Label 501 Alignment 501 Allow any user to submit 501 Alternative Text 501 Attach Name Label 501 Attach Orphaned Items 501 Attachment Fields 501 Attachment Pool List 501 Audit Log Key 502 Audit Option 502 Auto Complete 502 Auto Complete Match By 502 Auto Fit Columns 250, 330, 502 Auto Refresh String 255, 502 Auto Resize 502 Background Color 250, 502 Background Image 250, 251, 502 Background Image Horizontal 502 Background Image Vertical 251, 502 Background Mode 503 Border 503 Borderless 503 Button Label 503 Change History 504 Checkbox Column 504 Column 504
Index
641
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Column Width 257, 504 Currency Types 504 Custom CSS Style 504 Custom Properties 504 Data Font 505 Data Length 505 Data Type 505 Default Value 505 Definition Name 505 Delete Button 255, 505 Delete Label 506 Depth Effect 506 Deselect All 255, 506 Deselect Label 506 Disable Change Flag 506 Display as Flat Image 506 Display As Text 506 Display Label 506 Display NULL value As 251, 506 Display Type 251, 258, 507 Draggable 508 Droppable 509 Edit Menu/Navigation Items 509 Enable Clear 509 Enabled 509 End Color 509 Entry Mode 510 Expand Box 511 Field Access 512 Field ID 512 Field Name 512 File Name Label 512 File Size Label 512 Fire workflow again on selected item 512 Fit to Content 352, 355 Fixed Headers 251, 512 Float Style 512 Form Name 512 Full Text MFS Category Name 513 Header Background Color 513 Header State 513 Height 513 Help Text 513 Horizontal Space 251, 513 ID 514 Image 514 Image Attachment 514 Image Position 514 Index for FTS 514 Initial Currency Type 514 Initial Page 514 Initial Row Selection 251, 515 Initial Size 515 Initial Value 258, 515 Input Length 515 Label 516 Label Align 517 Label Font 517 Label Justify 517 Label Location 517 Label/Text Color 517 Last Changed By 517 Last Changed Time 517 Layout Style 518 Length Units 518 Line Color 519 Literal FTS Index 519 Localization Required 519 Maintain Aspect Ratio 519 Margin Bottom 252, 519 Margin Left 252, 520 Margin Right 252, 520 Margin Top 252, 520 Max Rows 252, 520 Max Size 520 Maximum 520 Maximum Height 520 Maximum Size 520 Menu Name 521 Menu Style 521 Minimum 521 Minimum Size 521 Module Type 521 Name 258, 522 Navigation Initial State 522 New Description 522 Next Label 252, 523 Number of Entries Returned 255, 523 Opacity 523 Orientation 523 overview 501 Owner 523 Panel Border Color 252, 503, 523 Panel Border Thickness 252, 503, 523 Panel Bottom Margin 523 Panel Height 252, 523 Panel Left Margin 523 Panel Right Margin 523 Panel State 523 Panel Top Margin 523 Panel Width 252, 523 Panels 523 Pattern 524 Permissions 524
642
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Precision 524 Preferences 256, 525 Previous Label 252, 525 QBE Match 525 Read Button 256, 526 Refresh Button 256, 526 Refresh on Entry Change 253, 526 Refresh Row Selection 253, 526 Remote/Local Fields 526 Report Button 256, 526 Results Color 526 Rounded Corners 527 Row Header 256, 527 Row Selection 253, 527 Rows 527 Save Label 527 Scale Image To Fit 527 Scroll Bar 527 Select All 256, 527 Select Column Label 256, 527 Select item on click 527 Selections 527 Server 528 Shared Fields 528 Size of Chunk 254, 528 Slack Distribution Order 528 Sort 528 Sort/Levels 528 Splitter State 528 Start Color 528 Tab Order 528 Table 528 Table Drill Down 254, 528 Table Not Loaded String 256, 528 Tabless Borderless 529 Text 529 Text Align 529 Text Style 529 Thickness 529 Tree/Table Property 529 Unread 256, 529 URL Color 529 Use Locale 297, 529 Vendor 529 Vertical Space 254, 529 Vertical Spacing 529 Views 530 Visible 258, 530 Visible Columns 254, 530 Width 530 Wrap Text 258, 530 X 531 Y 531 field spacing, about 412 field types core 472 reserved 477 fields See also core fields; field access; field labels; field permissions; field properties; field types; field values, assigning from about application list 382 attachment pools 377 button 384 character 368 check box 376 currency 371 data 368 data visualization 382 date 370 date/time 370 decimal 376 diary 369 drop-down list 376 global 217 GUID 191 horizontal navigation 383 integer 375 panel 384 radio button 376 real 375 regular global 218 selection fields 376 table 377 time 370 trim 385 vertical navigation 383 view fields 380 window-scoped global 218 adding to join forms 230 advanced data 34 aligning 421 anchoring to right side of container 420 configuring character identifier for required 229 copying 219 creating application list 203 attachment pool 198 button 210 currency 191 data 184 data visualization 203 navigation 205
Index
643
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
regular global 218 selection 196 trim 214 view 201 window-scoped global 218 data dictionary menus and 316 deleting 221 descriptors, combining (UNIX) 598 disabling 221 finding in forms 222 form action 486 form with none 402 grid alignment 415 Group form 50 in form view 424 including/excluding in form views 411 join forms and 163, 229, 230 localizing 584, 585 localizing selection 585 managing 219 modifying 219 moving attachment 200 nonoperational 221 overlay names 126 overlays 126, 127 panel 328 panel holder 328 planning types to use 184 properties 501 removing from join forms 231 resizing 421 returned in results list pane 178 Roles form 56 states 475 using with 390 Fields in View dialog box 412 file menus creating 303 format 305 File Name Label field property 512 File Size Label field property 512 files .def 558 .xml 558 login.jsp, localizing 594 logout.jsp, localizing 594 fill layout 330 filters, execution order 168 finding customizations 137 finding fields in a form 222 Fire workflow again on selected item field property 512 Fit to Content property 352, 355 Fixed Headers field property 251, 512 flag fields 555 flashboards forms 494 Float Style field property 512 Floating Licenses field in Group form 52 floating panels 338 flow layout 331 flyout mode, navigation bars 209 footers, hiding table 259 form action fields add before locking forms 576 adding to form 456 described 486 home pages 439 form data dictionary menus 316 form entry points, creating 439 Form Name field property 512 form permissions access control 31, 61 multiple forms 64 subadministrator 69 form types hidden 31, 65 join forms 162 regular 148 vendor 150 view 150 form views creating 400 deleting 405 modifying 403 naming 404 overlay names 126 overlays 126, 127 properties 405 resizing 404 formats, ARDATE errors 599 formatting character fields 186 forms See also form permissions; form types; form views; join forms; special forms See also special forms adding tables to 248 anchoring fields to right side 420 blank form 402 copying 153 core fields 472 creating 151 customizing users layout in BMC Remedy User 23
644
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
data dictionary menus and 316 data, exporting and importing with deployable applications 115 deleting 154 designing 151 display-only 149 finding fields 222 Group form 49 Home Page form action field, adding to 456 including in applications 95 including/excluding fields in views 411 join 148 localizing 579, 583 modifying 153 multiple form views 394 naming 151 overlays 126 primary 105 properties 174 properties of archive forms 539 regular 148 renaming 154 right-to-left format 423 Roles form 55 types 148 User Preference 462 vendor forms 174 view forms 150, 175 views 394 views, localizing 580 Forms properties, of applications 101 form-style audits 545 From Form field 484 From Mapping field 484 From Pool field 485 From Request ID field 484 From Server field 485 FTS License Pool field, User form 481 Full Text License Type reserved field 481 Full Text MFS Category Name field property 513 function, TEMPLATE 388 functional currencies 372 grid adjusting size 415 aligning fields 415 Group Category field 51 Group form access control 49, 494 fields 50 using 49 Group ID field 50, 480 group IDs, reserved by AR System 23 Group List field 480 Group Name field 50, 480 group permissions 58 Group Type field 50, 481 group types Assignee 24 Assignee Group 24 Subadministrator 24 grouping rows in tables 261 groups access control 22 Administrator 23 computed 25 creating 54 Customize 23 deleting 55 dynamic 23, 26 explicit 23 hierarchical 26 implicit 23 modifying 55 permissions 50 Public 23 regular 25 See also access control groups Submitter 24 guest users 36, 61 GUID fields 191 guide permissions access control 31 individual guides 62 multiple guides 64 guides See also guide permissions active link workflow and entry points 441 entry point guides 438
G
general properties of applications 101 global fields creating regular 218 window-scoped 218 regular 218 window-scoped 218
H
Header Background Color field property 513 Header State field property 513 headers, hiding table 259 Index 645
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Height field property 513 help applications 106, 107 external files 107 Help Text field property 513 hidden forms 31, 65 lock 572 lock type 575 pane banner 407 sort levels 238 hierarchical groups 26 history, status 475 holders, panel 328 Home Page form described 494 modifying 450 overview 434 home pages application list fields 382 AppSubset field 479 AR System Customizable Home Page See Customizable Home Page 443 creating 450, 451 form action fields 456 form action reserved field ID 487 how BMC Remedy User appears 461 how they appear in a browser 459 mid tier, specifying server 458 modifying 450 navigation aids 456 Object List, instead of 434 overview 434 preferences, configuring 457 Run Process return 457 server, user preferences with 462 suppressing in BMC Remedy User 463 URL for browser 434 User Preference form, specifying server and home page 462 horizontal lines. See trim fields horizontal navigation fields. See navigation fields Horizontal Space field property 251, 513 HTML, executing entry points in 204 custom 197 group 23 linear 197 Image Attachment field property 514 Image field property 514 Image Position field property 514 images adding to a field 188 adding to button fields 212 adding to panels 346 adding to root node of tree view table 274 adding to tables 273 column display types and 272 displaying in tables 269 limitations in tables 271 size in tables 271 table workflow and 272 types supported in tables 271 implicit groups overview 23 Request ID field 40 row-level access 38 implicit parameters in templates 389 import in place, definitions 569 importing adding version control labels to objects 81 conflicting types, handling 570 custom objects 144 definitions 559 localized view components 584, 585 object definitions 569 overlays 144 replacing objects on destination server 569 importing translated strings 617 Index for FTS field property 514 indexes, defining 181 individual permissions 58 inetorgperson form 495 inherit field help text 172 Initial Currency Type field property 514 Initial Page field property 514 Initial Row Selection field property 251, 515 Initial Size field property 515 Initial Value field property 258, 515 inner join forms 164 Input Length field property 515 installing languages 582 Instance ID field 483 integer fields, about 375 Internet Explorer and style sheet attributes 453 intervals, setting currency ration refresh 196 intervals, setting table refresh 297
I
icon, overlay 128 ID field property 514 identifier, configuring character for required fields 229 IDs 646 Form and Application Objects Guide
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
invalid overlay modifications 129 items, adding to selection fields 197 items, clear menu 319 Last Changed Time field property 517 Last Modified By core field 473 layout adjusting after translation 619 fill 330 flow 331 panel styles 329 results pane 407 users changing 407 views 407 XY 329 Layout Style field property 251, 518 layout, details and results pane 407 Layouts AR System Customizable Home Page 448 LDAP forms 495 leaf nodes, tree view table 236 Length Units field property 518 levels of locked objects 572 levels, lock 572 levels, tree view table 236 License Type reserved field 481 licenses floating 52 write 36 licensing, forms used for 495 Like ID field 479 limitations with cascading style sheets in browsers 452 Line Color field property 519 linear IDs 197 lines See trim fields list view tables about 235 creating 247 drop-down menus and 281 selecting requests 242 lists See application list fields and list view tables Literal FTS Index field property 519 local applications See applications locale field, using search menus with localized 587 setting display 597 view, system searching to display 600 Locale reserved field 483 Localization Required field property 519 localization rules in Analyzer 620 localization toolkit adjusting layouts 619
J
join criteria 172 join forms adding fields 230 auditing and 553 creating 170 criteria 162, 172, 173 fields in 163, 229, 230 filter execution order 168 Join Wizard 170 modifying 173 modifying field properties 230 outer joins 164 overview 148 primary form 162, 173 removing fields 231 Request ID field in 170 secondary forms 162, 173 self-joins 166 transaction control 169 understanding 162 viewing field properties 230 workflow, using in 168 Join Wizard 170
L
Label Align field property 517 Label field property 516 Label Font field property 517 Label Justify field property 517 Label Location field property 517 Label/Text Color field property 517 labeling objects 78 labels adding version control to all server objects 80 adding version control to existing objects 80 adding version control to imported objects 81 adding version control to new objects 79 applications and 101 customizing table 255 enabling version control 79 modifying version control 83 removing version control 83 version control name limitations 79 languages, selecting during install 582 Last Changed By field property 517
Index
647
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
creating or updating content 618 creating package definition 607 exporting contents 621 exporting strings 612 extracting strings 609 importing strings 617 installing 605 reviewing translations 619 setting root folder 606 status 611 translating strings within 614 translating XLIFF file 613 localizing BMC Remedy User preference settings 596 currency codes 593 data languages 578 date and time formats 597 display languages 578 exporting views 584 forms and 583 importing views 584 installing localization toolkit 605 languages supported 582 languages, selecting during install 582 localization toolkit process 602 login pages 594 menus 586 messages 588 mid tier 594 overview 579 preparing application 603 process 581 reports 588 request aliases 585 search menus, using Locale field 587 selection fields 585 settings of clients 595 sizes of views 595 tables 297 view components, manually 585 view to display, system searching for 600 locating customizations 137 lock key 575 lock levels, objects 572 locked objects creating during export 574 key 575 levels 572 modifying 571 overview 571 warning 571 log forms 496 logging archives 541 Login Name field 480 login page customizing 594 login.jsp, localizing 594 logout page, customizing 594 logs See also object modification log log-style audits 548 Long Group Name field 50
M
Maintain Aspect Ratio field property 519 Mapping History field 484 Margin Bottom field property 252, 519 Margin Left field property 252, 520 Margin Right field property 252, 520 Margin Top field property 252, 520 Master Flag field 484 Matching Qualification field 486 Max Rows field property 252, 520 Max Size field property 520 Max Time to Retry field 485 Maximum field property 520 Maximum Height field property 520 Maximum Size field property 520 Menu Name field property 521 Menu Style field property 521 menus about character field 300 auto-completion 320 change history 323 clear items 319 copying 325 creating character 301 context 267 data dictionary 316 file 303 search 306 SQL 312 deleting 325 drop-down in list view tables 281 help text 324 localizing 586 modifying 324 refreshing 319 Message Catalog form, AR System 491 messages automatically localizing 589
648
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
localizing 588 manually localizing 590 metadata forms 496 Microsoft browser limitations in cascading style sheets 452 localizing date and time formats in Windows 599 mid tier enabling skins 432 home page in browser 459 localizing 594 performance affected by images in tables 272 specifying home page server 458 style sheets in installation directory 452 Minimum field property 521 Minimum Size field property 521 modifications, See customizations Modified Date core field 473 modifying custom objects 134 fields 219 form views 403 forms 153 groups 55 Home Page form 450 home pages 450 join forms 173 locked objects 571 overlays 129 roles 57 modifying. See customizing Module Type field property 521 Mozilla and style sheet attributes 453 multiple form views 394 group names 50 about 383 creating 205 workflow and 383 Navigation Initial State field property 522 negative slack 352 New Description field property 522 Next Label field property 252, 523 nodes, tree view table 236 nonoperational fields 221 NULL values, tree view tables and 243 Number of Entries Returned field property 255, 523
O
Object ID field 483 Object List entry points appearing in BMC Remedy User 438 home page, replacing with 434 object lists Reserved Objects 75 object lists, Customization Type column, displaying 139 object modification log about 73 enabling 76 enabling version control labeling 79 exporting objects with a specified label 82 finding objects with a specified label 81 label name limitations 79 labeling objects 78 modifying version control labels 83 removing version control labels 83 restoring previous versions of objects 78 Object Modification Log form 499 object reservation about 72 enabling 74 finding reserved objects in lists 75 listing all reserved objects 75 releasing objects 76 reserving forms and related objects 75 reserving objects as you work 75 reserving objects in a list 74 Object Reservation form 499 objects See also custom objects, origin objects, overlaid objects, overlays adding version control labels to 78 applications and 86 definitions 558 exporting definitions 560 Index 649
N
Name field property 258, 522 names currency field 375 overlay object 125 naming applications 94 forms 151 predefined searches 409 views of forms 404 navigating between overlays and overlaid objects 140 navigation aids for home pages 456 navigation bars, customizing colors 207 navigation fields
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
finding reserved in lists 75 finding with a specified version control label 81 importing definitions 569 including in applications 95 lock levels 572 releasing reserved 76 reserving as you work 75 reserving forms and related objects 75 reserving in a list 74 restoring previous versions 78 Opacity field property 523 opacity, setting panel 346 Open Window action and dialog boxes 159 Orientation field property 523 origin objects configuring AR System to support 145 definition 120 using at runtime 146 working with at design time 145 outer join forms 164 overlaid objects deleting 129 navigating between overlays and 140 renaming 126 overlay objects. See overlays Overlay-mode option 146 overlays about 121 configuring AR System to support 145 creating 128 Customization Type column, displaying 139 definition 120 deleting 129 deployable applications and 125 exporting 144 field names 126 fields 126, 127 finding customizations 137 form view names 126 form views 126, 127 forms 126 icon 128 ignoring at runtime 146 importing 144 invalid modifications 129 modifying 129 navigating between overlaid objects and 140 object names 125 permitted and nonpermitted modifications 129 process to use 123 renaming 126 upgrades and 123 valid modifications 129 viewing 138 overlays, about 120 Owner field property 523
P
package definition 607 packing lists creating 466 overview 465 saving in XML 469 using 466 page holders. See panel holders pages. See panels pane banner visibility 407 Panel Border Color field property 252, 523 Panel Border Thickness field property 252, 523 Panel Bottom Margin field property 523 panel fields about 384 permissions 35 Panel Height field property 252, 523 panel holders See also panels about 328 accordion 333 adding panels 341 Background mode 344 border thickness 357 collapsible 332 creating 336 display types 331 distributing slack 350 element sizes 357 margins 357 modifying 342 negative slack 352 opaque background 344 positive slack 352 rearranging panels 342 removing panels from all views 343 removing panels from current view 343 setting properties 337 slack 350 splitter 332 stacked 332 tabbed 331 transparent background 344 white space 344, 350 Panel Left Margin field property 523 Panel Right Margin field property 523
650
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Panel State field property 523 Panel Top Margin field property 523 Panel Width field property 252, 523 panels See also panel holders about 328 adding colors to borders 347 adding images 346 adding to panel holders 341 anchoring fields to right side 420 avoiding scroll bars 349 avoiding scroll bars in view fields 357 border thickness 357 changing border thickness 347 creating 337 distributing slack 350 dynamically resizing 355 element sizes 357 expanding and collapsing with workflow 358 fill layout 330 Fit to Content property 352, 355 floating 338 flow layout 331 gradient colors in 345 header height 357 holders 328 layout styles 329 modifying 342 moving to panels or panel holders 343 negative slack 352 positive slack 352 rearranging in panel holders 342 removing from all views 343 removing from only current view 343 rounding corners 348 setting colors 345 setting header colors 345 setting opacity 346 setting properties 338 workflow and 358 XY layout 329 Panels field property 523 parameters, in templates 389 Password field 480 Pattern field property 524 PERFORM-ACTION-TABLE-ADD-ROW 285 PERFORM-ACTION-TABLE-CHANGE-ROW-COLVISIBILITY 286 PERFORM-ACTION-TABLE-DELETE-ROW 286 PERFORM-ACTION-TABLE-SET-ROWSTATE 286 performance tips archiving data 534 indexed fields, using in join criterion 163 permission types Assignee Group 24 Assignee group 24 subadministrator 66, 68 Subadministrator group 24 permissions See also access control groups; permission types; roles active links 37 default 58 forms 61 group 58 individual 58 multiple objects 64 roles 28 Permissions field property 524 pools, attachment 198, 377 positive slack 352 Precision field property 524 preferences forms 497 home pages, configuring 457 Preferences field property 256, 525 preserving customizations about 120 previewing forms, Developer Studio 155 Previous Label field property 252, 525 primary allowable currency 372 primary forms in applications 105 in joins 162, 173 primary view in applications 105 printing, disabling 410 product support 3 Production state field 57, 483 prompt bar 407 properties archive forms 539 fields 501 form views 405 forms 174 join forms 173 Properties tab 501 Public group 23 Push Fields action attachment pools and 380 currency fields and 374
Q
QBE Match field property 525 Index 651
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
qualifications, predefined searches 409 implicit groups and 40 join forms and 170 requests access control 38, 43, 46 Assignee access 39 Assignee Group access 40 dynamic group access 40 row-level access 43 row-level access with dynamic groups 46 sort order 179 Submitter access 39 users submitting 36 Require Required Fields field 485 required fields configuring character identifiers 229 reservation. See object reservation reserved See also object reservation reserved fields access control 480 described 477 DSO 484 form action 486 Locale 483 placeholders in definitions 479 ranges 478 Reserved Objects list 75 resizing fields 421 resizing views of forms 404 resources, used by templates 388 Results Color field property 526 results list fields, permissions 35 results list pane about 246 defining fields for 178 fields in 178 layout 407 results list tables about 246 creating 247 results list pane and 246 rich-text formatting 186, 188 right-to-left view 423 Role ID field 56, 482 Role Name field 56, 482 roles creating 57 deleting 57 described 28 modifying 57 See also access control groups Roles form 498
R
radio button fields, about 376 rates, currency exchange 373 ratios, creating currency exchange 195 ratios, currency exchange 373 Read Button field property 256, 526 read-only lock 572 read-only lock type 575 real fields, about 375 Refresh Button field property 256, 526 refresh intervals, setting currency ratio 196 Refresh on Entry Change field property 253, 526 Refresh Row Selection field property 253, 526 refreshing menus 319 tables 297 tree view tables 242 regular forms 148 regular global fields creating 218 described 218 regular groups 25 Remote/Local Fields field property 526 removing. See deleting renaming custom objects 133 forms 154 overlaid objects 126 overlays 126 views 404 replacing objects on destination server 569 Report Button field property 256, 526 Report form 497 report forms Report 497 ReportCreator 497 ReportSelection 498 ReportType 497 ReportCreator form 497 reporting disabling 410 forms 497 localized 588 ReportSelection form 498 ReportToFile form 497 ReportType form 497 request aliases, localizing 585 Request ID field described 472, 474 652 Form and Application Objects Guide
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
access control 55 fields 56 using 55 root folder for localization toolkit 606 root node of tree view table, adding images to 274 row grouping in tables 261 row colors, setting in tables 263 Row Header field property 256, 527 Row Selection field property 253, 527 row-level security 38 rows canceling all selections in a table 278 selecting all in a table 278 setting color in tables 263 Rows field property 527 RTL format 423 run process action URLs, opening 441 workflow to return to home pages 457 Run Process action and attachment pools 380 run with form windows maximized (applications) 106 runtime ignoring overlays and custom objects at 146 creating 196 custom item IDs 197 linear item IDs 197 localizing 585 Selections field property 527 self-joins 166 Server Events form 498, 542 server events, archiving 541 Server field property 528 Server Statistics form 498 servers home pages, specifying in User Preference form 462 information, specifying home page 458 localizing 595 mid tier, specifying home page 458 replacing object during import 569 Set Fields action and attachment pools 374, 380 Set Refresh Interval 297 Set to Defaults field 479 settings special submit 36 tab order 424 SHARE Application_Interface form 491 Application_Properties form 491 Shared Fields field property 528 Short Description core field 473, 474 shortcuts creating 104 to applications 108 show, only forms in application 106 Size of Chunk field property 254, 528 size, adjusting view 595 skins and permissions 429 defining 430 enabling in mid tier 432 overview 426 priorities and display properties 428 slack negative 352 positive 352 Slack Distribution Order field property 528 slack, distributing in panel holders 350 Sort field property 528 sort levels, hidden 238 sort order requests 179 setting in tables 259 Sort/Levels field property 528 sorting table columns 259
S
samples, SQL menus 315 Save Label field property 527 save to disk, image 105 Scale Image To Fit field property 527 Scroll Bar field property 527 scroll bars avoiding in panels 349 search menus creating 306 dynamic 310 localizing 586 searching for objects with a specified version control label 81 searching for fields in forms 222 Section 508, identifying cell data in table rows 256 security, SQL menu database 316 Select All field property 256, 527 Select Column Label field property 256, 527 Select item on click field property 527 select/cancel all check-box column 278 selecting table rows 278 selection fields about 376 adding items 197
Index
653
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
source control, import in place 569 Spacing field property 528 spacing, fields 412 special forms See also forms Add and Remove Licenses 495 Alert Events 493 Alert List 493 Application Pending 490 Application Statistics 490 Application Statistics Configuration 490 AR System Actor View 396, 499 AR System Administration Console 491 AR System Administrator Preference 497 AR System Application State 491 AR System currency 493 AR System Current License Usage 495 AR System Historical License Usage 496 AR System Licenses 496 AR System Message Catalog 491 AR System Object Relationships 492 AR System Orchestrator Configuration 492 AR System Resource Definitions 492 AR System Searches Preference 492 AR System Server Group Operation Ranking 492 AR System Tags 496 AR System User Application Actor 396, 499 AR System User Central File 497 AR System User Preference 497 AR System Web Services Registry 492 AR System Web Services Registry Pending Delete 492 ARDBC LDAP Configuration 495 AREA LDAP Configuration 495 Assignment Engine 492 BMC Atrium Web Services Registry integration 492 business time 493 Configuration ARDBC 495 data visualization 494 Distributed Mapping 494 Distributed Pending 494 Distributed Pending Errors 494 Distributed Pool 494 DSO 494 flashboards 494 Group 494 Home Page 494 inetorgperson 495 LDAP 495 licensing 495 log forms 496 metadata forms 496 Object Modification Log 499 Object Reservation 499 overview 490 preference 497 Report 497 ReportCreator 497 reporting 497 ReportSelection 498 ReportToFile 497 ReportType 497 Roles 498 Server Events 498 Server Statistics 498 SHARE Application_Interface 491 Application_Properties 491 User form 498 User Password Change 498 version control 499 view selection 499 Visualizer 499 special groups 23 splitter panel holders 332 SQL menus creating 312 database security 316 sample 315 stacked panel holders 332 Start Color field property 528 states application state property 101 applications and 97 custom, creating 98 workflow and 98 statistical processing 375, 376 Status core field 473, 475 status history 475 status of localization toolkit 611 Status-History core field 473 StructAdmin 630 Subadministrator group access 24 permissions 66 subadministrator permissions applications 69 forms 69 submitter access 24 Submitter core field 473, 474 Submitter group access control 39, 40 special group 24
654
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
subset of entry points creating 454 displaying 383 support, customer 3 server side 234 setting cell background color 266 setting color of text, rows, and cells 263 setting column properties 257 setting refresh intervals 297 setting row colors 263 setting sort order 259 supported image types 271 tree view 236 updating on-screen only 284 user preferences in BMC Remedy User 296 user preferences in browsers 295 workflow and 268 Tabless Borderless field property 529 tabs Properties 501 Timeouts 196 technical support 3 templates content 389 creating workflow actions 390 for dynamic text formatting 387 parameters in 389 resources used with 388 TEMPLATE function 388, 391 using auto-complete functionality with 392 using in fields 390 Test state field 57, 482 text setting color in tables 263 Text Align field property 529 Text field property 529 Text Style field property 529 text, See trim fields Thickness field property 529 time fields, about 370 time formats ARDATE 597 customizing for localization 598 localizing 597 Windows localizing 599 Timeouts tab 196 tips add form action fields before locking forms 576 hierarchy of values in opening home pages 457 limiting number of entry points 437 order of entry points 439 title bar icon 408 title bar, customizing in applications 105 To Form field 485 To Mapping field 484 To Request ID field 484
T
tab order 424 about 223 field properties and 224 Outline view and 224 Tab Order field property 528 tabbed panel holders 331 table permissions 35 Table Drill Down field property 254, 528 Table field property 528 Table Not Loaded String field property 256, 528 tables about 377 adding buttons 275 adding images to 273 adding images to root node of tree 274 adding to forms 248 adding URLs 275 alert list 245 canceling all row selections 278 cell-based 243 check-box columns 278 client side 234 column display types and images 272 creating 247 customizing columns 295 customizing labels 255 displaying images in 269 drop-down menus in list view 281 dynamic 282 grouping rows 261 hiding headers and footers 259 image limitations 271 image size recommendations 271 images and mid tier performance 272 images and workflow 272 list view 235 localizing 297 providing header and footer functions through custom controls 259 refreshing 297 results list 246 results list pane 246 runtime images 272 selecting all rows 278
Index
655
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
To Server field 485 toolbars, hiding on forms in a browser 408 tracking changes to data 544 object customizations 137 transactions in join forms 169 Transfer Mode field 485 Transfer Status field 484 translated strings importing 617 reviewing 619 translated strings, importing 617 tree view tables about 236 arranging nodes 238 creating 247 hidden sort levels 238 leaf nodes 236 levels 236 nodes 236 NULL values 243 refreshing 242 selecting requests 242 setting visible levels 259 using color in 264 workflow and 268 Tree/Table Property field property 529 trim boxes. See trim fields trim fields about 385 adding URLs to trim text fields 215 creating 214 URLs 385 trim text. See trim fields types of forms 148 buttons and 211 home pages in a browser 434 trim fields and 385 Use Locale field property 297, 529 user assistive technology, for identifying table row data 256 User Central File, AR System form 497 User form, access control 498 User Password Change form 498 User Preference, AR System form 497 user preferences home page and server, specifying 462 suppressing home pages in BMC Remedy User 463 users access control 29 changing layout 407 customizing columns 295 deleted groups 55 guest 36, 61, 64 table preferences in BMC Remedy User 296 table preferences in browsers 295
V
valid overlay modifications 129 varchar, maximum length for 368 variables ARDATE environment 597 ARDATEONLY environment 597 ARTIMEONLY environment 597 Vendor field property 529 vendor forms definition 150 viewing information 174 version control about 72 adding labels to all server objects 80 adding labels to existing objects 80 adding labels to imported objects 81 adding labels to new objects 79 adding labels to objects 78 enabling labeling 79 exporting objects with a specified label 82 forms 499 modifying labels 83 removing labels 83 vertical lines. See trim fields vertical navigation fields, about 383 vertical navigation fields. See navigation fields Vertical Space field property 254, 529 Vertical Spacing field property 529
U
UNIX date and time environment variables 597, 598 field descriptors, combining 598 unmodified objects definition 139 hiding in Best Practice Customization mode 139 Unread field property 256, 529 Update Status field 484 upgrading preserving customizations 123 URL Color field property 529 URLs adding to tables 275 adding to trim text fields 215 656 Form and Application Objects Guide
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
view fields about 380 avoiding scroll bars in panels 357 binding templates to 390 creating 201 workflow and 381 view forms definition 150 displaying information 175 special considerations for archiving 536 view selection, forms 499 viewing attachments in a browser 379 attachments in BMC Remedy User 378 custom objects 134 overlays 138 subset of entry points 454 views adjusting size 595 changing current display 403 creating 400 custom labels for entry points 440 deleting 405 display, system searching to 600 entry points 439 field permissions 32 form permissions 50 form, localizing 580 including/excluding fields 411 localized 583 message components, localizing 588 modifying 403 multiple 394 naming 404 primary 105 properties 405 resizing 404 right-to-left format 423 Views field property 530 Visible Column field property 254 Visible Columns field property 530 Visible field property 258, 530 visible levels, setting in tree view tables 259 visible pane banner 407 visualization. See data visualization Visualizer, forms 499 locked objects cannot be unlocked 571 locking forms and workflow with different keys 574 replacing fields with new data type while importing definitions 570 replacing fields with new data type while importing deployable applications 115 web browser limitations in cascading style sheets 452 how home page appears 459 Weight field 479 When to Update field 485 white space, panel holders 344 Width field property 530 width, results list columns 179 Windows. See Microsoft window-scoped global fields 218 creating 218 described 218 workflow See also dynamic fields active links and entry point guides 441 application list field 383 attachment pool 380 buttons in tables and 276 creating action using TEMPLATE function 390 currency field 374 join forms and 168 navigation field 383 panels and 358 Run Process return to home page 457 subset of entry points, sample 455 tables and 268 view field 381 workflow actions Change Field 374, 380 Close Window 159 Commit Changes 159 Message 380 Open Window 159 Push Fields 374, 380 Run Process 380 Set Fields 374, 380 Wrap Text field property 258, 530 Write License Pool field 481
W
warnings deleting excess fields on server while importing definitions 570
X
X field property 531 XLIFF file and localization toolkit 612, 613 XML file type 558 Index 657
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
saving packing lists in 469 XML import/export commands saving packing lists as 469 XY layout 329
Y
Y field property 531
Z
z-order about 226 using with outline view 227
658
*183978*