SlideShare a Scribd company logo
5
Most read
13
Most read
14
Most read
Siebel eScript
Agenda What’s Siebel E-Script Why to use Where to use When to use How to use Tips and Tricks
What’s Siebel E-Script A scripting language The core language is javascript Siebel eScript provides access to local system calls through two objects, Clib and SElib,
Siebel Script --outlying Types of Scripts:   There are two types of scripting available: Server Scripts (eScript or SiebelVB) Execute on the server for web clients or on the client machine for mobile or dedicated web clients Browser Scripts (JavaScript) Downloaded to the client and are executed within the browser
 
 
Where to Use Siebel Tools Web
When to use Data Validation:   Complex and business object/component data relationship rules can be written User Interaction:   Specific messages to users based on specific inputs – string concatenation is supported Integration:   Transfer the data to and  from the external system ,uses include calling a business service, workflow, etc
When to use
How to Use Siebel eScript Guidelines Siebel eScript Commands
Siebel eScript Guidelines Declare your variables Consider case sensitivity Use parentheses () with functions Use four-digit years in dates Use the  this  object reference …
Siebel eScript Commands Applet Object Methods Application Object Methods Business Component Objects …
Tips and Tricks Scripts are always interpreted (all text in the script is parsed), use  compact notation  where possible (for example): if(foo == bar) doSomething(); Instead of if(foo == bar)  { doSomething(); } Use “ elimination ” code to short circuit functions when not needed: if(isInDoItList(myval)) { longChunkOfCode(); }
Tips and Tricks When querying for a business component, activate all fields via the ActivateField() method prior to executing the query (this is well documented in Siebel Bookshelf).  When querying for BCs try to use a “ForwardOnly” flag in the ExecuteQuery() method, this forces Siebel to create a forward only cursor which is more efficient than a bi-directional cursor. Be very careful with using “SetFieldValue” within a “PreSetFieldValue” event due to possible undesired recursion. You can’t throw an error message during the “OnLoad” logic of an applet, (the error goes nowhere).

More Related Content

PPT
Siebel Web Architecture
PPT
Siebel best practices
PDF
E script
PPT
Siebel Web Service
ODT
Workflow Usage Best Practices
PPTX
java Servlet technology
PPTX
Siebel Open UI Presentation
PPT
Selenium Concepts
Siebel Web Architecture
Siebel best practices
E script
Siebel Web Service
Workflow Usage Best Practices
java Servlet technology
Siebel Open UI Presentation
Selenium Concepts

What's hot (20)

PDF
J2EE Introduction
PPTX
Introduction to Selenium Web Driver
PPTX
Adapter Design Pattern
PPTX
Web forms in ASP.net
PDF
Enterprise java unit-3_chapter-1-jsp
PPTX
Android ui with xml
PPTX
Java Spring Framework
PPT
.Net overview|Introduction Of .net
PPTX
Java Server Pages
PPTX
PPTX
Introduction to Spring Framework
PPTX
Enterprise java unit-1_chapter-3
PPT
ADO.NET
PPTX
Enterprise java unit-1_chapter-2
PDF
Collections in Java Notes
PPTX
Selenium introduction
PPTX
Getting started with entity framework
PPT
Automation testing
PDF
Automation Testing using Selenium Webdriver
PDF
Hibernate Presentation
J2EE Introduction
Introduction to Selenium Web Driver
Adapter Design Pattern
Web forms in ASP.net
Enterprise java unit-3_chapter-1-jsp
Android ui with xml
Java Spring Framework
.Net overview|Introduction Of .net
Java Server Pages
Introduction to Spring Framework
Enterprise java unit-1_chapter-3
ADO.NET
Enterprise java unit-1_chapter-2
Collections in Java Notes
Selenium introduction
Getting started with entity framework
Automation testing
Automation Testing using Selenium Webdriver
Hibernate Presentation
Ad

Viewers also liked (9)

PDF
Siebel CRM: Open UI
ODT
Potential Solutions Co Existence
ODT
General Error Handling Approach
PDF
Siebel deployment
PPT
Siebe Profile Attribute Management Utility
PPTX
Customizing the Presentation Model and Physical Renderer in Siebel Open UI
PDF
Siebel 8.1 Certifications Question Answers
PPT
Coaching And Mentring Ppt
PPTX
Order management, provisioning and activation
Siebel CRM: Open UI
Potential Solutions Co Existence
General Error Handling Approach
Siebel deployment
Siebe Profile Attribute Management Utility
Customizing the Presentation Model and Physical Renderer in Siebel Open UI
Siebel 8.1 Certifications Question Answers
Coaching And Mentring Ppt
Order management, provisioning and activation
Ad

Similar to Siebel eScript (20)

PPTX
Unit 1 - TypeScript & Introduction to Angular CLI.pptx
PPTX
Eclipse 40 and Eclipse e4
PDF
Lezione 03 Introduzione a react
PPTX
Abstract #236765 advanced essbase java api tips and tricks
PDF
Ruby On Rails
PDF
WebNet Conference 2012 - Designing complex applications using html5 and knock...
PPTX
Eclipse e4 on Java Forum Stuttgart 2010
PPT
Ruby On Rails Tutorial
PPTX
SenchaCon 2016: Learn the Top 10 Best ES2015 Features - Lee Boonstra
PDF
The Evolution of Async-Programming on .NET Platform (.Net China, C#)
PPTX
Entity Framework v1 and v2
PPT
Entity Framework 4 In Microsoft Visual Studio 2010
PPTX
O365 Saturday - Deepdive SharePoint Client Side Rendering
PDF
Lecture17 ie321 dr_atifshahzad_js
PDF
Advanced Model Inferencing leveraging Kubeflow Serving, KNative and Istio
PDF
Eclipse 40 - Eclipse Summit Europe 2010
PPTX
bdb_java_application_sample_program-2541909.pptx
PPTX
Onion Architecture with S#arp
PPTX
ConFoo Montreal - Microservices for building an IDE - The innards of JetBrain...
Unit 1 - TypeScript & Introduction to Angular CLI.pptx
Eclipse 40 and Eclipse e4
Lezione 03 Introduzione a react
Abstract #236765 advanced essbase java api tips and tricks
Ruby On Rails
WebNet Conference 2012 - Designing complex applications using html5 and knock...
Eclipse e4 on Java Forum Stuttgart 2010
Ruby On Rails Tutorial
SenchaCon 2016: Learn the Top 10 Best ES2015 Features - Lee Boonstra
The Evolution of Async-Programming on .NET Platform (.Net China, C#)
Entity Framework v1 and v2
Entity Framework 4 In Microsoft Visual Studio 2010
O365 Saturday - Deepdive SharePoint Client Side Rendering
Lecture17 ie321 dr_atifshahzad_js
Advanced Model Inferencing leveraging Kubeflow Serving, KNative and Istio
Eclipse 40 - Eclipse Summit Europe 2010
bdb_java_application_sample_program-2541909.pptx
Onion Architecture with S#arp
ConFoo Montreal - Microservices for building an IDE - The innards of JetBrain...

Recently uploaded (20)

PDF
cuic standard and advanced reporting.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Encapsulation theory and applications.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Machine learning based COVID-19 study performance prediction
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Approach and Philosophy of On baking technology
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Empathic Computing: Creating Shared Understanding
DOCX
The AUB Centre for AI in Media Proposal.docx
cuic standard and advanced reporting.pdf
Programs and apps: productivity, graphics, security and other tools
20250228 LYD VKU AI Blended-Learning.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
Spectral efficient network and resource selection model in 5G networks
Encapsulation theory and applications.pdf
Network Security Unit 5.pdf for BCA BBA.
Reach Out and Touch Someone: Haptics and Empathic Computing
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
NewMind AI Weekly Chronicles - August'25 Week I
Per capita expenditure prediction using model stacking based on satellite ima...
Machine learning based COVID-19 study performance prediction
The Rise and Fall of 3GPP – Time for a Sabbatical?
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Approach and Philosophy of On baking technology
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Mobile App Security Testing_ A Comprehensive Guide.pdf
Empathic Computing: Creating Shared Understanding
The AUB Centre for AI in Media Proposal.docx

Siebel eScript

  • 2. Agenda What’s Siebel E-Script Why to use Where to use When to use How to use Tips and Tricks
  • 3. What’s Siebel E-Script A scripting language The core language is javascript Siebel eScript provides access to local system calls through two objects, Clib and SElib,
  • 4. Siebel Script --outlying Types of Scripts: There are two types of scripting available: Server Scripts (eScript or SiebelVB) Execute on the server for web clients or on the client machine for mobile or dedicated web clients Browser Scripts (JavaScript) Downloaded to the client and are executed within the browser
  • 5.  
  • 6.  
  • 7. Where to Use Siebel Tools Web
  • 8. When to use Data Validation: Complex and business object/component data relationship rules can be written User Interaction: Specific messages to users based on specific inputs – string concatenation is supported Integration: Transfer the data to and from the external system ,uses include calling a business service, workflow, etc
  • 10. How to Use Siebel eScript Guidelines Siebel eScript Commands
  • 11. Siebel eScript Guidelines Declare your variables Consider case sensitivity Use parentheses () with functions Use four-digit years in dates Use the this object reference …
  • 12. Siebel eScript Commands Applet Object Methods Application Object Methods Business Component Objects …
  • 13. Tips and Tricks Scripts are always interpreted (all text in the script is parsed), use compact notation where possible (for example): if(foo == bar) doSomething(); Instead of if(foo == bar) { doSomething(); } Use “ elimination ” code to short circuit functions when not needed: if(isInDoItList(myval)) { longChunkOfCode(); }
  • 14. Tips and Tricks When querying for a business component, activate all fields via the ActivateField() method prior to executing the query (this is well documented in Siebel Bookshelf). When querying for BCs try to use a “ForwardOnly” flag in the ExecuteQuery() method, this forces Siebel to create a forward only cursor which is more efficient than a bi-directional cursor. Be very careful with using “SetFieldValue” within a “PreSetFieldValue” event due to possible undesired recursion. You can’t throw an error message during the “OnLoad” logic of an applet, (the error goes nowhere).

Editor's Notes

  • #2: Declarative alternative strong typing Support strong type and typeless variable Strong type –- compile time  performance Typeless -- runtime
  • #4: ECMA-262 Edition 4 You should regard coding as a last resort. Siebel Tools provides many ways to configure your Siebel application without coding, and these methods should be exhausted before you attempt to write your own code, for the following reasons: ■ Using Siebel Tools is easier than writing code. ■ More important, your code may not survive an upgrade. Customizations created directly in Siebel Tools are upgraded automatically when you upgrade your Siebel application, but code is not touched, and it may need to be reviewed following an upgrade. ■ Finally, declarative configuration through Siebel Tools results in better performance than implementing the same functionality through code.