Creating a Change Management Package

In this section:

How to:

Reference:

Many organizations do not grant developers write access to the user acceptance test and production environments. Access to these environments is strictly controlled and granted only to administrators, production control personnel, or automated change management processes.

Only developers know which changes are ready to be moved into the test environment. The Change Management Export facility presents developers with a graphical view of the resources they manage and allows them to build a change management package. This package is then loaded into another environment by production control personnel or automated processes.

A user must be authorized to create a change management package. The privilege to do so is Resource Export (opExport), a hybrid privilege. If a user has the Resource Export privilege on a particular folder, then the Change Management node and the Export subnode are displayed. The only resources that are displayed within the Change Management user interface are the ones for which the user has the Resource Export privilege.

The steps required to create a change management package are:

  1. Create a Scenario. Using the Change Management Export facility, create a Change Management scenario by selecting the resources to export. A scenario is a description of all the resources included in a change management export package.

  2. Export a Scenario. After creating a scenario, export it into a change management export package. This change management export package is placed in the drive:\ibi\WebFOCUS82\cm\export directory in two formats: a zip file and a folder, which contains the expanded contents of the zip file.

    The zip file is then used to update the target environment and placed in the drive:\ibi\WebFOCUS82\cm\import directory. For convenience, the CM zip file can be downloaded using a web browser and similarly uploaded to the target where its content can then be imported and accessed.

Working With CM Zip Files

The zip file format compresses the resources that make up a change management package into a single file, delivering the advantages of speed and security to change management packages. They are especially useful when you must transfer change management packages from one physical location to another. Their compressed and consolidated format captures all files included in a change management package into a single file that can be emailed, copied, or cut and pasted from a source folder on one network component to a target folder on another.

WebFOCUS creates change management zip files, called CM zip files, by default. To disable this feature, clear the Zip Change Management Package (IBI_CM_ZIP) check box, which is found on the Change Management page of the Configuration tab in the Administration Console. When this feature is disabled, change management packages use the uncompressed CM file format.

The default CM zip file name format is NAME_DATE_TIME_USERID, which combines the name of the change management package, with the date and time on which it was created, and the ID of the user who created it.

For example, retail_samples_20160504_161133_administrator.zip. To specify an alternative format for CM zip file names, select a template from the Name format of Zip export files (IBI_CM_ZIP_FILE_FORMAT) setting, which is found on the Change Management page of the Configuration tab in the Administration Console.

Including Collaborative Portals in a Change Management Package

The change management process, from scenario creation to final import, readily accommodates collaborative portals. All of the topics that describe how to create, export, download, upload, and import change management packages support those that include collaborative portals as well as basic portals. However, there are a few issues to keep in mind when including collaborative portals.

When selecting a collaborative portal:

When importing a collaborative portal:

Procedure: How to Create a Scenario Using the Change Management Facility

If your browser blocks pop-up windows, disable this feature before you begin using the change management facility, to ensure that you are able to see the dialog boxes that open during this procedure.

  1. In the BI Portal Resources tree, expand the Change Management node.
  2. Right-click Export, and then click New Scenario, as shown in the following image.
    The shortcut menu from the Change Managmenet Node, Export branch, showing the commands New Scenario, Refresh and Security.
  3. In the New Scenario dialog box, type the scenario name, and then click OK.

    The Scenario dialog box opens, as shown in the following image.

    The With Rules check box is selected, by default. Clear it only if this change management package should not include all rules associated with the resources you select.

    Note: If you receive an alert in your browser stating that the pop-up window is blocked, reset your browser to allow all pop-up windows from this website, and try again.

  4. To include content that has been migrated from WebFOCUS 7.7 to WebFOCUS 8 or ReportCaster schedules created in WebFOCUS 7.7 that reference procedures through an internal handle in the change management package, select the Retain Handles check box.
  5. Right-click the , folder, or other resource you want to include, and:
    1. Click Select with Sub-Tree to include that folder and all subfolders in your selection.

      When selecting a collaborative portal that references external pages, you must also select the folder that contains the pages referenced by that portal, and then transfer them into the scenario by clicking the Select with Sub-Tree command.

    2. Click Select Folder Only to include the specific folder, with no content. Typically, this is done to move rules on the folder.
    3. You can also select resources by dragging them from the Resources tree and dropping them in the right pane. When you do so, the With Subtree check box is selected, by default, and you must clear it if you wish to exclude subfolders and content from your selection.

    When your selection is complete, an entry for it appears in the right pane, and a strikethrough line appears on the entry under the Resources tree.

    • If you select a private resource, the With Private Content check box is automatically selected and cannot be cleared.
    • If you select private content, it will only be imported if the owner of that private content already exists in the target environment.
    • If you select a published folder, you can include private content within it by selecting the With Private Content check box for that resource. This selection exports all of the private content in that folder and its subfolders, including those My Content folders that are assigned to individual users, even if you do not have the privileges necessary to view that private content.
    • If you select a subfolder without a parent folder, the Import process will recreate the parent folder in the target environment. A connection to the same metadata must exist within the target environment as well as the source environment.
    • When selecting a collaborative portal and pages that reference external content, be sure to include that content in the change management package.
    • If the rules on the source and target environments are different, users may have access to private content in the source environment, but be denied access in the target environment. This occurs if users have access to the published folder that contains the private content in the source environment, but do not have it in the target environment.
  6. Repeat the previous step for any additional resources you want to include in the change management scenario.
  7. When you have selected all resources, click Save.

    An entry for the new scenario appears beneath the Export node.

    If the new scenario does not appear, right-click the Export node, and then click Refresh.

    To export the change management scenario using command line scripts, navigate to the following location and double-click one of the following commands:

    WebFOCUS82/utilities/cm/cm_export.bat
    WebFOCUS82/utilities/cm/cm_export.sh

Procedure: How to Transfer an Individual Collaborative Portal Page Using the Change Management Interface

You can use the Change Management Interface to transfer a page created for a collaborative portal in one environment to another environment where the same collaborative portal already exists. This procedure applies only to pages created for collaborative portals. It does not apply to pages created for basic portals.

  1. In the BI Portal Resources tree, expand the Change Management node.
  2. Right-click Export, and then click New Scenario, as shown in the following image.
    The shortcut menu from the Change Managmenet Node, Export branch, showing the commands New Scenario, Refresh and Security.
  3. In the New Scenario dialog box, type the scenario name, and then click OK.

    The Scenario dialog box opens, as shown in the following image.

    The With Rules check box is selected, by default. Clear it only if this change management package should not include all rules associated with the resources you select.

    Note: If you receive an alert in your browser stating that the pop-up window is blocked, reset your browser to allow all pop-up windows from this website, and try again.

  4. Right-click the collaborative portal page that you want to transfer to the new environment, and then click Select with Sub-Tree.
  5. Click Save.

    An entry for the new scenario appears beneath the Export node.

    If the new scenario does not appear, right-click the Export node, and then click Refresh.

  6. Complete the transfer of the change management package as described in the remaining topics.

Procedure: How to Export a Saved Change Management Scenario Using the Change Management Facility

Before you can export a change management scenario, you must make sure that you have saved it. You cannot export an unsaved change management scenario.

  1. In the Change Management Scenario dialog box Quick Access Toolbar, click Export.
  2. When the confirmation message opens, click OK.

    The new scenario appears in the Resources tree under the Change Management, Export node.

    If the new scenario does not appear, right-click the Export node, and then click Refresh.

Procedure: How to Download a Change Management Package Zip File

The export process saves a CM zip file to drive:\ibi\WebFOCUS82\cm\export. The download process takes that CM zip file, and downloads it to your local machine. You can then transfer the copy of that CM zip file to another WebFOCUS environment for use as a change management package.

  1. In the BI Portal Resources tree, expand the Change Management node.
  2. Expand the Export node.
  3. Right-click the CM zip file you want to download, and then click Download, as shown in the following image.
  4. Save the CM zip file to an external location as directed by your browser.

Reference: Understanding Change Management Export Options

The following export options are available from the Scenario Creation dialog box:

With Rules. Unselected, by default. When selected, this applies to the entire scenario and exports all rules associated with all of the selected resources. This will include all of the security components of those rules (groups, roles, and potentially users, if the subject of a rule). For example, if a single published folder of Sales is selected and there are rules on that folder for the subject of Sales/Dev Group, that particular folder of Sales will be exported, as well as all the constituent components of the rules on that folder and its subfolders.

Retain Handles. This option is necessary when you want to move content, such as content that has been migrated from WebFOCUS 7.7 to WebFOCUS 8, and ReportCaster schedules, using change management. When selected, this option specifies that the change management package uses the hrefs from WebFOCUS 7.7 as handles in WebFOCUS 8. It also ensures that ReportCaster schedules that were created in WebFOCUS 7.7, which reference procedures through the internal handle, continue to work. This allows the earlier code for -INCLUDEs and drill downs to continue to work with the WebFOCUS 7.7 syntax. ReportCaster schedules created in WebFOCUS 8 use the IBFS location of the Schedule object instead of the Handle and do not need the Retain Handles feature.

The default value for Retain Handles is specified by the Retain Handles (IBI_CM_Retain_Handles) setting.

The following types of resources can be moved:

  • Any folder or item from the /WFC/Repository or what is shown in the user interface as Content, including procedures (FOCEXECs), style sheets, images, HTML files, Schedules, Access Lists, and Distribution Lists (no Library Content).
  • Any group or subgroup. Note that moving a group does NOT move user/group membership, and a subgroup can be moved without moving its parents.
  • Any application or specific files from the node on the tree. The File Types Included in Export Package (IBI_CM_EXPORT_WFRS_FILE_EXTENSIONS) setting specifies which server content is visible and can therefore be exported. This value can be updated to add file extensions that are not included in the default list. The setting is intended only for application content, and not large data files, for performance reasons. If you need to move large data files, it is recommended that you do this by copying the files over from your source to target environment.
  • Business Intelligence Portals.
  • ReportCaster Library content is NOT moved.

Procedure: How to Upload a Change Management Package Zip File

The zip file upload process saves a copy of a CM zip file stored on your local machine to the change management import directory on the server, drive:\ibi\WebFOCUS\cm\import. You can then import the copy of that CM zip file to WebFOCUS.

  1. In the BI Portal Resources tree, expand the Change Management node, right-click Import, and then click Upload a Zip File.
  2. In the Upload a Zip File dialog box, click Browse, navigate to the location where you have saved the change management package, click the CM zip file you want to upload, and then click Open.
  3. Ensure that the correct CM zip file appears in the File to Upload field, and decide whether or not to import files from the package as published or unpublished files.
    • To establish the contents taken from the CM zip file as published after the upload is complete, select the Publish Documents check box. This is the default setting.
    • To establish the contents taken from the CM zip file as private after the upload is complete, clear the Publish Documents check box.
  4. Click Upload.

    A confirmation dialog box opens. Click OK to complete the upload.

  5. In the Upload a Zip File dialog box, click Close.

    If an entry for the new CM zip file does not appear below the Import node, right-click it, and then click Refresh.

Procedure: How to Import a Change Management Package Using the Change Management Import Facility

  1. In the BI Portal Resources tree, expand the Change Management node, and then expand the Import node.

    If the CM zip file you want to import is not visible, right-click the node, and then click Refresh.

  2. Right-click the CM Zip file you want to import, and then click Import.

    The Import Package dialog box opens, as shown in the following image.

  3. In the Content Resources group, accept the default selection, Add New Resource Only (do not replace), to limit the change management import to new content resources.

    or

    Click Add New and Update Existing Resources, to enable the change management import to include updates to existing content resources as well as new content resources.

  4. In the Security Resources group:
    1. Select the Roles check box to include Roles in the Change Management Import package.
    2. Select the Groups check box to include groups in the Change Management Import package.
    3. Select the Users check box to include the individual users in the Change Management Import package.

      For each security resource, accept the default selection, Add New, to limit the Change Management Import to new security resources.

      or

      Click Add/Replace, to enable the Change Management Import to include updates to existing security resources as well as new security resources.

    4. Select the Rules on Resources check box to include any new rules assigned to the security resources included in the Change Management Import package.
  5. When the configuration is complete, click OK.

    The import process loads content from the change management package into the folders that match the name and spelling of the corresponding folders in the old environment. If the resources in the change management package are assigned to the same folders and locations as in the existing environment, there are no visible changes.

Understanding Change Management Import Options

The following import options are available from the Import Package dialog box:

Content Resources

Options in this group define the scope of content resources included in the Change Management Import. Content resources include , portals, reports, charts, and other features located under the node and the Portals node of the Resources tree.

Add New Resource Only (do not replace). This option limits the import to content resources in the Change Management package that do not already exist in the target environment. The import process assigns the date and time of the import to the Created On and Last Modified On fields of all new content resources created as a result of the import. To view the Created On and Last Modified On fields, right-click an item and click Properties.

Resources in the change management package that already exist in the target environment are not included in the import. As a result, the resources in the target environment are not affected by the import, and the import does not update the value assigned to the Last Modified On field.

Add New and Update Existing Resources. This option permits the import to add new resources to the target environment and update existing resources. The import process assigns the date and time of the import to the Created On and Last Modified On fields of all new content resources created as a result of the import. The import also assigns the date and time of the import to the Last Modified on field of all existing items updated by the import, but retains the original values in the Created On field.

Security Resources

Options in this group specify the actions to take if the change management package includes the security resources Roles, Groups, or Users. A change management package includes a security resource if it is selected explicitly, or if the Selecting With Rules check box is selected for another type of resource.

Roles. Groups of user privileges. When included in a Change Management Import package, they add to or update the list of roles maintained in the repository and visible in the Security Center on the Roles tab.

Groups. Collections of users or subgroups that require similar capabilities or access to the same resources. When included in a change management Import package, they add to or update the list of existing groups maintained in the repository and visible in the Security Center on the Users & Groups tab.

Users. Those individuals who have access to WebFOCUS. When included in a change management package, they add to or update the list of existing users maintained in the repository and visible in the Security Center on the Users & Groups tab.

For each of the Security resource categories, there are two options governing the scope of the import:

Import Rules On Resources. This option specifies whether rules are imported from the current change management package, and is only relevant if the package contains exported rules.

As long as none of the security resource options are selected, the rules are imported using the components of the rules that exist in the target environment.

For example, if you select Add New Resources Only (do not replace) and Import Rules On Resources, the only rules that will be imported are the rules where all the components (groups, roles, and, if necessary, users) exist in the target environment.

If you select Add New Resources Only (do not replace) and Import Rules On Resources, and then select Roles (Add New), the resources selected and the rules on those resources will be imported. In this case, the roles will be added only if they do not exist in the target environment and other components of the rules do exist in the target environment.


WebFOCUS