logo资料库

ariba解决方案文档.pdf

第1页 / 共285页
第2页 / 共285页
第3页 / 共285页
第4页 / 共285页
第5页 / 共285页
第6页 / 共285页
第7页 / 共285页
第8页 / 共285页
资料共285页,剩余部分请下载后查看
Preface
Audience and Prerequisites
Typographic Conventions
Ariba Technical Support
Chapter 1 Introduction
User Interface Architecture
Page Templates
Screen Content
User Interface Brand
XML Configuration Files
Metadata XML Files
Wizard XML Configuration Files
Extension File Methodology
Other Customizations
Chapter 2 Resource Files
Overview of Resource Files
Locales
Resource Files
Branding Files
Resource Files in the Default Configuration
Ariba Buyer Server Resource Files
Syntax of Resource Files
Web Server Resource Files
Branding Web Server Resource Files
Customizing Resource Files
Creating Custom Resource Files
Where to Store Custom Resource Files
Modifying Help Files
Summary of Resource File Customization
Chapter 3 XML Syntax
Markup Languages
Elements, Tags, and Attributes
Using @ In Strings
XML Syntax
Well-Formed Documents
Valid XML Documents
Syntax Summary
Chapter 4 Metadata XML Configuration Files
Metadata XML File Mechanics
Location of Metadata XML Files
Creating Extension Files
Loading Extension Files
Content of Metadata XML Extension Files
Declaring Extensions with
Importing Definitions With
Declaring Classes and Fields
Modifying Classes and Fields
Setting Field Properties With
Using
Modifying Groups with
Referring to the Default Object Model
Public API
Using Dot Notation
Chapter 5 Extrinsic Classes and Fields
Defining Extrinsic Classes
Partitioned and Unpartitioned Classes
Other Attributes and Elements
Defining Extrinsic Fields
Vector Fields
Other Attributes of Field Declarations
Methodology for Class Definitions
Methodology for Class Variants
Populating Extrinsics With Data
Using Ariba File Channel
Mapping cXML Extrinsics into Ariba Buyer
Mapping Catalog Extrinsics
Chapter 6 Field Properties
Field Properties for Labels
Defining the Label
Defining a Tooltip
Hiding the Label
Abbreviating Labels
Describing Font and Text Style
Adding Fields to the Screen
Using Rank to Order Fields
Zones
Alignment and Justification
Example: Adding a Field
Chapter 7 Conditions and Actions
Conditions
Where to Specify Conditions
Boolean Operators for Conditions
The TestField Attribute
The clusterType Attribute
Actions
Where to Specify Actions
Multiple Actions
The Action Context
Parameters
Static Parameters
Dynamic Parameters
Output Parameters
Null Parameters
Parameters for Error Messages
Chapter 8 Triggers
Defining Triggers
Specifying Trigger Events
Specifying Trigger Actions
Associating Conditions with Triggers
Respecting User’s Changes
Refreshing the User Interface
Triggers on the Mass Edit Screen
Examples
Using the Create Event
Using the FieldChange Event
Chapter 9 Validity, Visibility, and Editability
Specifying Validity, Visibility, and Editability
Defining Visibility of Fields
Example: Simple Visibility Constraint
Example: Showing Extra Fields
Setting Visibility Without Conditions
Defining the Validity of Fields
Examples of Validity Constraints
Using the Required Property
Disabling Validation Unconditionally
Validation at Submission Time
Validation From Wizards
Defining Editability
Editability Conditions on Fields
Editability Conditions on Classes
Chapter 10 Choosers
About Choosers
Kinds of Choosers
Structure of a Chooser
Field Properties For Choosers
Chooser Search Fields
Chooser Results Fields
Chooser Value
Chooser Button
The Details Screen
The uiName Property
Customizing Chooser Screen Titles and Hints
Customizing the Data in a Chooser
Allowing No Selection
Specifying Sort Order
Caching Query Results
Allowing Custom Values in a Chooser
Setting Search Properties
Setting Performance Limits
Using Custom Nametables
Populating a Chooser with Query Results
Creating External Source Choosers
ClassNameIsLeaf Property
Nametable Families
Example
Chapter 11 Group Views and Field Controllers
Group Views
Understanding Group Views
Specifying Group Views
Field Controllers
Choosing the Controller For a Field
Adding Parameters to a Controller
Examples of Text Field Controllers
User Preferences
PrefType Property
Other Field Properties
UserPreferencesReset Group
Chapter 12 Object Field Controllers
Field Controllers for Objects
ObjectContext Field Controller
Customizing the ARFObject Field Controller
Parameters that Describe the Link
Parameters that Describe the Details Screen
Summary of Parameters
Customizing Screen Titles and Hints
Instantiating and Validating Objects
Using Triggers to Instantiate Objects
Using Conditions to Validate Objects
Examples
ARFObject Example
ARFObjectContext Example
Chapter 13 Wizards
Wizard Infrastructure
Mechanics of Changing Wizards
Where to Find Wizard Files
Using Wizard Extension Files
How to Edit Wizard Files
Testing Wizards
Wizard Files (.awz)
Defining Wizards
Defining Extensions to Wizard Files
Wizard Frame Files (.afr files)
Defining Wizard Frames
Changing Steps and Attributes
Page Transitions
Controlling Page Flow
Chapter 14 Customization of Login and Home Page
Browser and Session Configuration
Enhanced Accessibility Mode
Browser Autocomplete Mode
Session Timeout Warning
Customizing the Login Screen
Modifying News and Hints Sections
Modifying the Destination Page
Modifying Login Credentials
Customizing the Home Page
Customizing Company News
Customizing the Central Image
Chapter 15 Search Customization
Catalog Search Customizations
The Element
Groups Used For Customizing Search
Removing Fields From Catalog Groups
Supplier Customizations
Example
Saved Searches
Customizing Filters
Tuning Query Performance
Chapter 16 Approvable Document Customization
Customizing Approvables with Class Properties
Setting the Document Watermark
Specifying a Help Page
Specifying the Icon for a Document
Specifying Whether Users Can Print a Document
Specifying Whether Users Can Copy a Document
Specifying Layout
Including an Update Button
Uploading Data From a File
Defining Workflow
Using a Wizard
Setting the Document Name
Specifying Workflow Hooks
Specifying a Field for the Amount Column
Adding Editability Conditions to Class Properties
Customizing Approvable Copy
Customizing Approvable Print
Customizing the Header
Customizing the Line Items
Customizing Shipping and Billing Information
Other Groups for Expense Report Printing
Java Customizations
Customizing Notification Messages
Configuring Sections of Notification Messages
Groups For Customizing the Header
Groups For Customizing the Line Items
Customizing HTML Email Notifications
Chapter 17 eForms
Introduction to eForms
Writing a Metadata XML File
Defining the Object Model
Designing the Layout of an eForm
Creating a Wizard for an eForm
Specifying a User Interface Name
Printing eForms
Customizing eForm Access
Grouping eForms by Category
Restricting User Access
Accessing eForms through a URL (Web Jumper)
Adding an eForm to Your Configuration
Reloading Metadata XML Extensions
Running the ApprovableType Integration Event
Editing Parameters
Updating the Classpath
Writing Approval Rules
Writing a Workflow File
Example of an eForm
Step 1: Create a Metadata XML Extension File
Step 2: Create a Workflow XML File
Step 3: Modify the ApprovableType.csv File
Step 4: Modify config/Parameters.table
Step 5: Restart Ariba Buyer
Step 6: Run the Approvable Type Integration Event
Step 7: Use Your New eForm
Step 8: Add Field Controllers and Triggers
Chapter 18 Testing and Troubleshooting
Interpreting Error Messages
Log Categories
Understanding Log Messages
Common Problems
Missing or Invalid DTD Specification
Naming Errors
Missing Imports
Invalid Attributes
Tools for Testing and Debugging
Using the Inspector
Using the Checkmeta Utility
Using the Printmeta Utility
Enabling Debugging Mode
Appendix A Groups Reference
Groups for Approvable Documents
Groups for Printing Approvable Documents
Groups for Searching and Reporting
Groups for the Catalog
Groups for Choosers and Forms
Groups for Comments
Groups for Login
Groups for Customizing Behavior
Appendix B Command Reference
checkmeta
printmeta
Index
Ariba Buyer Customization Guide Version 8.2 May 2004
Copyright © 1996-2004 Ariba, Inc. Ariba and the Ariba logo are registered trademarks of Ariba, Inc. Ariba Spend Management, Ariba Analysis, Ariba Buyer, Ariba Category Management, Ariba Contracts, Ariba Travel & Expense, Ariba Workforce, Ariba Invoice, Ariba eForms, Ariba Enterprise Sourcing, Ariba Category Procurement, Ariba Contract Workbench, Ariba Settlement, Ariba Supplier Network, BPM Services, Power Sourcing, Total Spend Capture and PO-Flip are trademarks or service marks of Ariba, Inc. All other trademarks are property of their respective owners. CONTAINS IBM Runtime Environment for AIX (R), Java (TM) 2 Technology Edition Runtime Modules (c) Copyright IBM Corporation 1999, 2000 All Rights Reserved Some versions of this product include software licensed from International Business Machines Corp. Such software is protected by copyright as provided in the proprietary notices included with the software. Some versions of this product include software licensed from BEA Systems, Inc. Such software is protected by copyright as provided in the proprietary notices included with the software. All other brand or product names may be trademarks or registered trademarks of their respective companies or organizations. ALL LICENSES OF ARIBA SOFTWARE PROGRAMS AND RELATED DOCUMENTATION (“PROGRAMS”) ARE SUBJECT TO ANY EXPORT LAWS, REGULATIONS ORDERS OR OTHER RESTRICTIONS IMPOSED BY THE UNITED STATES OF AMERICA OR BY ANY OTHER GOVERNMENT ENTITY ON THE PROGRAMS OR INFORMATION RELATING THERETO. A LICENSEE OF ANY PROGRAM WILL NOT IMPORT, EXPORT, OR ALLOW THE EXPORT OR REEXPORT, DIRECTLY OR INDIRECTLY, OF THE PROGRAM (OR TECHNICAL DATA OR OTHER INFORMATION RELATED THERETO) OR ANY DIRECT PRODUCT THEREOF, TO ANY COUNTRY TO WHICH SUCH IMPORT, EXPORT, OR REEXPORT IS RESTRICTED OR PROHIBITED, OR AS TO WHICH SUCH GOVERNMENT OR ANY AGENCY THEREOF REQUIRES ANY EXPORT LICENSE OR OTHER GOVERNMENTAL APPROVAL AT THE TIME OF IMPORT, EXPORT OR REEXPORT, WITHOUT FIRST OBTAINING SUCH APPROVAL. THIRD PARTY SOFTWARE See this URL for a complete list of third-party software copyright information: http://www.ariba.com/copyrights.cfm
Table of Contents Preface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii Audience and Prerequisites. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii Typographic Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv Ariba Technical Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv Chapter 1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 User Interface Architecture. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Page Templates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Screen Content. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 User Interface Brand . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 XML Configuration Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Metadata XML Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Wizard XML Configuration Files . . . . . . . . . . . . . . . . . . . . . . . . 20 Extension File Methodology. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Other Customizations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Chapter 2 Resource Files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Overview of Resource Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Locales. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 Resource Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 Branding Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 Resource Files in the Default Configuration . . . . . . . . . . . . . . . . . . . 25 Ariba Buyer Server Resource Files . . . . . . . . . . . . . . . . . . . . . . . 25 Syntax of Resource Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Web Server Resource Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 Branding Web Server Resource Files . . . . . . . . . . . . . . . . . . . . . 29 Ariba Buyer Customization Guide iii
Table of Contents Customizing Resource Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 Creating Custom Resource Files . . . . . . . . . . . . . . . . . . . . . . . . . 30 Where to Store Custom Resource Files . . . . . . . . . . . . . . . . . . . . 31 Modifying Help Files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 Summary of Resource File Customization . . . . . . . . . . . . . . . . . 33 Chapter 3 XML Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Markup Languages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Elements, Tags, and Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 Using @ In Strings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 XML Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 Well-Formed Documents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 Valid XML Documents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 Syntax Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 Chapter 4 Metadata XML Configuration Files . . . . . . . . . . . . . . . . 39 Metadata XML File Mechanics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 Location of Metadata XML Files . . . . . . . . . . . . . . . . . . . . . . . . 39 Creating Extension Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 Loading Extension Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 Content of Metadata XML Extension Files . . . . . . . . . . . . . . . . . . . . 42 Declaring Extensions with . . . . . . . . . . . . . . . . . . . 42 Importing Definitions With . . . . . . . . . . . . . . . . . . . . . 43 Declaring Classes and Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 Modifying Classes and Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 Setting Field Properties With . . . . . . . . . . . . . . . . . 46 Using . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 Modifying Groups with . . . . . . . . . . . . . . . . . . . . . . 48 Referring to the Default Object Model . . . . . . . . . . . . . . . . . . . . . . . . 48 Public API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 Using Dot Notation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 Chapter 5 Extrinsic Classes and Fields . . . . . . . . . . . . . . . . . . . . . 51 Defining Extrinsic Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 Partitioned and Unpartitioned Classes. . . . . . . . . . . . . . . . . . . . . 52 Other Attributes and Elements. . . . . . . . . . . . . . . . . . . . . . . . . . . 52 iv Ariba Buyer Customization Guide 82en_us2004.5.43
Table of Contents Defining Extrinsic Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 Vector Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 Other Attributes of Field Declarations . . . . . . . . . . . . . . . . . . . . 55 Methodology for Class Definitions. . . . . . . . . . . . . . . . . . . . . . . . . . . 55 Methodology for Class Variants . . . . . . . . . . . . . . . . . . . . . . . . . 57 Populating Extrinsics With Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 Using Ariba File Channel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 Mapping cXML Extrinsics into Ariba Buyer . . . . . . . . . . . . . . . 59 Mapping Catalog Extrinsics . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 Chapter 6 Field Properties. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 Field Properties for Labels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 Defining the Label . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 Defining a Tooltip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 Hiding the Label . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 Abbreviating Labels. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 Describing Font and Text Style . . . . . . . . . . . . . . . . . . . . . . . . . . 67 Adding Fields to the Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 Using Rank to Order Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 Zones . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 Alignment and Justification. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 Example: Adding a Field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 Chapter 7 Conditions and Actions . . . . . . . . . . . . . . . . . . . . . . . . 73 Conditions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 Where to Specify Conditions. . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 Boolean Operators for Conditions. . . . . . . . . . . . . . . . . . . . . . . . 75 The TestField Attribute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 The clusterType Attribute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 Actions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 Where to Specify Actions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 Multiple Actions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 The Action Context . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 Ariba Buyer Customization Guide v
Table of Contents Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 Static Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 Dynamic Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 Output Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 Null Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 Parameters for Error Messages . . . . . . . . . . . . . . . . . . . . . . . . . . 83 Chapter 8 Triggers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 Defining Triggers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 Specifying Trigger Events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 Specifying Trigger Actions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 Associating Conditions with Triggers . . . . . . . . . . . . . . . . . . . . . 89 Respecting User’s Changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 Refreshing the User Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 Triggers on the Mass Edit Screen . . . . . . . . . . . . . . . . . . . . . . . . 92 Examples. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 Using the Create Event . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 Using the FieldChange Event . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 Chapter 9 Validity, Visibility, and Editability . . . . . . . . . . . . . . . . 95 Specifying Validity, Visibility, and Editability . . . . . . . . . . . . . . . . . . 95 Defining Visibility of Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 Example: Simple Visibility Constraint . . . . . . . . . . . . . . . . . . . . 96 Example: Showing Extra Fields . . . . . . . . . . . . . . . . . . . . . . . . . 97 Setting Visibility Without Conditions . . . . . . . . . . . . . . . . . . . . . 98 Defining the Validity of Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 Examples of Validity Constraints . . . . . . . . . . . . . . . . . . . . . . . . 99 Using the Required Property . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 Disabling Validation Unconditionally . . . . . . . . . . . . . . . . . . . . 101 Validation at Submission Time . . . . . . . . . . . . . . . . . . . . . . . . . 101 Validation From Wizards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 Defining Editability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 Editability Conditions on Fields . . . . . . . . . . . . . . . . . . . . . . . . 103 Editability Conditions on Classes . . . . . . . . . . . . . . . . . . . . . . . 106 vi Ariba Buyer Customization Guide 82en_us2004.5.43
Table of Contents Chapter 10 Choosers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 About Choosers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 Kinds of Choosers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 Structure of a Chooser . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 Field Properties For Choosers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114 Chooser Search Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114 Chooser Results Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115 Chooser Value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116 Chooser Button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 The Details Screen. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 The uiName Property. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 Customizing Chooser Screen Titles and Hints . . . . . . . . . . . . . 121 Customizing the Data in a Chooser . . . . . . . . . . . . . . . . . . . . . . . . . 123 Allowing No Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 Specifying Sort Order . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 Caching Query Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 Allowing Custom Values in a Chooser . . . . . . . . . . . . . . . . . . . 125 Setting Search Properties. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126 Setting Performance Limits . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 Using Custom Nametables . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128 Populating a Chooser with Query Results. . . . . . . . . . . . . . . . . 130 Creating External Source Choosers . . . . . . . . . . . . . . . . . . . . . . 132 ClassNameIsLeaf Property . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134 Nametable Families . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137 Chapter 11 Group Views and Field Controllers . . . . . . . . . . . . . . . 143 Group Views . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143 Understanding Group Views . . . . . . . . . . . . . . . . . . . . . . . . . . . 144 Specifying Group Views . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145 Field Controllers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146 Choosing the Controller For a Field . . . . . . . . . . . . . . . . . . . . . 146 Adding Parameters to a Controller . . . . . . . . . . . . . . . . . . . . . . 147 Examples of Text Field Controllers . . . . . . . . . . . . . . . . . . . . . . 148 User Preferences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150 PrefType Property . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150 Other Field Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151 UserPreferencesReset Group . . . . . . . . . . . . . . . . . . . . . . . . . . . 151 Ariba Buyer Customization Guide vii
Table of Contents Chapter 12 Object Field Controllers . . . . . . . . . . . . . . . . . . . . . . . 153 Field Controllers for Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153 ObjectContext Field Controller . . . . . . . . . . . . . . . . . . . . . . . . . 155 Customizing the ARFObject Field Controller . . . . . . . . . . . . . . . . . 155 Parameters that Describe the Link. . . . . . . . . . . . . . . . . . . . . . . 155 Parameters that Describe the Details Screen . . . . . . . . . . . . . . . 156 Summary of Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157 Customizing Screen Titles and Hints. . . . . . . . . . . . . . . . . . . . . 158 Instantiating and Validating Objects . . . . . . . . . . . . . . . . . . . . . . . . . 159 Using Triggers to Instantiate Objects . . . . . . . . . . . . . . . . . . . . 159 Using Conditions to Validate Objects . . . . . . . . . . . . . . . . . . . . 160 Examples. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161 ARFObject Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161 ARFObjectContext Example . . . . . . . . . . . . . . . . . . . . . . . . . . . 164 Chapter 13 Wizards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167 Wizard Infrastructure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167 Mechanics of Changing Wizards . . . . . . . . . . . . . . . . . . . . . . . . . . . 168 Where to Find Wizard Files. . . . . . . . . . . . . . . . . . . . . . . . . . . . 169 Using Wizard Extension Files . . . . . . . . . . . . . . . . . . . . . . . . . . 169 How to Edit Wizard Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170 Testing Wizards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170 Wizard Files (.awz) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170 Defining Wizards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170 Defining Extensions to Wizard Files . . . . . . . . . . . . . . . . . . . . . 172 Wizard Frame Files (.afr files) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173 Defining Wizard Frames . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173 Changing Steps and Attributes . . . . . . . . . . . . . . . . . . . . . . . . . 174 Page Transitions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175 Controlling Page Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176 Chapter 14 Customization of Login and Home Page. . . . . . . . . . . 179 Browser and Session Configuration . . . . . . . . . . . . . . . . . . . . . . . . . 179 Enhanced Accessibility Mode . . . . . . . . . . . . . . . . . . . . . . . . . . 179 Browser Autocomplete Mode . . . . . . . . . . . . . . . . . . . . . . . . . . 180 Session Timeout Warning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180 viii Ariba Buyer Customization Guide 82en_us2004.5.43
分享到:
收藏