Bookshelf Home | Contents | Index | PDF |
Siebel Marketing User Guide > Creating and Using Offers and Treatments > About Creating Conditional Content in Treatments > About the If-Then Personalization ElementTable 7 shows a list of If-Then personalization element components. The following is a simple example of the use of an If-Then personalization element. If the first name is defined, then the contact's or prospect's first and last name appears. If the first name is not defined, then only the last name appears: $(if [Field: First Name]) Nesting If-Then personalization elements (placing one within another) is an acceptable practice. The following is an example of nesting these elements: $(if [Field: First Name]) $(elseif [Field: Last Name]) Use of indentation indicates the nesting of one If-Then personalization element within another. Indentation is not necessary, but makes it easier to read. Also, in this example, each component is on its own line. This use of separate lines is also not necessary, but it makes reading the treatment easier. After the Email Marketing Server makes the decision about what text or HTML to remove, the If-Then-Else personalization element components are also removed (including their trailing line breaks). |
Siebel Marketing User Guide | Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |