How to configure Country Segmentation

To configure Country Segmentation, you will need to add the following code to the custom script in Fusion:

window.oglInfo = {fields:{user_country:"#{Profile.values.FND_TERRITORY}"}};

Step 1: Create Sandbox

The first step is to create a sandbox so that the global page template can be updated.

Note:

Please make sure you don’t have any active sand box.
  1. Select Navigator and select “Sandboxes” under Configuration.

    Sandboxes

  2. Click the “Create Sandbox” button. Enter the “Sandbox Name” and optional description.

    Create Sandboxes

  3. Select “Page Composer” ,“Page Template Composer” and “Guided Learning” from All Tools.Select “Create and Enter”.

    Page Composer

Step 2: Customize Global Page Template

  1. Select the dropdown under the username and select Edit Global Page Template.

    Global Page Template

  2. Select the View button and then Design.
  3. Select the Edit icon next to HTML Markup.

    HTML Markup

    Note:

    If you are not able to select Design you may need to enable the Administrator Profile Value: FSM > Manage Administrator Profile Values > FND_PAGE_COMPOSER_SOURCE_VIEW > Set to “Yes.

  4. On the Component Properties pop-up, select the Edit icon next to the Value field and then Expression Builder.

    Expression Builder

  5. Copy and paste the JavaScript into the “Type a value or expression” field. Select OK.

    Note:

    Please contact your Guided Learning Delivery Point of Contact for JavaScript.Script to be updated:
    <script type="text/javascript">
    window.oglInfo = {fields:{user_country:"#{Profile.values.FND_TERRITORY}"}};
    </script>

    Expression Editor

  6. Select Apply button then OK.

    Apply

Step 3: Activate Sandbox

  1. Select the hyperlinked sandbox name and then “Publish”

    Publish

    Publish OK

  2. Select Publish.

    Publishh

  3. Select Continue to Publish on the Warning pop-up.

    Continue to Publish

  4. You may need to log out and then log back in to view the widget.

Enabling Country Segmentation in Guide Activation conditions

Now that you have configured Country Segmentation in Fusion, you can now reference the 'user_country' field in Advanced Conditions.

  1. From the My Content page, select Activation from the bottom of the guide tile:

    Activation

  2. In the Guide Activation modal, select Advanced Condition from the Type dropdown menu, then select the Add ( add icon) button.

    Activation Type

  3. In the Create condition section, set the following parameters:
    • Type = User
    • Connector = has/has not
    • Subtype = field
    • Name = user_country
    • Operator = Equals

    Enter Operand value = 'enter a country or territory value' (For example: US for United States of America)

    Check Display in Help Panel and/or Autoload, as needed.

    Guide Activation

    Note:

    For multiple countries/territories, you can use a vertical pipe ( | ) symbol to separate each value.

Note:

For information on how to enable Guide Activation conditions, refer to the following OGL User Guide topic:

https://docs.oracle.com/en/education/customer-success/guided-learning/user-guide/creating-ogl-content.html#GUID-D53AB2B2-98E7-4090-A08C-B0741FB0263A