Configuring Siebel Open UI > Customizing Siebel Open UI > Configuring Manifests >

Adding Custom Manifest Expressions


This topic describes how to add a custom manifest expression.

To add custom manifest expressions

  1. Log in to a Siebel client with administrative privileges.
  2. Navigate to the Administration - Application screen, and then the Manifest Expressions view.
  3. In the Expressions list, add the following expression.
    Field
    Value

    Name

    Enter text that describes the expression. For example, enter the following value:

    Desktop

    Siebel Open UI uses this value as an abbreviation for the expression that it displays in the Expression field in the Object Expression list in the Manifest Administration screen. It uses this abbreviation only to improve readability of the Object Expression list.

    Expression

    Enter an expression. For example, to apply the expression according to the:

    • Platform, use the following expression:

      GetProfileAttr("Platform Name") = 'Desktop'

      This example applies the expression for desktop platforms.

    • User position, use the following expression:

      GetProfileAttr("Primary Position Type") = "Sales Representative"

      This example applies the expression for the Sales Representative position.

    Siebel Open UI uses this value when it evaluates expressions that reside in the Object Expression list. For more information, see GetProfileAttr Method.

Using Temporary Manifest Expressions During Development

It is recommended that you configure a temporary manifest expression that makes the manifest specific to a single user. This configuration allows you to test and troubleshoot the manifest configuration, if necessary.

To use temporary manifest expressions during development

  1. Configure a manifest.

    For more information, see Configuring Custom Manifests.

  2. In the Expressions list, add an expression that configures the manifest for a single user.

    For example:

    Name
    Expression

    CCHENG

    GetProfileAttr("Login Name") = 'CCHENG'

  3. Log out of the client, and then log back in to the client using the ID that you specified in Step 2.

    If you encounter an error during the log in, or if the client stops responding, then do the following:

    1. Close the client session.
    2. Log in with a user ID that is different from the ID that you specified in Step 2.
    3. Troubleshoot the manifest configuration error.

      For example, assume you configure a manifest that references a custom file in the siebel/custom folder, but you forget to add this custom file to this folder. If you attempt to log in to the client with this configuration, then the client might stop responding, and you might not be able to examine the manifest configuration. If you configure a temporary expression that is specific to a single user, then you can log in as a different user and troubleshoot the manifest configuration.

  4. If necessary, fix the manifest configuration.
  5. Remove the expression that you added in Step 2.
Configuring Siebel Open UI Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Legal Notices.