SlideShare a Scribd company logo
3
Most read
5
Most read
9
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

What's hot (20)

PPT
Design Pattern For C# Part 1
Shahzad
 
PDF
Salesforce Lightning Process builder
Thinqloud
 
PDF
03 workflow
gianlucatorresi
 
PDF
E script
Shanta Devi
 
PPT
Software Design Patterns
Satheesh Sukumaran
 
PPTX
Siebel Open UI Debugging (Siebel Open UI Training, Part 7)
Tech OneStop
 
PPTX
Enterprise java unit-1_chapter-3
sandeep54552
 
PDF
How to build a chat application with react js, nodejs, and socket.io
Katy Slemon
 
PDF
Enterprise Java Beans - EJB
Peter R. Egli
 
PPTX
Websphere Application Server V8.5
IBM WebSphereIndia
 
PPTX
Jboss Tutorial Basics
Anandraj Kulkarni
 
PDF
Enterprise java unit-1_chapter-1
sandeep54552
 
PPTX
Nodejs Session01
Jainul Musani
 
PDF
Spring Framework - Core
Dzmitry Naskou
 
DOCX
Instruction on creating a cluster on jboss eap environment
Madhusudan Pisipati
 
PPTX
MVx patterns in iOS (MVC, MVP, MVVM)
Yaroslav Voloshyn
 
PDF
Lightning web components - Episode 4 : Security and Testing
Salesforce Developers
 
PPTX
MVVM - Model View ViewModel
Dareen Alhiyari
 
PDF
Siebel business process flow
mohammed a
 
PDF
신입 웹 개발자 포트폴리오 / 댓글 게시판
hyeonjae Cheon
 
Design Pattern For C# Part 1
Shahzad
 
Salesforce Lightning Process builder
Thinqloud
 
03 workflow
gianlucatorresi
 
E script
Shanta Devi
 
Software Design Patterns
Satheesh Sukumaran
 
Siebel Open UI Debugging (Siebel Open UI Training, Part 7)
Tech OneStop
 
Enterprise java unit-1_chapter-3
sandeep54552
 
How to build a chat application with react js, nodejs, and socket.io
Katy Slemon
 
Enterprise Java Beans - EJB
Peter R. Egli
 
Websphere Application Server V8.5
IBM WebSphereIndia
 
Jboss Tutorial Basics
Anandraj Kulkarni
 
Enterprise java unit-1_chapter-1
sandeep54552
 
Nodejs Session01
Jainul Musani
 
Spring Framework - Core
Dzmitry Naskou
 
Instruction on creating a cluster on jboss eap environment
Madhusudan Pisipati
 
MVx patterns in iOS (MVC, MVP, MVVM)
Yaroslav Voloshyn
 
Lightning web components - Episode 4 : Security and Testing
Salesforce Developers
 
MVVM - Model View ViewModel
Dareen Alhiyari
 
Siebel business process flow
mohammed a
 
신입 웹 개발자 포트폴리오 / 댓글 게시판
hyeonjae Cheon
 

Viewers also liked (7)

ODT
Potential Solutions Co Existence
Roman Agaev
 
ODT
General Error Handling Approach
Roman Agaev
 
PDF
Siebel deployment
Roman Agaev
 
PPT
Siebe Profile Attribute Management Utility
Jeroen Burgers
 
PPTX
Customizing the Presentation Model and Physical Renderer in Siebel Open UI
Tech OneStop
 
PPT
Coaching And Mentring Ppt
dimplenift
 
PPTX
Order management, provisioning and activation
VijayIndra Shekhawat
 
Potential Solutions Co Existence
Roman Agaev
 
General Error Handling Approach
Roman Agaev
 
Siebel deployment
Roman Agaev
 
Siebe Profile Attribute Management Utility
Jeroen Burgers
 
Customizing the Presentation Model and Physical Renderer in Siebel Open UI
Tech OneStop
 
Coaching And Mentring Ppt
dimplenift
 
Order management, provisioning and activation
VijayIndra Shekhawat
 
Ad

Similar to Siebel eScript (6)

PDF
Siebel training.org siebel escript course schedule
SiebelTraining.org
 
PDF
cbmanual
Matt D
 
PDF
Sap gui scripting api with guixt
Kang YAyan
 
PDF
Speed geeking-lotusscript
Bill Buchan
 
PDF
Everything you ever wanted to know about lotus script
Bill Buchan
 
Siebel training.org siebel escript course schedule
SiebelTraining.org
 
cbmanual
Matt D
 
Sap gui scripting api with guixt
Kang YAyan
 
Speed geeking-lotusscript
Bill Buchan
 
Everything you ever wanted to know about lotus script
Bill Buchan
 
Ad

Recently uploaded (20)

PPTX
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit
 
PDF
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
PDF
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
PDF
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PDF
SIZING YOUR AIR CONDITIONER---A PRACTICAL GUIDE.pdf
Muhammad Rizwan Akram
 
PPTX
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
PDF
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
PDF
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
PDF
🚀 Let’s Build Our First Slack Workflow! 🔧.pdf
SanjeetMishra29
 
PDF
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
PDF
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PDF
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
PPTX
Digital Circuits, important subject in CS
contactparinay1
 
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit
 
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
SIZING YOUR AIR CONDITIONER---A PRACTICAL GUIDE.pdf
Muhammad Rizwan Akram
 
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
🚀 Let’s Build Our First Slack Workflow! 🔧.pdf
SanjeetMishra29
 
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
Digital Circuits, important subject in CS
contactparinay1
 

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.