Siebel Cookbook
Recipe One
SWE Tags
• Used by the SWE to place Siebel content
(applets, views, controls etc) on generated
web pages
• Also include co...
Recipe
• Conditionally hide Siebel controls on an applet
• You will need
– Siebel Tools
– Siebel Call Center
– Notepad or ...
Preparation
• Make sure you have a working Siebel Call
Center and Sample database
• Identify and backup your SRF file for ...
Preparation
• Configure Siebel Tools to open Web
Templates with WordPad or similar in
View > Options > Web Template Editor...
Part One
• Create the custom Business Service
– Create one Method
• Create one Output Argument with the same name
as the M...
Part Two
• Simulate your Business Service in
Administration > Business Service >
Simulator
– Ensure that it returns the co...
Part Three
• In the Template File used by the Applet
you identified earlier, enclose one control
with the following Condit...
Part Four
• Compile the modified and new objects
– In the example demonstration, copies were
taken and new objects and tem...
Part Five
• Login as SADMIN and observe the Control
is present
• Login as CCHENG and observe the
Control is missing
Conclusion
• The SWE:IF and other SWE Tags allow
for conditional content in Siebel Views,
Applets and Web Pages
– You can ...
Conclusion
• Application Conditional rendering is
supported in Siebel Tools through the
Expression property and the Config...
Upcoming SlideShare
Loading in …5
×

On Demand Education Ltd - Siebel Cookbook 1 - Disappearing Columns

948 views

Published on

Examining potential of Conditions in SWE Templates.

More information from www.ondemand-education.com > Cookbook

Published in: Technology, Art & Photos
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
948
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

On Demand Education Ltd - Siebel Cookbook 1 - Disappearing Columns

  1. 1. Siebel Cookbook Recipe One
  2. 2. SWE Tags • Used by the SWE to place Siebel content (applets, views, controls etc) on generated web pages • Also include conditional tags
  3. 3. Recipe • Conditionally hide Siebel controls on an applet • You will need – Siebel Tools – Siebel Call Center – Notepad or Wordpad • This recipe was written using Siebel 8.1.1 but earlier versions should be OK too
  4. 4. Preparation • Make sure you have a working Siebel Call Center and Sample database • Identify and backup your SRF file for the Developer Web Client • Identify the View and Applet you will be editing and Archive to a SIF • Identify the Web Template Files used by your Applet and backup
  5. 5. Preparation • Configure Siebel Tools to open Web Templates with WordPad or similar in View > Options > Web Template Editor • Configure shortcuts to open Siebel Call Center Sample with CCHENG and SADMIN usernames
  6. 6. Part One • Create the custom Business Service – Create one Method • Create one Output Argument with the same name as the Method – Create PreCanInvoke, PreInvoke code and the code for your Method • The method must return 0 or 1, and must populate the Output Argument
  7. 7. Part Two • Simulate your Business Service in Administration > Business Service > Simulator – Ensure that it returns the correct Output PropertySet
  8. 8. Part Three • In the Template File used by the Applet you identified earlier, enclose one control with the following Condition Tag : – <swe:if condition=“Business Service, Method”></swe:if> – You may also include an Input Argument in the condition – There is a <swe:switch> also
  9. 9. Part Four • Compile the modified and new objects – In the example demonstration, copies were taken and new objects and templates created • Make sure you move your modified or created Template Files to the WEBTEMPL folder of your Developer Client.
  10. 10. Part Five • Login as SADMIN and observe the Control is present • Login as CCHENG and observe the Control is missing
  11. 11. Conclusion • The SWE:IF and other SWE Tags allow for conditional content in Siebel Views, Applets and Web Pages – You can either use existing standard Web Engine State Properties Business Service or create a custom Business Service – The Business Service must return as Output a Property with the same name as the Method
  12. 12. Conclusion • Application Conditional rendering is supported in Siebel Tools through the Expression property and the Configuration Context Toolbar

×