4.3 Apply Automatic Updates to Select Session Document Files

You can use the SettingsUpdate feature to apply updates only to sessions that you configure to receive them by referencing a update file.

Referenced update files apply settings only to session document files that reference them. These files have no special naming requirements and have an .xxxxu extension. They are typically placed on a server but can also be placed in a local folder, such as a public documents folder on a user machine.

You might choose to use referenced update files when:

  • You know you will need to periodically update settings in sessions that you have deployed.

  • You want to update settings only for session documents that you deploy. (You don’t need to update settings in session document files that users create.)

  • You know that users often customize settings in sessions after you deploy them and you don’t want to write over their session document settings, such as screen colors.

When Reflection opens a session document file that references an update file, it changes the session settings to match those specified in the update file.

For example, you could create a 3270 update file that has only the settings you need to modify and then place it on a server as shown below. Then add a reference to each session document file you want to update before deploying the files.

When users open one of these 3270 sessions, the settings in the update file are applied. None of the other settings in the users’ session files are changed. Only the session files you reference are updated. You can periodically update session settings by changing the update file on the server.

4.3.1 Setting up referenced update files

Use the following process to set up a referenced update file and the session documents that reference it.

Step One: Unlock access for saving update files

Step two: Create an update file and save it on a share

Step Three: Add the referenced update settings file location to the trusted locations list

Step Four: Create a session document file that references the update file

Step Five: Deploy the trusted location and session document files

Step One: Unlock access for saving update files

Before you create a update file that you can apply to sessions, you’ll need to unlock the access settings that allow you to save it. You can unlock these settings with Permissions manager as follows or using Group Policy as shown in To unlock access for saving update files with Group Policy.

To unlock access for saving update files with Permissions Manager

The following instructions show how to use Permissions Manager to unlock access for saving update files.

  1. On a workstation on which you have installed Reflection, log on as administrator and in the Reflection Desktop install folder The default on English language systems is C:\Program Files (x86)\Micro Focus\Reflection on 64-bit systems and C:\Program Files\Micro Focus\Reflection on 32-bit systems. , run AccessConfig.exe.

  2. When prompted to create a new permission file, or edit an existing one, choose Create new permission file.

  3. When prompted with a list of access file templates, select the .access option for the terminal for which you want to create the update file.

  4. In the Groups panel, click Next.

  5. In the Additional Security options panel, select User can create session update files and click Next.

  6. Click Finish to save the file in the default folder.

  7. Repeat these steps for each type of terminal that you want to create an update for.

Step two: Create an update file and save it on a share

You’ll need to create an update file and deploy it to a location that can be accessed by session document files. This is typically a server share but you can also use a public folder on a user workstation.

To create a update file that can be referenced from session document files

  1. On the File menu, choose New.

    NOTE:All the settings you configure that are different from the default settings or are not part of the default settings are included in the update. This includes connection settings such as the host address.

  2. In the Create New Document window, select the terminal for the sessions you want to update and click Create.

  3. In the Create New Terminal Document dialog box, select Configure additional settings and click OK. (Do not enter the host name unless you want to include it as part of the update.)

  4. In the Settings window, click OK.

  5. If prompted for a host name or IP Address, click Cancel.

  6. Configure the settings you want to change on user desktops.

  7. On the File menu, choose Save As, name the file and then, in the Save as Type list, select an Encrypted Session Update file extension and save the file.

    NOTE:Unlike the special name of an update file that is deployed to the user data directory, you can use any file name for an update file that is referenced by session document files.

    You can create update files only by saving the file from the Reflection Desktop interface. You cannot create an update file by renaming a session file.

    To prevent file tampering, update files can be saved only as encrypted session update files.

  8. Save the file on a network share or deploy it to a shared location on user workstations.

Step Three: Add the referenced update settings file location to the trusted locations list

Set the location of the referenced update settings file as a trusted location. If you are using a server, specify that network locations can be used.

To add the update settings file location to the trusted locations list

  1. On the workspace File menu, select Reflection Workspace Settings.

  2. In the Reflection Workspace Settings window, select Specify Trusted Locations.

  3. In the Specify Trusted Locations dialog box, add the new location for the update file to the path list. (Be sure to use a UNC path to specify a location on a network share.)

  4. If you are saving the update settings file on a network share, select Allow trusted locations on my network.

Step Four: Create a session document file that references the update file

Add a reference to the update file in each session document file you want to update.

To configure a session document file to reference an update file

NOTE:You’ll need administrative access to perform this procedure.

  1. Open the session document file you want to receive updates.

  2. On the Quick Access toolbar, click the Document Settings button .

  3. On the Settings window breadcrumbs, select Session Update Settings.

  4. In the Session Update Settings window, click Set Up Session Update Settings.

  5. Select Change currently disabled settings and then enter the path to the update file you placed on the server. Be sure to use a Universal Naming Convention (UNC) path to identify the server.

  6. To automatically save the session file after updates are applied, select Save changes after applying changes.

Step Five: Deploy the trusted location and session document files

Deploy the workspace settings trusted location and the session document files you have configured to receive updates.

Deploy the trusted location settings and session document files to users

  1. Create an MSI companion installer package that includes the session files you configured as shown in Walkthrough: Create a Package with the Installation Customization Tool.

  2. Add the file that contains the trusted locations you configured to the MSI companion installer package or create a new package to deploy these settings.

    You can add the Application.settings file that contains the settings you configured earlier to the MSI companion file package. See Package Sessions and Custom Settings Files and Customized Files that Must be Deployed to Specific Locations to make sure you deploy this file to the right location.

    or

    You can create a workspace Update.settings file that changes only these trusted location settings as shown in Update Only Specific Workspace Settings.

  3. Deploy the MSI package as shown in Deploy Companion MSI File from MSI Command Line.