Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Standard view
Full view
of .
Look up keyword or section
Like this

Table Of Contents

Scripting: Where to Begin
Basic Process Flow
Scripting Best Practices
When to Use Scripting
Follow Standard Naming Conventions
Comment Code
Know When to Use Browser versus Server Script
Place Code in the Correct Event Handler
Use Fast Script In Event Handlers that Fire Frequently
Runtime versus Compiled Business Services
Use Option Explicit
Leverage Appropriate Debugging Techniques
Remove Unused Code from the Repository
Include Error Handling in All Scripts
Use RaiseError and RaiseErrorText Properly
Use Exception Information
Place Return Statements Correctly: eScript
Centralize Browser Script Using the “Top” Object
Know When to Use the Current Context versus a New Context in Server Script
Use Smallest Possible Scope for Variables
Instantiate Objects Only As Needed
Destroy Object Variables When No Longer Needed
Use Conditional Blocks To Run Code
Verify Objects Returned
Verify Field is Active before Use
Leverage New Methods in Siebel 7
Use Proper View Mode For Queries
Query Only Indexed Columns
Use ForwardOnly Cursor Mode
Verify Existence of Valid Record After Querying
Use Switch or Select Case Statements
Compare the Same Condition In If/Else If
Use the Associate Method to Create Intersection Table Records
Use Dynamic Values
Use Logical Constants versus Literal Values
Avoid Exit Function and Exit Sub
Place GotoView at the End of a Script
Use DeleteRecord Method Properly
0 of .
Results for:
No results containing your search query
P. 1
Technote-Scripting Best Practices

Technote-Scripting Best Practices

Ratings: (0)|Views: 17|Likes:
Published by Chandra Kanth

More info:

Published by: Chandra Kanth on Sep 14, 2010
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less





You're Reading a Free Preview
Pages 6 to 54 are not shown in this preview.

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->