Environment conditions cover properties that are not necessarily related to the user’s profile or the current time. For example, the type of web browser a visitor is using might not be included in his or her profile, but that information is available when the visitor accesses the site and it can be used for targeting then. For example:

Show this content:
   items whose platform is Macintosh
Under these conditions:
   if Browser's using Macintosh system is true

To set a rule’s environment conditions:

  1. Click the down arrow in the Under These Conditions field in the Rule Set panel. The following options appear:

    This illustration is described in the preceding text.
  2. Use the options as described in the following table:

    Browser

    Select Browser to set a browser-related condition. For example: Browser supports cookies is true.

    Locale

    Select Locale to set a locale-related condition. For example, if Locale defaultRequestLocale is en_ US.

    Note: Locale options are relevant if you are working on a localized web site that displays content in different languages depending on the language setting in a visitor’s browser. For more information about internationalization and localization, refer to the Platform Programming Guide.

    Profile

    Select Profile to set a person-related condition. For example, if Profile Home address's State is NY.

    Request

    Select Request to set an HTTP request-related condition. For example, if Request loggingInfo is false.

    Developer’s Note: The Business Control Center does not display form parameters in the list of Request properties. If you want to include form request parameters in your targeting business rules, you can work around this by creating a request-scoped Form Handler object and adding it to the TargetingSourceMap service in the Personalization module. (For more information on setting up a TargetingSourceMap service, see Setting Up Targeting Services in the Personalization Programming Guide.) After your new Form Handler is in the TargetingSourceMap, all the object’s properties should appear in a list of Form Handler properties in the Business Control Center. You can then select them for your targeting business rules.

    Today

    Select Today to set a time-related condition. For example, if Today date is 10/20/2006.

    The application developers working on your web site can add other environment options to this list by setting up a TargetingSourceMap service in the Personalization module. For more information, see Setting Up Targeting Services in the Personalization Programming Guide.

    When you select one of these options, the Business Control Center displays additional fields (illustrated below), allowing you to select the property, comparison operator, and value you want to use.

    The selections in the Comparison Operator and Value menu change depending on the property you select. If the property has a limited set of values, the Value list includes all your possible choices. If the property has an unlimited number of values, you can type a unique value directly into the field. An instruction showing the value type required (“Associated site,” for example) appears in the text field.

  3. If you want to add other environment conditions, click the period at the end of the phrase, and then select And or Or as appropriate:


Copyright © 1997, 2018 Oracle and/or its affiliates. All rights reserved. Legal Notices