Bookshelf Home | Contents | Index | PDF |
Siebel SmartScript Administration Guide > Extending Scripts with Siebel VB and Siebel eScript > Siebel VB and Siebel eScript Sample Code > Sample Code of Dynamic QuestionsThe following sample code implements inserting an answer into a question dynamically. Specifically, it inserts the caller's title and last name, as determined by previous questions, into the target question. The question might be entered into SmartScript as follows: Hello. Is this [Contact.M/M] [Contact.LastName]? Siebel VB CodeDim MM as String Set Q = Page.GetQuestion ("Contact: Mr/Ms") Set Q = Page.GetQuestion ("Contact: Last Name") Text = OriginalQuestionText Siebel eScript Codevar MM; Q = Page.GetQuestion ("Contact: Mr/Ms"); Q = Page.GetQuestion ("Contact: Last Name"); Text = OriginalQuestionText (); |
Siebel SmartScript Administration Guide | Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |