25.6 Using Build Options to Control Configuration

Use build options to conditionally include or exclude application components and functionality.

25.6.1 Copying or Subscribing to Build Options

Copy build options from the current application or from another application. When copying a build option from another app, you can also subscribe to it.

Tip:

Subscriptions enable developers to reuse shared components across several applications in a workspace. To learn more about subscriptions, see Using Shared Component Subscriptions.

To copy or subscribe to build options:

  1. Navigate to the Build Options page.
    1. Navigate to the Workspace home page.
    2. Click the App Builder icon.
    3. Select an application.
    4. On the Application home page, click Shared Components.
    5. Under Application Logic, click Build Options.

      The Build Options page appears. Note that the report includes the following columns: Subscribed From, Subscription Status, and Subscribers.

  2. To copy a build option within the current application:
    1. Search for the build option and click Copy in the Copy column.

      The Copy Build Option Wizard appears.

    2. New Build Option Name - Enter the name of the build option. This name must be unique within the application.
    3. Click Copy Build Option.
  3. To copy a build option from another application:
    1. From the Tasks region, click Copy from another app.
      The Copy Build Option Wizard appears.
    2. Application - Select the application from which you want to copy.
    3. Copy Build Option - Select the build option to copy.
    4. Subscribe - Set this flag to On to subscribe to the build option.
    5. Click Copy Build Option.

25.6.2 Subscribing to Build Options

Subscribe to build options on the Build Options, Create / Edit page.

Subscriptions enable developers to reuse shared components across several applications in a workspace. To learn more about shared component subscriptions, see Using Shared Component Subscriptions.

Tip:

You can also subscribe to a search configuration by copying it and then subscribing. See Copying or Subscribing to Build Options.

To subscribe to a c:

  1. Navigate to the Build Options page:
    1. On the Workspace home page, click App Builder.
    2. Select an application.
    3. On the Application home page, click Shared Components.

      The Shared Components page appears.

    4. Under Application Logic, click Build Options.

      The Build Options page appears. Note that the report includes the following columns: Subscribed From, Subscription Status, and Subscribers.

  2. Select a build option.
    The Build Options, Create / Edit page appears.
  3. To subscribe to an build option:
    1. Find the Subscription region.
    2. Subscription, Subscribe From - Select a master build option to subscribe to and click Apply Changes.

      The subscribed component is automatically refreshed from the selected master.

  4. To refresh a subscribed a build option:
    1. Find the Subscription region.
    2. Subscription, Refresh Build Option - If the build option is already subscribed, click Refresh Build Option.
  5. To unsubscribe from a subscribed build option:
    1. Find the Subscription region.
    2. Subscription, Unsubscribe - Click Unsubscribe.