Adding objects to extension bundles using Access As and Object Prefix values

Before you can use the extension bundling features in the Deployment form, you must enable the FarmEnableExtensionBundle setting in the Settings Editor form of the Configuration Manager utility, or using the Configuration Manager from a Command Line Interface (CLI). See the help topic about the farm-wide setting for extension bundling in the Configuration Manager help.

When adding objects to extension bundles using Access As and Object Prefix values, both values are used to filter for forms, component classes, scripts, strings, and so on. Objects database elements, such as IDO collections, property classes, custom load assemblies, message, and IDO projects are also filtered. Finally, application database schemas and user-defined data types (UDTs) are also filtered based on the specified Access As and Object Prefix values.

Note: 
  • Bundling of Application Event System (AES) events, replication documents, application messages, object messages, and themes are available only when you use the Export using Access As and Object Prefix option.
  • Bundling of web user control elements is available only when you use the Export using forms, selected items and referenced items option.
  • Bundling of background task definitions is currently not supported.

You can add objects to existing extension bundles. Alternatively, you can create a new extension bundle. See Creating an extension bundle for deployment.

  1. Open the Deployment form.
  2. Select the Export using AccessAs and Object Prefix option.
  3. In the Export Applet section, specify this information:
    Profile Name
    Specify the name of the deployment profile.
    Note: You can have multiple deployment profiles for application or applet script packages.
    Access As
    Select one of these options:
    • To use an existing Access As value, select the value from the list.
    • To use a blank Access As value, select (null).
    • To exclude Access As values from the filter criteria, select (ignore).

    When creating a record, this field is automatically populated with the default Access As value.

    Object Prefix

    Optionally, specify a prefix for the application objects.

    Normally, this value is the same as the Access As value, but not necessarily.

    Script Application Database
    To include objects from the application database, specifically custom-created tables and all custom-created UDTs, select this check box.
    Script Forms Database
    To include objects from the forms database, select this check box.
    Script Objects Database

    To include objects database elements, such as IDO definitions, IDO property classes, and IDO extension class assemblies, select this check box.

    The objects database also includes some metadata definitions found in the application database that use the Access As attribute. This includes all customized Application Event System (AES) metadata and all customized Replication Document metadata.

    Include data
    Select this check box to specify that any data in the app tables must be included in the scripts.
    Scope
    Select the scope type:
    • Vendor: Select this option to create script files that are used by an application vendor.
    • Site: Click this option to create script files that are used by all users.
  4. In the Extension Bundle Name field, select an extension bundle.
    Note: The list contains all existing extension bundles created using the Extension Bundles form. See Creating an extension bundle for deployment.
  5. To add to the extension bundle, objects that are filtered using Access As and Object Prefix values, click Add To Bundle.
    To verify that the objects from the selected forms are added to the extension bundle, perform these actions:
    • Click View Log, and examine the output log for the operation.
    • Click View Bundle, and examine the list of objects in the extension bundle.