Build 5008 Updatespublic.dhe.ibm.com/software/commerce/doc/sfg/v2r0/SFG20... · 2013-05-29 ·...

42
Sterling File Gateway Build 5008 Updates Version 2.0 Build 5008

Transcript of Build 5008 Updatespublic.dhe.ibm.com/software/commerce/doc/sfg/v2r0/SFG20... · 2013-05-29 ·...

Page 1: Build 5008 Updatespublic.dhe.ibm.com/software/commerce/doc/sfg/v2r0/SFG20... · 2013-05-29 · What's New in Build 5008 New in This Release The following enhancements are included

Sterling File Gateway

Build 5008 UpdatesVersion 2.0 Build 5008

Page 2: Build 5008 Updatespublic.dhe.ibm.com/software/commerce/doc/sfg/v2r0/SFG20... · 2013-05-29 · What's New in Build 5008 New in This Release The following enhancements are included

Contents

What's New in Build 5008.........................................................................................................................3

System Admin.............................................................................................................................................6Create User Accounts (Build 5008 or Later).............................................................................................................................6Add Custom Tabs to myFileGateway (Build 5008 and Later)..................................................................................................8About Permissions (Build 5008 or Later).................................................................................................................................9User Interface Access (Build 5008 and Later)........................................................................................................................10Assign Custom Permissions to Partners (Build 5008 and Later)............................................................................................12Rebrand Sterling File Gateway and myFileGateway (Build 5008 or later)............................................................................12filegateway.properties (Build 5008 and Later)........................................................................................................................16filegateway_ui.properties (Build 5008 and Later)...................................................................................................................17filegateway_protocol.properties..............................................................................................................................................19About Event Codes (Build 5008 and Later)............................................................................................................................20Sterling File Gateway: Specific Recommendations Checklist................................................................................................23About Shared and Linked Mailboxes (Build 5008 or Later)...................................................................................................27Set Up HTTPS for myFileGateway.........................................................................................................................................27Deploy myFileGateway within an <iFrame> HTML Element (Build 5008 and Later)..........................................................29Improve Loading Time for myFileGateway............................................................................................................................30Add Custom Protocols.............................................................................................................................................................31

Integration Architect...............................................................................................................................32About Delivery Channels (Build 5008 or Later).....................................................................................................................32Create a Routing Channel Template (Build 5008 or Later) ....................................................................................................33Create a Broadcast Routing Channel Template (Build 5008 and Later).................................................................................35Broadcast Messages Using Shared Mailboxes (Build 5008 or Later).....................................................................................36

Route Provisioner.....................................................................................................................................38Create a Broadcast Routing Channel (Build 5008 or Later)...................................................................................................38

Operator....................................................................................................................................................39Troubleshoot and Resolve Problems with Broadcast File Transfer (Build 5008 or Later).....................................................39Prevent Failed PGP Routes......................................................................................................................................................39

myFileGateway.........................................................................................................................................40Access myFileGateway...........................................................................................................................................................40Send a File Using myFileGateway (Build 5008 or Later).......................................................................................................40Retrieve a File Using myFileGateway (Build 5008 or Later).................................................................................................41

Build 5008 Updates2

Page 3: Build 5008 Updatespublic.dhe.ibm.com/software/commerce/doc/sfg/v2r0/SFG20... · 2013-05-29 · What's New in Build 5008 New in This Release The following enhancements are included

What's New in Build 5008

New in This Release

The following enhancements are included in this release:

Increased Customization and New Features for myFileGateway

• Extension to myFileGateway enabling custom tabs for access to custom functionality controlled by custompermissions.

• Support for displaying myFileGateway within an HTML iframe element. See Deploy myFileGateway withinan <iFrame> HTML Element.

• File upload transfer pop up prevents users from other activity during the file transfer• File transfer continues in background if session times out• Rebranding for log in page• Ability to disable hover help

Broadcast File Transfers

• Multi-consumer broadcast. See Create a Broadcast Routing Channel Template, Create a Broadcast RoutingChannel, and Broadcast Messages Using Shared Mailboxes.

• Broadcast using shared mailboxes

Improved Control over User Permissions

• Specific permissions can be assigned to user groups or partner users to control which tabs of myFileGatewaycan be accessed and which functionality is available. See About Permissions.

• New permissions to control whether the user name is displayed on the web page, and whether the logoutURL is displayed on the web page. See About Permissions.

• New tabs can be defined and specified in customer_overrides.properties. See Add Custom Tabs tomyFileGateway and Assign Custom Permissions to Partners, filegateway_ui.properties.

• Permissions can be managed to control whether partner users are automatically given access to mailboxescreated as a result of routing channels. See filegateway.properties.

Other Enhancements

• Delivery channel option to avoid duplicate transfers with FTP push. See About Delivery Channels and Createa Routing Channel Template.

New Properties in filegateway.properties

3© Copyright IBM Corp. 2013

Page 4: Build 5008 Updatespublic.dhe.ibm.com/software/commerce/doc/sfg/v2r0/SFG20... · 2013-05-29 · What's New in Build 5008 New in This Release The following enhancements are included

DescriptionProperty

Maximum allowed size of the consumer list. If the business process returnsa list larger than this size, the engine will fail the arrived file without routing

fgmaxBroadcastListSize

to any consumers. By default, the maximum size of a broadcast list is set to100.

Controls permissions granted to intermediate mailboxes. Intermediatemailboxes are those between a partner user's virtual root and the leaf mailbox.

grantIntermediate

MailboxPermissionsThese mailboxes are created by Sterling File Gateway during either routingchannel creation or dynamic routing. Setting this property to true grants View& Execute rights to the intermediate mailboxes to eligible partner users.Viewrights are required to list mailbox contents. Execute rights are required to ‘login' to a mailbox. Setting both rights allows users of the FTP and SFTP protocoladapters to traverse through any intermediate mailboxes to reach the leaf.The default is false.

For example:

grantIntermediateMailboxPermissions=false

New Properties in filegateway_ui.properties

DescriptionProperty

The name of the JavaScript that defines a custom functionality for tabs inmyFileGateway.You can list several .js files by incrementing the final x. Thevalue is in the format:

myfilegateway.extension_js_file_1=CustomFunc1.js

myfilegateway.extension_js_file_x

myfilegateway.extension_js_file_2=CustomFunc2.jswhere CustomFunc = name of the .js file

For example:

Contains a comma separated list of resource indentifiers that define additionalpermissions.When setting permissions for users that access myFileGateway,

myfilegateway.extension_tab_resource_ids

assign myfilegateway.extension_tab_resource_ids for a custom tabs.Whenyou create a custom tab, you can also create a new permission to controlwhether a user can view that tab. Only new and custom tab permissions arelisted in this property.

Note: Users must have permissions to at least one tab, either the standardupload, download, file activity, or reports tab, or one of the permissions createdfor a custom tab.

Documentation Enhancements

The following enhancements are available in System Admin documentation:

• Create User Accounts - inclusion of initial log in user IDs and passwords, clarification of restrictions forcreating System Administrators.

• Rebrand Sterling File Gateway and myFileGateway - additional instructions for greater customization andclean up of files.

Build 5008 Updates4

Page 5: Build 5008 Updatespublic.dhe.ibm.com/software/commerce/doc/sfg/v2r0/SFG20... · 2013-05-29 · What's New in Build 5008 New in This Release The following enhancements are included

• filegateway_protocol.properties - provides details about enabling or disabling protocols for search criteria.• Sterling File Gateway: Specific Recommendations Checklist - recommendation for persistence settings for

business processes for translation layers and custom consumer identification. Clarification that number ofthreads for processes is not limited by licensing.

• Improve Loading Time for myFileGateway Partners - suggestions for externalizing your static skin imagesto a hosting server closer to your users.

• Add Custom Protocols - clarification of restriction on business process names for implementing customprotocols

The following enhancements are available in Operator documentation:

• Troubleshoot and Resolve Problems with Broadcast File Transfer• Prevent Failed PGP Routes

Sterling Integrator Enhancements

• Support for Shared and Linked Mailboxes. See About Shared and Linked Mailboxes and Broadcast MessagesUsing Shared or Linked Mailboxes.

5© Copyright IBM Corp. 2013

Page 6: Build 5008 Updatespublic.dhe.ibm.com/software/commerce/doc/sfg/v2r0/SFG20... · 2013-05-29 · What's New in Build 5008 New in This Release The following enhancements are included

System Admin

Create User Accounts (Build 5008 or Later)

When you install Sterling File Gateway, several default accounts are automatically created to get you started.You can use the default accounts to perform the tutorial described in the Overview.

One of the first actions you must take is to create your own accounts with unique IDs and passwords, becausethe default ones can be known by all Sterling File Gateway customers. Log in to Sterling File Gateway withthe following credentials:

• User ID = fg_sysadmin• Password = password

To create a user account:

1. From Sterling File Gateway, select Tools > B2B Console.

2. From within Sterling Integrator, Select Accounts > User Accounts > Create a new Account.

3. Complete the steps in the wizard.

Supply the following information about the user:

• Authentication type (Local or external)• User ID - by default, the User ID must be at least five characters. To enable shorter or require longer User

IDs, modify the following property in customer_overrides.properties:

filegateway_ui.userIdMinLength.ui=(# of characters)

The value of # of characters must be greater than zero. This value must match the value set in in ui.propertiesin Sterling Integrator.

• Password• Confirm Password• Policy - choose from:

• [blank] (default)• Default User Policy - For the default user policy, the password must be at least six characters and is

required to contain at least two of the following characters. (numeral, capital letter, !, @, #, $, %, ^, &,*)

Build 5008 Updates6

Page 7: Build 5008 Updatespublic.dhe.ibm.com/software/commerce/doc/sfg/v2r0/SFG20... · 2013-05-29 · What's New in Build 5008 New in This Release The following enhancements are included

• You can create a different policy for your system. Create the policy in Sterling Integrator first, thenselect it from the list when you create a user.

• SSH Authorized User Key• Session Timeout (in minutes)• Accessibility• Dashboard Theme

4. Select one or more groups from the following list:

• File Gateway Integration Architects - can only access Sterling File Gateway, not myFileGateway• File Gateway Operators - can only access Sterling File Gateway, not myFileGateway• File Gateway Partner Users - can only access myFileGateway• File Gateway Route Provisioners - can only access Sterling File Gateway, not myFileGateway• File Gateway System Administrators - can only access Sterling File Gateway, not myFileGateway

Note: For full Sterling File Gateway functionality, each of these groups must have at least one user. Bydefault, the following users are created during installation of Sterling File Gateway:

• fg_sysadmin - belongs to all File Gateway groups except File Gateway Partner Users. Also belongs toSterling Integrator Admin group.

• fg_architect - belongs to File Gateway Integration Architects group• fg_provisioner - belongs to File Gateway Route Provisioners group• fg_operator - belongs to File Gateway Operators group

A user can belong to multiple groups, but cannot belong to File Gateway Partner Users group while amember of any other administrative group.

Note: To protect the security of your system, change the default passwords.

Note: To create an independent user that is the equivalent of fg_sysadmin, assign the Sterling IntegratorAdmin group and all File Gateway groups except File Gateway Partner Users group to that user. Ensurethat the user is not associated with any Identity (partner) that belongs to the "All Partners" group in SterlingFile Gateway. Membership in a partner group prevents log in to Sterling File Gateway as an administrator.

5. Select the permissions for the user. (Optional.) The group assignments include the standard permissionsfor users of each group.

6. Supply the following information for the user:

• First Name• Last Name• E-mail• Pager• Preferred Language (English, Japanese)• Manager ID• Identity

7. Review and confirm to create the new user account.

7© Copyright IBM Corp. 2013

Page 8: Build 5008 Updatespublic.dhe.ibm.com/software/commerce/doc/sfg/v2r0/SFG20... · 2013-05-29 · What's New in Build 5008 New in This Release The following enhancements are included

Add Custom Tabs to myFileGateway (Build 5008 and Later)

System Administrators can create new tabs for additional functionality in myFileGateway by:

• Define some custom functionality in a new file JavaScript file.• Reference your JavaScript file by setting the property:• myfilegateway.extension_js_file_x=customTabCode.js

• Control availability for the extensible elements using permissions created in:

myfilegateway.extension_tab_resource_ids

Example Custom Tab

One example of a custom tab you can add to myFileGateway is a Welcome Tab.

To create a new Welcome Tab in myFileGateway:

1. Create a new permission for accessing your new custom tab within myFileGateway. From the B2B Console,select Accounts > Permissions. Create a new permission with Permission Type=File Gateway.

Make note of the PERMISSION_ID you create, as it will be used in the JavaScript file in the next step (forexample, MYFG_WELCOME).

2. Assign the custom tab permission you created to a group. Select Accounts > Groups. Create a group andassign the permission you created in step 1.

3. Navigate to the directory <install_dir>/container/Applications/myFileGateway.4. Create a new directory. For example, "welcomepage".

a. Inside this new directory, create a new JavaScript (*.js) file (for example, "welcomepage.js". Copy andpaste the following JavaScript into this file:

var WelcomePage = function() { var createWelcomeLayout = function() { return isc.VLayout.create({ name:"myFgWelcome_Layout ", autoDraw:false, showEdges:false, backgroundColor:"#FFFFFF", members:[ isc.Label.create({ contents:"<b>Welcome to the myFileGateway upload and download application.</b><br>", icon:"[SKIN]/FGimages/FileTxfr_23.png", iconHeight:23, iconWidth:44, padding:5, height:1, width:400 }) ] }); }; var welcomeTab = {

Build 5008 Updates8

Page 9: Build 5008 Updatespublic.dhe.ibm.com/software/commerce/doc/sfg/v2r0/SFG20... · 2013-05-29 · What's New in Build 5008 New in This Release The following enhancements are included

ID:"WelcomeTab", title:"Welcome", prompt:"Welcome", permission:" MYFG_LOGIN ", initTab: function() { this.pane = createWelcomeLayout(); } } this.welcomeTab = welcomeTab;}com.sc.fg.welcomePage = new WelcomePage();MyFileGatewayManager.addTab(com.sc.fg.welcomePage.welcomeTab);

b. Create or edit customer_overrides.properties to reference your new JavaScript file and location URL.For example:

filegateway_ui.myfilegateway.extension_js_file_1= /myfilegateway/welcomepage/welcomepage.js

5. Before saving the file, locate in the JavaScript source code the “permission” attribute for the tab control.Change the permission name in this example script to the PERMISSION_ID used when creating thepermission. (that is, change MYFG_LOGIN to MYFG_WELCOME)

6. Edit the security_filter.properties file under container/Applications/myfilegateway/WEB-INF/classes. Adda new entry for your new JavaScript file (welcomepage.js). For example:

loginjsXX=/${WEBAPP_CONTEXT_NAME}/welcomepage/welcomepage.js

where XX is a unique identifier.7. Navigate to <install_dir>/bin.8. Run the following scripts:

• <install_dir>/bin/hardstop.sh• <install_dir>/bin/deployer.sh• <install_dir>/bin/run.sh

9. After the deployer is complete, stop and restart Sterling File Gateway.10. Log in to myFileGateway to verify your custom tab is visible.

About Permissions (Build 5008 or Later)

The permissions that control access to the pages of myFileGateway are:

• myFileGateway Login• myFileGateway Logout• myFileGateway User Name (whether the user name is displayed on the pages)• myFileGateway File Activity• myFileGateway Reports• myFileGateway Change Password• myFileGateway Help• Custom permissions created by System Administrators

9© Copyright IBM Corp. 2013

Page 10: Build 5008 Updatespublic.dhe.ibm.com/software/commerce/doc/sfg/v2r0/SFG20... · 2013-05-29 · What's New in Build 5008 New in This Release The following enhancements are included

• myFileGateway Event Subscription

Note: Partner users with the Event Subscription permission may receive notifications for events they havesubscribed to, even if they do not have File Activity permission.

The Event Subscription permission only affects a user's ability to view and modify their subscriptions toevents. If the Event Subscription permission is removed from a user or group, the user or members of thegroup will continue to receive notifications for any events already subscribed to, but cannot subscribe toadditional events.

The File Gateway Partner Users group is assigned all of the available permissions, which means that all availablepages of myFileGateway are displayed for partner users assigned to the File Gateway Partner Users group. Tolimit partners to fewer permissions, create a new group and assign only the desired permissions. See AboutUser Groups and Partner Groups.

Do not modify the File Gateway Partner Users group, because your changes may be overwritten when laterbuilds are applied.

Other Permissions

The permissions used in Sterling File Gateway are:

• File Gateway Auto-grant Mailbox Permissions• File Gateway Producer Proxy

The File Gateway Partner Users group is assigned the File Gateway Auto-grant Mailbox Permissions, whichindicates to the system whether to configure mailbox permissions automatically. With this permission, partnerusers are automatically assigned permission to mailboxes created as a result of File Gateway routing channels.File Gateway Producer Proxy is for system use only.

User Interface Access (Build 5008 and Later)Access to each page of the user interface is authorized based on permission groups assigned when the user iscreated.

The following table describes which screens and functions each persona can access:

PartnerOperatorRouteProvisioner

IntegrationArchitect

System AdminPage

No access to

/filegateway.

(Default page.) Cansearch and viewdetails and links todetails in B2B

Can search andview events, butcannot viewlinked details.

Can search andview events, butcannot viewlinked details.

(Default page.)Can search andview details andlinks to details in

Routes > Activity

Console. Can markCan mark routesCan mark routesB2B Console.routes as reviewedas reviewed oras reviewed orCan markor not reviewed.not reviewed.not reviewed.routes asCan replay andredeliver.

Cannot replay orredeliver.

Cannot replay orredeliver.

reviewed or notreviewed. Canreplay andredeliver.

No access to

/filegateway.

No access.(Default page.)Can view andedit.

No access.Can view andedit.

Routes > Channels

Build 5008 Updates10

Page 11: Build 5008 Updatespublic.dhe.ibm.com/software/commerce/doc/sfg/v2r0/SFG20... · 2013-05-29 · What's New in Build 5008 New in This Release The following enhancements are included

PartnerOperatorRouteProvisioner

IntegrationArchitect

System AdminPage

No access to

/filegateway.

No access.No access.(Default page.)Can view andedit.

Can view andedit.

Routes > Templates

No access to

/filegateway.

Can view and edit.Can view andedit.

Can view andedit.

Can view andedit.

Participants >Groups

No access to

/filegateway.

Can view and edit.Can view andedit.

Can view andedit.

Can view andedit.

Participants >Partners

No access to

/filegateway.

Can view and edit.Can view andedit.

Can view andedit.

Can view andedit.

Participants >Communities

No access to

/filegateway.

Can view and edit.Can view andedit.

Can view andedit.

Can view andedit.

Tools > Reports

No access to

/filegateway.

Can view and getevents andcomplete details.

Can view and getevents, but notdetails.

Can view and getevents, but notdetails.

Can view andget events andcompletedetails.

Tools > ActivitySnapshot

No access to

/filegateway.

Can view and editBusinessProcesses andOperations menus,

Can only viewand edit Accounts> My Account.

Can only viewand editAccounts > MyAccount.

Can view andedit completeAdmin menu.

Tools > B2BConsole

and Accounts > MyAccount.

No access to

/filegateway.

Complete accessto all logs.

No access.No access.Completeaccess to alllogs.

Tools > Logs

No access to

/filegateway.

Can subscribe anddelete.

Can subscribeand delete.

Can subscribeand delete.

Can subscribeand delete.

Profile >Notifications

No access to

/filegateway.

Can change ownpassword, unlessexternal user.

Can change ownpassword, unlessexternal user.

Can change ownpassword, unlessexternal user.

Can changeown password,unless externaluser. Can

Profile > Password

change otheruserspasswords.

(Default page.)Complete access to

No access.No access.No access.No access.myFileGateway

> Activitysearch, generate

> Upload Files reports, upload files,and download files

> Download Fileswhen Partner is

> Reports producer orconsumer. Can

> Profilesubscribe andunsubscribe tonotifications and canchange ownpassword.

11© Copyright IBM Corp. 2013

Page 12: Build 5008 Updatespublic.dhe.ibm.com/software/commerce/doc/sfg/v2r0/SFG20... · 2013-05-29 · What's New in Build 5008 New in This Release The following enhancements are included

PartnerOperatorRouteProvisioner

IntegrationArchitect

System AdminPage

Custom configurationdefined infilegateway_ui.properties.

myFileGateway

> Custom Tab

Can only viewmyFileGateway Help,

Can view all Helplibraries.

Can view all Helplibraries.

Can view all Helplibraries.

Can view allHelp libraries.

Help

not the otherlibraries.

Assign Custom Permissions to Partners (Build 5008 and Later)

For partners who need access to custom tabs, or where you want to restrict access to certain tabs, you cancreate a group with custom permissions.

1. Select Tools > B2B Console > Groups > Create a Group.2. Name your group and click create.3. On the Assign Permissions tab, select the myfilegateway permissions you prefer including the custom

permissions you defined.4. Save the group.

Rebrand Sterling File Gateway and myFileGateway (Build 5008 or later)You can rebrand Sterling File Gateway and myFileGateway to use your company's logo or other special content.To customize the look of Sterling File Gateway and myFileGateway, you create a skin, reference this newskin, and restart your system. You can use the same or different skins for Sterling File Gateway andmyFileGateway.

The following figure shows the location of the portions of the screens you can rebrand:

Build 5008 Updates12

Page 13: Build 5008 Updatespublic.dhe.ibm.com/software/commerce/doc/sfg/v2r0/SFG20... · 2013-05-29 · What's New in Build 5008 New in This Release The following enhancements are included

The corresponding file names are:

• Header:

• [skin]/brandingcontent/header.txt• [skin]/brandingcontent/myFgHeader.txt• [skin]/load_skin.js• [skin]/images/FGimages/brandingimages/...

• Top Menu: [skin]/skin_styles.css• Central Panel:

• [skin]/skin_styles.css• [skin]/load_skin.js• [skin]/images/…

• Footer: [skin]/brandingcontent/footer.txt• [skin]brandingcontent/loginFooter.txt

To rebrand Sterling File Gateway:

1. Locate files in the following directories for the default skins:

<install_dir>/container/Applications/filegateway/isomorphic/skins/FileGateway

and

<install_dir>/container/Applications/myfilegateway/isomorphic/skins/FileGateway

2. Copy and rename the “FileGateway” directory in path:<install_dir>/container/Applications/filegateway/isomorphic/skins/FileGateway

You can use any valid directory name. In the next steps, the renamed directory is referred to as [skin].

3. To customize the header, you can change the following elements:

• Application Title• Background Image

13© Copyright IBM Corp. 2013

Page 14: Build 5008 Updatespublic.dhe.ibm.com/software/commerce/doc/sfg/v2r0/SFG20... · 2013-05-29 · What's New in Build 5008 New in This Release The following enhancements are included

• Corporate Logo• Position of the user name• HeaderALT

4. To change the Application Title:

a) Open the following file:

[skin]/brandingcontent/header.txt

b) Change line 15 to refer to your company name (padding-left: 15px" nowrap="nowrap">My Company</td>)

c) Open [skin]/brandingcontent/myFgHeader.txtd) Change line 15 to refer to your company name (or another name) (padding-left: 15px"

nowrap="nowrap">My Company</td> )

5. To change the browser title text, which appears up in the top left-hand side of the browser (if different fromApplication Title, mentioned in the graphic, above) set the variables:

• fgWindowTitle (for Sterling File Gateway)• myfgWindowTitle (for myFileGateway)

in customer_overrides.properties as

filegateway_ui.fgWindowTitle=xxx

and

filegateway_ui.myfgWindowTitle=xxx

6. To change the Background Image:

a) Create a new Background Image GIF image, 66 pixels high by 800 pixels wide and named“MastheadBkgd_Map.gif”

b) Place this GIF in the following directory:[skin]/images/FGimages/brandingimages/c) Open the following file: [skin]/brandingcontent/header.txtd) Change line 3 to refer to your skin’s directory where the background image (from step 5) is located

(isomorphic/skins/[skin]/images/FGimages/brandingimages/ MastheadBkgd_Map.gif)e) Open [skin]/brandingcontent/myFgHeader.txtf) Change line 3 to refer to your skin’s directory where the background image (from step 5a) is located

(isomorphic/skins/[skin]/images/FGimages/brandingimages/ MastheadBkgd_Map.gif)

7. To change the Corporate Logo:

a) Create a new Corporate Logo GIF image, which should be 66 pixels high by 93 pixels wide and named“hdr_logo.gif”

b) Place this GIF in the following directory:[skin]/images/FGimages/brandingimages/c) Open the following file: [skin]/brandingcontent/header.txtd) Change line 18 to refer to your skin’s directory where the corporate logo image (from step 6a) is located

(isomorphic/skins/[skin]/images/FGimages/brandingimages/ hdr_logo.gif)e) Open [skin]/brandingcontent/myFgHeader.txtf) Change line 18 to refer to your skin’s directory where the corporate logo image (from step 6a) is located

(isomorphic/skins/[skin]/images/FGimages/brandingimages/ hdr_logo.gif)

8. To change the position of the user name:

a) Open the following file:[skin]/load_skin.js

Build 5008 Updates14

Page 15: Build 5008 Updatespublic.dhe.ibm.com/software/commerce/doc/sfg/v2r0/SFG20... · 2013-05-29 · What's New in Build 5008 New in This Release The following enhancements are included

b) Change the two variables on Lines 14 and 15 to position the name label where you desire:

• headerUserNameTop (expressed in absolute pixels from the top)• headerUserNameLeft (expressed as a percentage of page width, from the left side)

9. To change the headerALT, which is displayed while the header is loading:

a) Open the following file:[skin]/load_skin.jsb) Change the variable on Line 13 (headerALT) to your company name (e.g. “My Company”).

10. To change the Log In page footer:

a) Open the following file: [skin]/brandingcontent/loginFooter.txtb) Modify the first line to refer to your company name as well as the link to your corporate Web site, if

desired: …href=http://www.MyCompany. com target =_blank>My Company

11. To change the footer for all pages after the Log In page:

a) Open the following file: [skin]/brandingcontent/footer.txtb) Modify the first line to refer to your company name as well as the link to your corporate Web site, if

desired: …href=’http://www.MyCompany.com’ target =’_blank’>My Company…

12. To suppress hover help:

a) Access the file [skin]/load_skin.jsb) Around Line 398, find the section titled "11) Hovers"c) Within this section, locate the conditional statement "if (isc.Hover) { ..."d) Modify the property "defaultWidth:200" to a value of 0 (that is, "defaultWidth:0")

13. To reference the new [skin], create or open customer_overrides.properties in a text editor. Add the followingline:

filegateway_ui.fgSkinName=[skin]

where [skin] is your new skin name for Sterling File Gateway and

filegateway_ui.myfgSkinName=[skin]

where [skin] is your new skin name for myFileGateway. The values for [skin] can be different for SterlingFile Gateway and myFileGateway.

14. Open the "load_skin.js" file in your new skin directory ([skin]/load_skin.js) and change the line in the"Specify skin directory" area:

isc.Page.setSkinDir([ISOMORPHIC]/skins/FileGateway/

to refer to your new skin's name:

isc.Page.setSkinDir([ISOMORPHIC]/skins/[skin]/

15. To change the header only for myFileGateway:

• Modify only the two files, header.txt and myFgHeader.txt in the new directoryat:(<install_dir>/container/Applications/myfilegateway/isomorphic/skins/[skin]/brandingcontent

16. Run the following scripts:

• <install_dir>/bin/hardstop.sh• <install_dir >/bin/deployer.sh• <install_dir >/bin/run.sh

15© Copyright IBM Corp. 2013

Page 16: Build 5008 Updatespublic.dhe.ibm.com/software/commerce/doc/sfg/v2r0/SFG20... · 2013-05-29 · What's New in Build 5008 New in This Release The following enhancements are included

17. If any branding files modified contain a matching .gz file (for example, "load_skin.js and load_skin.js.gz"),then the .gz file must be removed. Check the /install/noapp/deploy/myfilegateway/webapp or/install/noapp/deploy/filegateway/webapp directory to ensure your changes have been propagated asexpected.

18. Refresh your browser cache.

When you launch Sterling File Gateway, the new branding is shown in the header and footer. When yourPartner users launch myFileGateway, the new branding is shown in the header.

filegateway.properties (Build 5008 and Later)The filegateway.properties file contains properties which control the operation of Sterling File Gateway.

The following table describes properties in the filegateway.properties file:

Note: Do not edit the filegateway.properties file. Make all changes in the customer_overrides.properties file.For example, to change the pgpCmdline2svcname property, enter the following line intocustomer_overrides.properties:

filegateway.pgpCmdline2svcname=CUSTOM

substituting CUSTOM with the name of your Command Line 2 adapter.

DescriptionProperty

Setting a regex pattern for this will cause any arrived file that matches your regexpattern to be ignored by Sterling File Gateway. This is useful for recognizing and

ignoreFilename

ignoring temporary files sent by producers before they are renamed to the expectedname. These will not be routed and are not considered failures.

Note: The regex pattern must match the file name in its entirety. Partial matchesare not recognized.

The FTP Client Adapter instance or service group that the FileGatewayDeliverFTPbusiness process will use. Override this property in customer_overrides.properties

ftpClientAdapterName

if a custom FTP Client Adapter instance must be used to contact trading partners.You can also specify an adapter group name to load-balance outbound FTPsessions across multiple adapter instances. Default isftpClientAdapterName=FTPClientAdapter.

Timeouts and sleep intervals that control how long Sterling File Gateway waits forevery sub-business process it invokes.These control the timeouts when a business

bpCompletionProbes.1

bpCompletionSleepMsec.1process is executed synchronously during routing. Used for consumer identification

bpCompletionProbes.2 business processes and for PGP processing. Enables one set of relatively quickprobes followed by a second set of slower probes.The first set will be very reactive,

bpCompletionSleepMsec.2but consume more processor time. The second set will activate for longer-runningprocesses and will consume less processor time.

First probe 120 times with 100 Milliseconds between, for a total of 12 seconds.Default is bpCompletionProbes.1=120 and bpCompletionSleepMsec.1=100.

Then probe 600 times with 2000 Milliseconds between, for a total of 1200 seconds(20 minutes). Default is bpCompletionProbes.2=600 andbpCompletionSleepMsec.2=2000.

The name of the Command Line 2 adapter to be used for PGP packaging andunpackaging. Override this property in customer_overrides.properties if a custom

pgpCmdline2svcname

Command Line 2 adapter must be used for PGP operations.You can also specify

Build 5008 Updates16

Page 17: Build 5008 Updatespublic.dhe.ibm.com/software/commerce/doc/sfg/v2r0/SFG20... · 2013-05-29 · What's New in Build 5008 New in This Release The following enhancements are included

DescriptionProperty

an adapter group name to load-balance outbound PGP sessions across multipleadapter instances. Default is pgpCmdline2svcname=PGPCmdlineService.

Timeout value, in milliseconds, for PGP package and unpackage operations invokedby Sterling File Gateway. Default value is 240000 milliseconds (4 minutes)

fgRoutePGPCmdLineSocket Timeout

Limits the number of File Gateway services that can be running concurrently. Theservices are split into two groups, and each group has this value as a limit.

fgRouteConcurrentSessionLimit

Therefore, there will be a maximum of two times the value of this property servicesrunning. It is best to set this somewhat (but not too much) higher than the numberof business process threads in queues 4 and 6 (these are the queues where theFile Gateway Services run.) The default is 8. To change this value, use thecustomer_overrides.properties file to setfilegateway.fgRouteConcurrentSessionLimit=(# of limit).

The build number (version) of Sterling Integrator that Sterling File Gateway requires.this is checked at system start up. If the current verison of Sterling Integrator does

required_si_build_ver

not equal the required_si_build_ver, a warning is issued and the system is shutdown. Required.

Maximum allowed size of the consumer list. If the BP returns a list larger than thissize, the engine will fail the arrived file without routing to any consumers. By default,the maximum size of a broadcast list is set to 100.

fgmaxBroadcastListSize

Controls permissions granted to intermediate mailboxes. Intermediate mailboxesare those between a partner user’s virtual root and the leaf mailbox. These

grantIntermediateMailboxPermissions

mailboxes are created by Sterling File Gateway during either routing channelcreation or dynamic routing. Setting this property to true grants View & Executerights to the intermediate mailboxes to eligible partner users. View rights arerequired to list mailbox contents. Execute rights are required to ‘log in’ to a mailbox.Setting both rights allows users of the FTP and SFTP protocol adapters to traversethrough any intermediate mailboxes to reach the leaf. The default is false.

For example:

grantIntermediateMailboxPermissions=false

filegateway_ui.properties (Build 5008 and Later)

The filegateway_ui.properties file contains properties which control the location of the Help systems forSterling File Gateway and myFileGateway, as well as several other user interface settings.

The following table describes properties in the filegateway_ui.properties file:

Note: Do not edit the filegateway_ui.properties file. Make all changes in the customer_overrides.propertiesfile. For example, to change the URL for the Help system, enter the following line intocustomer_overrides.properties:

filegateway_ui.help.uri=http://CUSTOM

substituting CUSTOM with your preferred URL.

DescriptionProperty

Location of the reports templates.reportingdirectory

17© Copyright IBM Corp. 2013

Page 18: Build 5008 Updatespublic.dhe.ibm.com/software/commerce/doc/sfg/v2r0/SFG20... · 2013-05-29 · What's New in Build 5008 New in This Release The following enhancements are included

DescriptionProperty

Required. Do not modify or override.

Links to a dataflow in Sterling Integrator. Do not modify.dataflowurl

Limits the total number of routing channel records returned by asearch. Required. Default is 1000.You can change this to fine

fgMaxRoutingChannelRecords

tune performance by editing the customer_overrides.propertiesfile.

Storage type to use for new documents sent throughmyFileGateway. Possible values are:

myFgStoragetype

• default - use the system default• db - store documents in database• file - store documents in file system

To change this value, use the customer_overrides.properties file.For example to set it to database,filegateway_ui.myFgStoragetype=db. Default is default.

Limits the total number of Activity Records that will be returnedin activity search. This can be edited to fine tune performance.The default is:

fgMaxActivityRecords=1000

fgMaxActivityRecords

The title of the window that displays in the top browser bar forSterling File Gateway. Required. Default is Welcome to SterlingFile Gateway.

fgWindowTitle

The title of the window that displays in the top browser bar formyFileGateway. Default is Welcome to Sterling File Gateway.

myfgWindowTitle

The file that contains the branding information for Sterling FileGateway. Required. Default is FileGateway.

fgSkinName

The file that contains the branding information for myFileGateway.Required. Default is FileGateway.

myfgSkinName

The default session timeout in minutes for a Partner User createdusing the Sterling File Gateway onboarding.

fgOnboardingDefaultSessionTimeout

The default is:

fgOnboardingDefaultSessionTimeoutInMinutes=15

The group partner users are automatically assigned to when theyare created as a result of creating a partner in Sterling File

fgOnboardingDefaultUserGroupId

Gateway, migrated from AFT, or the partner's identity isassociated with a File Gateway partner group. Required. Defaultis File Gateway Partners Users Group.

For system use only. Do not modify.enableEbicsUI

Specifies the URL for the Help used by Sterling File Gateway.Required. The defaultis:http://help.sterlingcommerce.com/SFG20/index.jsp.

This site is hosted by IBM.

help.uri

Build 5008 Updates18

Page 19: Build 5008 Updatespublic.dhe.ibm.com/software/commerce/doc/sfg/v2r0/SFG20... · 2013-05-29 · What's New in Build 5008 New in This Release The following enhancements are included

DescriptionProperty

Specifies the URL for the help used by myFileGateway. Required.The defaultis:http://help.sterlingcommerce.com/mySFG20/index.jsp.

This site is hosted by IBM.

myFghelp.uri

Login URL for admin staff to access FileGateway.notification.admin.url

Required.

Default -notification.admin.url=http://<si-host-address>;:<si-port-number>/filegateway

Note: The specified URL will be included in email messagesgenerated to administrative users.

Login URL for partner users to access myFileGateway.notification.partner.url

Required.

Default -notification.partner.url=http://&HOST_ADDR;:&PORT1;/myfilegateway

Note: The specified URL will be included in email messagesgenerated to partner users. If you implement Sterling SecureProxy (SSP), it is imperative that you change this property toremove the original server details and replace with theSSP-designated URL.

The name of the JavaScript that defines custom tabs formyFileGateway.You can list several .js files by incrementing thefinal number. The value is in the format:

myfilegateway.extension_js_file_x

For example:

myfilegateway.extension_js_file_1=MYFG_VIEW_DOWNLOAD_APPLETmyfilegateway.extension_js_file_2=MYFG_VIEW_UPLOAD_APPLET

Contains a comma separated list of resource indentifiers thatdefine additional permissions.When setting permissions for users

myfilegateway.extension_tab_resource_ids

that access myFileGateway, assignmyfilegateway.extension_tab_resource_ids for a customtabs.When you create a custom tab, you can also create a newpermission to control whether a user can view that tab. Only newand custom tab permissions are listed in this property.

Note: Users must have permissions to at least one tab, eitherthe standard upload, download, file activity, or reports tab, or oneof the permissions created for a custom tab.

filegateway_protocol.properties

The filegateway_protocol.properties file contains properties which control the protocols available whenspecifying the search criteria for Sterling File Gateway activity searches.

19© Copyright IBM Corp. 2013

Page 20: Build 5008 Updatespublic.dhe.ibm.com/software/commerce/doc/sfg/v2r0/SFG20... · 2013-05-29 · What's New in Build 5008 New in This Release The following enhancements are included

The following table describes properties in the filegateway_protocol.properties file:

Note: Do not edit the filegateway_protocol.properties file. Make all changes in thecustomer_overrides.properties file. For example, to change the setting for Connect:Direct Inbound, enter thefollowing line into customer_overrides.properties:

protocol.FG_CDIN=

DescriptionProperty

Enables the Connect:Direct Inbound protocolFG_CDIN

Enables the Connect:Direct Outbound protocolFG_CDOUT

Enables the Connect:Direct Inbound and Outbound protocolFG_CD

Enables the FTP Inbound protocolFG_FTPIN

Enables the FTP Outbound protocolFG_FTPOUT

Enables the FTP Inbound and Outbound protocolFG_FTP

Enables the SFTP Inbound protocolFG_SFTPIN

Enables the SFTP Outbound protocolFG_SFTPOUT

Enables the SFTP Inbound and Outbound protocolFG_SFTP

About Event Codes (Build 5008 and Later)Each activity during the progress of a file transfer generates an event code. These codes are displayed in theactivity details to enable Partners and Operators to see the progress and navigate to more details. SystemAdministrators can create custom event codes and modify the permissions for standard event codes.

The following standard event codes display only in activity details:

DescriptionNameEvent Code

When a business process is started, with the reasonfor starting it stored in context

BusinessProcessStartingFG_0201

When a business process is successfully completed,with a link to the business process

BusinessProcessSuccessFG_0202

When a fact is discovered by the route, for example,matching a pattern on the file name

FactDiscoveryFG_0401

When a producer and user are identified based on thearrived file

ProducerFoundFG_0404

When a consumer is identified based on the route planConsumerFoundFG_0407

When an arrived file starts determining routesArrivedFileDeterminingRoutesFG_0409

When an arrived file starts processing routesArrivedFileRoutingFG_0410

When a route is started from an arrived fileRouteStartedFG_0412

When a route starts determining deliveriesRouteDeterminingDeliveriesFG_0413

When a route starts processing deliveriesRouteDeliveringFG_0414

When a delivery is started from a routeDeliveryStartedFG_0416

Build 5008 Updates20

Page 21: Build 5008 Updatespublic.dhe.ibm.com/software/commerce/doc/sfg/v2r0/SFG20... · 2013-05-29 · What's New in Build 5008 New in This Release The following enhancements are included

DescriptionNameEvent Code

When a delivery starts to transform the consumer fileDeliveryTransformingFG_0417

When a delivery starts delivering the consumer file tothe consumer

DeliveryDeliveringFG_0418

When an arrived file is a replay of an original arrivedfile, with a link to the original file

ArrivedFileReplayOfFG_0421

When a delivery starts redelivering the consumer fileto the consumer

DeliverRedeliveringFG_0423

When route candidates are found for an arrived filebased on the producer and the mailbox of the message

ProducerMailboxRouteCandidatesFoundFG_0501

When route plan candidates are found for an arrivedfile

RouteCandidatesFoundFG_0502

A route plan candidate for an arrived fileRouteCandidateFG_0503

When one or more routes are chosen from thecandidates

RouteFG_0504

The number of routes that will be executedRoutesFoundFG_0505

When a routing channel template contains no matchingproducer file structure for an arrived file.

Route Candidate Does Not MatchFG_0506

When a message is transformed to the final format forthe consumer

TransformedMessageFG_0601

When the router begins to extract a producer payloadfile

ProducerPayloadExtractingFG_0602

When the router begins to construct a consumerpayload file for delivery

ConsumerPayloadConstructingFG_0603

When a single layer in the consumer payload file getsconstructed

ConstructedLayerFG_0604

When a single layer in the producer payload file getsextracted

ExtractedLayerFG_0605

When options are passed to a business process toprocess a layer.

LayerOptionsFG_0606

When a message is delivered to a mailbox (either aconsumer mailbox or a mailbox for sending to alistening consumer)

DeliveredMailboxMessageFG_0701

When the file transfer is completeDeliveredListeningPartnerMessageFG_0702

When the supported protocol changes directory on thelistening consumer's server to transfer the file

ChangeDirectoryFG_0703

When the destination mailbox for the consumer isdiscovered

ConsumerDestinationMailboxFoundFG_0704

Some event codes trigger notifications to subscribers. System Administrators can change the permissions foran event code by using the customer_overrides.properties file to override values in the FGEventCodes.propertiesfile. The following event codes can be subscribed to by Operators, as the permissions are set at initial installation:

21© Copyright IBM Corp. 2013

Page 22: Build 5008 Updatespublic.dhe.ibm.com/software/commerce/doc/sfg/v2r0/SFG20... · 2013-05-29 · What's New in Build 5008 New in This Release The following enhancements are included

DescriptionNameEvent Code

When a user fails to access a mailbox that ismonitored

MailboxAuthorizationFailureFG_0050

When a business process fails, with a link to thebusiness process

BusinessProcessFailureFG_0250

When a file arrives to be routedArrivedFileStartedFG_0408

When an arrived file completes all its routesArrivedFileRoutedFG_0411

When a route completes all its deliveriesRouteCompleteFG_0415

When a delivery is completeDeliveryCompleteFG_0419

When an arrived file is replayed, with a link to thereplay

ArrivedFileReplayedFG_0420

When a redelivery is requested by a userRedeliverFG_0422

When an arrived file is ignored due to a configuredpattern for ignoring files

ArrivedFileIgnoredFG_0424

The description of the Arrived FileArrivedFileDescriptionFG_0425

When a producer message is invalid or cannot befound

ProducerMessageNotFoundFG_0450

When a producer document is invalid or cannot befound

ProducerDocumentNotFoundFG_0451

When an arrived file failsArrivedFileFailedFG_0455

When a route file failsRouteFailedFG_0456

When a delivery failsDeliveryFailedFG_0457

When no route candidates are found for an arrivedfile

ZeroRouteCandidatesFoundFG_0550

When no route channels are chosen from the list ofcandidates for an arrived file

ZeroRouteChannelsFoundFG_0551

When a route is invalidInvalidRouteFG_0552

When the number of consumers in broadcastscenarios is too big

MaxBroadcastGroupSizeExceededFG_0554

When the PGP Construct layer is skipped becausethe consumer does not handle PGP and it is optionalon the Routing Channel Template

PGPConstructSkippedFG_0607

When extraction of a layer failsExtractLayerFailedFG_0650

When construction of a layer failsConstructLayerFailedFG_0651

Depending on when the events occur in the processing and transferring of files, some event codes can onlysend notifications to producers or consumers. System Administrators can change the permissions for an eventcode by using the customer_overrides.properties file to override values in the FGEventCodes. The followingevent codes can be subscribed to by Partners, as the permissions are set at initial installation:

Notifies Producer, Consumer, orBoth

DescriptionNameEvent Code

BothWhen a file arrives to be routedArrivedFileStartedFG_0408

Build 5008 Updates22

Page 23: Build 5008 Updatespublic.dhe.ibm.com/software/commerce/doc/sfg/v2r0/SFG20... · 2013-05-29 · What's New in Build 5008 New in This Release The following enhancements are included

Notifies Producer, Consumer, orBoth

DescriptionNameEvent Code

BothWhen an arrived file completes allits routes

ArrivedFileRoutedFG_0411

BothWhen a route completes all itsdeliveries

RouteCompleteFG_0415

BothWhen a delivery is completeDeliveryCompleteFG_0419

BothWhen an arrived file is replayed,with a link to the replay

ArrivedFileReplayedFG_0420

BothWhen a redelivery is requested bya user

RedeliverFG_0422

ProducerWhen an arrived file is ignored dueto a configured pattern for ignoringfiles

ArrivedFileIgnoredFG_0424

ProducerThe description of the Arrived FileArrivedFileDescriptionFG_0425

ProducerWhen a producer message isinvalid or cannot be found

ProducerMessageNotFoundFG_0450

ProducerWhen a producer document isinvalid or cannot be found

ProducerDocumentNotFoundFG_0451

ProducerWhen an arrived file failsArrivedFileFailedFG_0455

BothWhen a route file failsRouteFailedFG_0456

BothWhen a delivery failsDeliveryFailedFG_0457

ProducerWhen no route candidates arefound for an arrived file

ZeroRouteCandidatesFoundFG_0550

ProducerWhen no route channels arechosen from the list of candidatesfor an arrived file

ZeroRouteChannelsFoundFG_0551

ProducerWhen a route is invalidInvalidRouteFG_0552

ProducerWhen the number of consumers inbroadcast scenarios is too big

MaxBroadcastGroupSizeExceededFG_0554

ConsumerWhen the PGP Construct layer isskipped because the consumer

PGPConstructSkippedFG_0607

does not handle PGP and it isoptional on the Routing ChannelTemplate

ProducerWhen extraction of a layer failsExtractLayerFailedFG_0650

ConsumerWhen construction of a layer failsConstructLayerFailedFG_0651

Sterling File Gateway: Specific Recommendations Checklist

Sterling File Gateway is installed on an instance of Sterling Integrator, and shares many of the resources withthe latter, including:

• Communication Adapters

23© Copyright IBM Corp. 2013

Page 24: Build 5008 Updatespublic.dhe.ibm.com/software/commerce/doc/sfg/v2r0/SFG20... · 2013-05-29 · What's New in Build 5008 New in This Release The following enhancements are included

• Business Processes• Security Services• Perimeter Services• Encryption• Decryption• Account Management

You should, therefore, tune your Sterling Integrator installation first, and then perform the Sterling FileGateway-specific tuning and troubleshooting tasks. Be aware that the changes you make to Sterling FileGateway can also affect the performance of Sterling Integrator.

Note: Do not edit the properties files. Make all the changes in the customer_overrides.propertiesfile. For example, to change the pgpCmdline2svcname property, enter the following line in thecustomer_overrides.properties file:

filegateway.pgpCmdline2svcname=CUSTOM

In this line, replace CUSTOM with the name of your Command Line 2 adapter. For more information about thecustomer_overrides.properties file, refer to the Sterling Integrator Property Files documentation.

The following table describes some of the key parameters that must be configured to optimize Sterling FileGateway performance.

In the following table, the Development (Dev) and Production (Prod) columns indicate whether therecommendations are Recommended (R), Critical (C), or Not Applicable (NA) in the development andproduction environments.

CommentsProdDevRecommendation

Number of Sterling File Gateway services that can be runconcurrently. The services are split into two groups, and

RRIncrease the value of Sterling File Gatewayservices that run concurrently.

each group has this value as the limit. Therefore, the totalProperty: fgRouteConcurrentSessionLimit

number of services that can run concurrently is equal tothe value for this property multiplied by two. Set this to avalue that is higher than the sum of business processthreads in queues 4 and 6 (where Sterling File Gatewayservices run).

Default value: 8 (Maximum: 64)

Timeouts and sleep intervals that control the period forwhich Sterling File Gateway waits for each of the

RRIf you are processing very large files, increasethe probe values to avoid timeout conditions.

sub-business process it invokes. The timeouts and sleepProperty:

intervals control the timeouts when a business process is• filegateway.bpCompletionProbes.2 executed synchronously during routing. The types of

business processes that run during routing are consumer• filegateway.bpCompletionSleepMsec.2identification and PGP processing. Setting the values forthese properties also enables one set of relatively quickprobes, followed by a second set of slower probes. Thefirst set will be reactive, but consumes more processorcapacity.The second set will be activated for longer-runningprocesses and will consume less processor capacity.

First, probe 120 times, with 100 milliseconds between eachprobe, for a total of 12 seconds.

Default value:

Build 5008 Updates24

Page 25: Build 5008 Updatespublic.dhe.ibm.com/software/commerce/doc/sfg/v2r0/SFG20... · 2013-05-29 · What's New in Build 5008 New in This Release The following enhancements are included

CommentsProdDevRecommendation

• bpCompletionProbes.1=120• bpCompletionSleepMsec.1=100

Then, probe 600 times with 2000 milliseconds betweeneach probe, for a total of 1200 seconds (20 minutes).

Default value:

• bpCompletionProbes.2=600• bpCompletionSleepMsec.2=2000

The name of the Command Line 2 adapter to be used forPGP packaging and unpackaging.You can override this

RRIf you have a high volume of PGP traffic, youcan improve your performance by specifyinga group for the file gateway. property in the customer_overrides.properties

file if a custom Command Line 2 adapter is used for PGPProperty: pgpCmdline2svcnameoperations.You can also specify an adapter group nameto balance the outbound PGP sessions load across multipleadapter instances.

Default value: pgpCmdline2svcname=PGPCmdlineService

Timeout value, in milliseconds, for PGP package andunpackage operations invoked by Sterling File Gateway.

RRIf you have very large files that will beprocessed by PGP, increase the value of thefile gateway.

Default value: 240000 milliseconds (4 minutes)Property:fgRoutePGPCmdLineSocketTimeout

The FTP Client Adapter instance or service group that theFileGatewayDeliverFTP business process will use.You

RRIf you have high volumes of FTP traffic, youcan improve your performance by specifyinga group. can override this property in the

customer_overrides.properties file to use aProperty: filegateway.ftpClientAdapterNamecustom FTP Client Adapter instance to contact tradingpartners.You can also specify an adapter group name tobalance the outbound FTP sessions load across multipleadapter instances.

Default value: ftpClientAdapterName=FTPClientAdapter

You can enable either MailboxEvaluateAllAutomaticRulesor MailboxEvaluateAllAutomaticRulesSubMin.

RRDecrease the value of evaluation frequency.

Property:MailboxEvaluateAllAutomaticRulesSubMin verifies thepresence of routable messages once every 10 seconds,

• MailboxEvaluateAllAutomaticRules

or and can be edited for other intervals of less than one minuteby modifying the MailboxEvaluateAllAutomaticRulesSubMinbusiness process.

• MailboxEvaluateAllAutomaticRules SubMin

Prevents duplicate messages from using system resources.RRSuppress Duplicate Messages

Property:mailbox.disallowDuplicateMessages=true

Number of steps involved in the completion of a businessprocess before the business process returns to the queue.

RRIncrease the number of steps a businessprocess must complete prior to returning tothe queue. Higher values will accelerate individual business process

execution, while lower values will provide smootherProperty: noapp.AE_ExecuteCycle.#

multitasking capabilities. Interactive use favors a lower

25© Copyright IBM Corp. 2013

Page 26: Build 5008 Updatespublic.dhe.ibm.com/software/commerce/doc/sfg/v2r0/SFG20... · 2013-05-29 · What's New in Build 5008 New in This Release The following enhancements are included

CommentsProdDevRecommendation

number of steps, while batch processing favors a highernumber of steps. The value of noapp.AE_ExecuteCycle.#can be different for each queue. .# indicates the queuenumber.

When a business process has one service to begin aprotocol session and another service to use the protocolsession, a very low AE_ExecuteCycle may lead manybusiness processes to be in the queue, with only the firstservice running.This may result in many protocol sessionsaccumulating in an open state, and session limits beingmet sooner than is necessary.

Maximum time period, in milliseconds, for which a businessprocess can use a thread before releasing it for use by

RRIncrease the time period that a businessprocess can use a thread, before releasing itto be used for another business process.

another business process.This value will override the valueset for AE_ExecuteCycle.Tuning the value for this property

Property: noapp.AE_ExecuteCycleTime.# ensures that a series of unusually slow steps will not tie upa thread completely. This value can be different for eachqueue. .# indicates the queue number. A value that is toolow may result in the accumulation of more sessions thanare recommended.

Total number of concurrent threads that Sterling FileGateway is allowed to use. This value is the total number

RRIncrease the number of concurrent threads.

Property: noapp.MaxThreads of threads available to a workflow engine to executebusiness process steps. Other, nonworkflow engine threadsdo not come under the purview of this limit. For example,the threads set in fgRouteConcurrentSessionLimit do notcome under the purview of this limit.

Total number of concurrent threads for all HTTP serveradapters in your Sterling Integrator installation.The default

RRIncrease the number of concurrent threadsin HTTP server adapters.

value is 10. If your users are experiencing slow responseProperty: http.numOfmaxThread when many concurrent connections have been made to

the same port, increase this value to 50. Continue tuningthis value until the system response is acceptable for thenumber of concurrent connections that must be supported.Setting this value to a value that is too high could bedetrimental to system stability when too many concurrentconnections are made.

File System is more efficient, and enables storage of muchlarger files.

RRSet storage type.

Property: filegateway_ui.storagetype=fileDefault value: database

Business processes that must have persistence settingsset to System Default:

RRSet persistence setting for businessprocesses that perform protocol translationto System Default. • FileGatewayRoutePGPPackageDocument

• FileGatewayRoutePGPUnpackageDocument• User defined business processes used for translation of

custom file layers

Build 5008 Updates26

Page 27: Build 5008 Updatespublic.dhe.ibm.com/software/commerce/doc/sfg/v2r0/SFG20... · 2013-05-29 · What's New in Build 5008 New in This Release The following enhancements are included

About Shared and Linked Mailboxes (Build 5008 or Later)

Sterling Integrator supports shared and linked mailboxes.

The Shared mailbox functionality allows you to instantly share real-time data with the trading partners. Youcan use the Linked mailbox functionality to link individual trading partner’s mailboxes with one or more sharedmailboxes. Linking trading partner mailboxes to shared mailboxes allows the trading partners to view thereal-time data stored in the shared mailboxes. In other words, a linked mailbox provides a link to view the datain a shared mailbox. The linked mailbox is a read-only copy of the shared mailbox and the data in the mailboxcannot be modified or deleted.

To enable the shared and linked mailbox functionality, set the mailbox.enableSharedLinkedMailboxes propertyto true in the customer_overrides.properties file. By default, this property is set to false.

More information on the shared and linked mailbox feature can be found in the Sterling Integrator 5.0documentation.

Sterling File Gateway either creates new or reuses existing mailboxes as necessary to support producer dropoff and consumer pick up of messages for a routing channel. Sterling File Gateway does not create or updateany mailbox to be shared or linked. Sterling File Gateway will, however, reuse an existing shared or linkedmailbox within the usage constraints placed upon those mailboxes. The constraints upon shared/linked mailboxesare documented in the Sterling Integrator online library, and should be reviewed in detail for compatibilitywith the intended usage by Sterling File Gateway and the respective partners. For example, linked mailboxesare read only and would not be suitable for use as either a routing channel producer or consumer mailbox sincethere would be no way to add messages to that mailbox. A shared mailbox could be used, but a systemadministrator would be responsible for creating the shared and linked mailboxes, aligning the routing channeland routing channel template with them, and establishing appropriate user permissions on the linked mailboxes.

To protect system integrity, Sterling File Gateway does not allow a Partner mailbox to be changed to type"shared" whether by UI, import, or other method. Any mailbox whose top level is a Sterling File GatewayPartner name is considered a Partner mailbox. If a shared mailbox is meant to participate in a routing channelit must be created in Sterling Integrator in an alternate mailbox location and administered separately.

Sterling File Gateway does not allow creation of a routing channel if due to preexisting configuration therouting channel would use a linked producer or consumer mailbox. Since these mailboxes would not be writablethey are not suitable for this use in routing channels.

Set Up HTTPS for myFileGateway

To run myFileGateway inside your secure network, no configuration is required. An HTTP Server adapterconfiguration (named Http Server Adapter) comes with Sterling File Gateway that enables the clients on thesame network as Sterling File Gateway to access myFileGateway.

To run myFileGateway in a DMZ, an HTTP Server adapter must be configured that uses a remote perimeterserver.

After a Perimeter Server has been configured in Sterling Integrator, its name is available to the HTTP Serveradapter configuration, in the Perimeter Server Name list on the HTTP Connection Properties page.

To configure myFileGateway to run in the DMZ:

27© Copyright IBM Corp. 2013

Page 28: Build 5008 Updatespublic.dhe.ibm.com/software/commerce/doc/sfg/v2r0/SFG20... · 2013-05-29 · What's New in Build 5008 New in This Release The following enhancements are included

1. Set up a perimeter server in the DMZ.

2. Configure a new Perimeter Server in Sterling Integrator.

The port specified in the Perimeter Server configuration must not be the HTTP listen port (to which tradingpartners are expected to connect), which is specified in a subsequent stage.

3. Ensure that the remote perimeter server is running.

4. Create a new instance of the HTTP Server Adapter configuration.

a) Log into Sterling File Gateway as a system administrator.b) Select Tools > B2B Console.c) From the Sterling Integrator Admin menu, select Deployment > Services > Configuration.d) Under Create, next to New Service, click Go!e) For Service Type, open the List View, select HTTP Server Adapter and click Save, then Next.f) Give the adapter a new unique name and description. If you are using a clustered environment, from the

Environment list, select the node where the remote perimeter server is to be assigned. Click Next.g) For the HTTP Listen Port, specify the port that the Partner is expected to connect to. This port must

not be used by a different application on the computer that the remote perimeter server is installed on.No two HTTP Server adapter configurations can listen on the same port on the same remote perimeterserver computer. The default port for Sterling File Gateway is 33, so select a different port number.

h) From the Perimeter Server Name list, select the name of the Perimeter Server (previously configured)that corresponds to the specific remote perimeter server to be used. The name is in the format node &name, where name is what you specified.

i) For Total Business Process queue depth threshold, enter a number of business processes to allow inqueue. The value of this setting has no effect if Sterling File Gateway is the only application hosted onthis HTTP Server adapter, because Sterling File Gateway does not initiate business processes.

j) For Document Storage and User Authentication Required, you can accept the default or change tomatch your system.

k) For Use SSL, select Must to implement stronger security. Click Next. See the Sterling Integratordocumentation for more information about settings for the SSL Settings page. Click Next.

l) On the Services Configuration page, click add, type the URI /myfilegateway.m) Select War File. Click Next.n) Enter the War File Path. The myFileGateway War file is located at <install

dir>\SI\container\Applications\myfilegateway.war. (For UNIX, <installdir>/container/Applications/myfilegateway.war.)

o) Click Save.p) In the Confirm page, verify that all parameters are as specified.q) Ensure the Enable Service for Business Process check box enabled.r) Click Finish.

5. If you have access to the computer on which the remote perimeter server is running, log in to that computerand run the following command:

netstat -an | grep <httpListenPort>

where <httpListenPort> is the port previously specified. If a row is found that reads, LISTEN, the HTTPServer adapter is ready to handle requests from external clients.

Build 5008 Updates28

Page 29: Build 5008 Updatespublic.dhe.ibm.com/software/commerce/doc/sfg/v2r0/SFG20... · 2013-05-29 · What's New in Build 5008 New in This Release The following enhancements are included

6. Verify that the HTTP Server adapter is listening and that myFileGateway is configured correctly by pointingan HTTP browser to the following URL:

https://<host>:<httpListenPort>/myfilegateway

where <host> is the IP address or host name of the computer where the remote perimeter server is runningand <httpListenPort> is the port previously specified. Set your browser options to select TLS 1.0 (in theAdvanced tab). A dialog opens, requesting the user name and password to use with myFileGateway. Ifinstead the browser encounters an error, verify that <httpListenPort> is being listened on. If it is listening,verify that some other application has not reserved this port. To do this, disable the HTTP Server adapterand verify that this port is not being listened on. If it is, find the application that has the port bound andshut it down. Alternately, select a different HTTP Listen Port and try again.

Note: If you have many concurrent users, you may find some degradation of performance. All HTTP serveradapters in your Sterling Integrator installation share the setting for maximum number of threads. To increasethe maximum number of threads running at the same time, edit customer_overrides.properties to modifythe following property:

http.numOfmaxThread = X

where is X is the number of threads. The default value is 10. If your users are experiencing slow responsewhen many concurrent connections have been made to the same port, increase this value to 50. Continuetuning this value until the system response is acceptable for the number of concurrent connections that mustbe supported. Setting this value to a value that is too high could be detrimental to system stability when toomany concurrent connections are made. See the Sterling Integrator documentation for more informationabout changing property values.

Deploy myFileGateway within an <iFrame> HTML Element (Build 5008 andLater)

There are some specific parameters and guidelines that must be followed to deploy myFileGateway in aniFrame:

• The <iframe> block must be well-formed (that is, every use of <iframe> must be closed by </iframe>).• Change references in any .js page to “top” to refer to the encapsulating page.• Although a minimum of 800 x 500 pixels resolution for the encapsulating page will work, 950 x 600 pixels

or greater is preferred.• If any new extensions are created, ensure you reference ".top" if the window DOM hierarchy is needed, since

this may refer to the encapsulating page.

Set the doctype appropriately. For example:

<DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">

The iFrame tag should be specified.

The following is an example of an HTML file that could be used to implement myFileGateway in an <iFrame>:

<DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><html> <head>

29© Copyright IBM Corp. 2013

Page 30: Build 5008 Updatespublic.dhe.ibm.com/software/commerce/doc/sfg/v2r0/SFG20... · 2013-05-29 · What's New in Build 5008 New in This Release The following enhancements are included

<title>Test Page for SFG within an iframe</title> <style type="text/css"> <!-- body { font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-style: normal; color: #FFFFFF; } --> </style> </head> <body> <div style="WIDTH:100%;HEIGHT:30;BACKGROUND-COLOR:#000099"> NON-SFG Application Area 1 </div> <iframe frameborder="0" title="Secure File Transfer" src="/myfilegateway/" style="WIDTH:100%;HEIGHT:100%" hastray="true" fullpage="true"></iframe> <div style="WIDTH:100%;HEIGHT:30;BACKGROUND-COLOR:#000099"> NON-SFG Application Area 2 </div> </body></html>

Improve Loading Time for myFileGateway

To improve latency from the time myFilegateway is requested until the log in page is rendered, externalizethe myFilegateway skin directory assets on servers in closer proximity to users accessing myFilegateway.

The myfilegateway.war file is built from the contents of the <install_dir>/container/Applications/myfilegatewaydirectory, which in turn contains several files named load_skin.js. Locate:

container/Applications/myfilegateway/isomorphic/skins/CustomSkin/load_skin.js

To externalize the myFilegateway skin directory assets:

1. Make a copy of the FileGateway skin directory at:

container/Applications/myfilegateway/isomorphic/skins/

2. If you have rebranded myFilegateway, there will be an additional directory that contains load_skin.js, whichfor the purposes of illustration will be assumed to be:

container/Applications/myFileGateway/isomorphic/skins/CustomSkin

3. Edit container/Applications/myfilegateway/isomorphic/skins/CustomSkin/load_skin.js and replace:

isc.Page.setSkinDir("[ISOMORPHIC]/skins/CustomSkin/")

with

isc.Page.setSkinDir("https://servername:portnumber/myfilegatewayparts/isomorphic/skins/CustomSkin")

4. Install the skin directory on the server that you are pointing to with the isc.page.setSkinDir line.

Build 5008 Updates30

Page 31: Build 5008 Updatespublic.dhe.ibm.com/software/commerce/doc/sfg/v2r0/SFG20... · 2013-05-29 · What's New in Build 5008 New in This Release The following enhancements are included

5. You or a vendor can stage the files on geographically dispersed web servers, so that users in distant locationshave less lag time to access the skin files and use myFileGateway.In this case, each user thinks they are accessing https://servername:portnumber but in reality, they accessa different server based upon their geographic location, from which they can download files quicker.

Add Custom ProtocolsYou can add support for custom protocols for listening consumers in addition to the ones preconfigured inSterling File Gateway.

The information you provide in performing this procedure determines the text displayed in the Partnermanagement wizard. That is, after you perform this procedure, new choices are available for protocols offeredby Sterling File Gateway when creating a community and when creating a listening consumer in a communitythat is configured for the custom protocol.

1. Write a business process that implements the custom protocol. The business process name must be uniquefor each custom protocol. Do not use an underscore character (_) in the name of the business process.

2. Use the existing AFTExtensions.xml as a guide to create an AFTExtensionsCustomer.xml file to describethe protocol. Do not edit the AFTExtensions.xml file.

The AFTExtensions.xml file is located in the followingdirectory:<install_dir>/container/Applications/aft/WEB-INF/classes/resources/xml.

3. Save the AFTExtensionsCustomer.xml file to the same directory as AFTExtensions.xml.

4. Use the existing AFTExtensions.properties file as a guide to create the AFTExtensionsCustomer.propertiesfile. Do not edit the AFTExtensions.properties file. The AFTExtensions.properties is located in the followingdirectory:

<install_dir>/container/Applications/aft/WEB-INF/classes/resources

Note: The user interface elements to describe the protocol are specified in the htmlType parameter. Validvalues are text, password, select. When "select" is chosen for htmlType, the UI presents a list whose contentsare derived from an "options" class. An example of an "options" class list is in the AFTExtensions.xml file(the text starts with "<OPTION name="SSHRemoteProfiles" class= ")

5. Save the AFTExtensionsCustomer.properties file to the same directory as AFTExtensions.properties,namely:

<install_dir>/container/Applications/aft/WEB-INF/classes/resources

6. Reference the business process you created in step 1 in a new AFTExtension element in theAFTExtensionsCustomer.xml file.

7. Stop Sterling File Gateway.

8. Run <install_dir>/bin/setupfiles.sh.

9. Run <install_dir>/bin/deployer.sh.

10. Start Sterling File Gateway.

The additional protocol will be available when adding and editing communities. After this protocol hasbeen chosen for a community, it then becomes available when creating and editing partners in thatcommunity.

31© Copyright IBM Corp. 2013

Page 32: Build 5008 Updatespublic.dhe.ibm.com/software/commerce/doc/sfg/v2r0/SFG20... · 2013-05-29 · What's New in Build 5008 New in This Release The following enhancements are included

Integration Architect

About Delivery Channels (Build 5008 or Later)The delivery channel defines what will be delivered to a consumer.

A routing channel template contains one or many delivery channels. Each delivery channel consists of:

• One consumer mailbox name pattern• One consumer file structure

The mailbox name pattern can be specified using the following:

• System facts (for example, /${ConsumerName}/Inbox) where the actual name would be determineddynamically

• Explicit strings (for example, /${ConsumerName}/myInbox)• Provisioning facts (for example, /${ConsumerName}/${myUserName} that are specified on the Provisioning

Facts tab of the Routing Channel Template wizard• A combination of system facts, explicit strings, and provisioning facts. The mailbox pattern must always

start with /${ConsumerName}

You can specify that a mailbox be created at the time of routing.

Note: The root mailbox for the user must already exist; only a submailbox for the partner is created by SterlingFile Gateway.

You can specify that a message be delivered using a consumer listening protocol if available. The default isto always attempt to deliver to a listening protocol if available, but if you have two delivery channels and youonly want to send to one listening protocol, uncheck this option for one of the delivery channels. This is usefulin scenarios where you have two delivery channels, (for example the second is used to deliver to an archivemailbox) and you want only one of the delivery channels to deliver outbound to a listening consumer to avoiddelivering a duplicate message.

The Integration Architect creates a delivery channel as part of the process of creating a routing channel template.

Build 5008 Updates32

Page 33: Build 5008 Updatespublic.dhe.ibm.com/software/commerce/doc/sfg/v2r0/SFG20... · 2013-05-29 · What's New in Build 5008 New in This Release The following enhancements are included

Create a Routing Channel Template (Build 5008 or Later)

To create a routing channel template:

1. From the main menu, select Routes > Templates.

2. Click Create.

3. On the Type tab, enter a descriptive name for the template. Only alphanumerics, underscores, and <space>characters are allowed in the template name.

The following are system-designated prefixes and must not be used for user-created templates:

• AFT• FileGateway• FG

4. Select Static or Dynamic. If Dynamic, select how the consumer is determined, whether by facts or bybusiness process. If by facts, specify the ConsumerName or ConsumerCode facts in every producer filestructure. If by business process, specify the business process name and the element name in ProcessDatathat identifies the consumer.

5. On the Special Characters tab, select how special characters in producer file names should be handled.Use this when the file name the producer gives a file is incompatible with the naming convention theconsumer uses. Select from the following:

Other Input and ResultsSelection

Do not change any special characters.None

Enter which characters to substitute with what newcharacters. The number of characters specified in the

Substitute characters individually

search for and replace fields must match. The charactersare case-sensitive.

For example, Search for character sequence ABC, Replacewith 123 would translate a producer file name of:

• Abbot.txt to a consumer file name of 1bbot.txt• ABBOT.TXT to a consumer file name of 122OT.TXT

Search for abcdef, Replace with ABCDEF would translateproducer a file name of:

• abbot.txt to a consumer file name of ABBot.txt

Enter which sequence to substitute with what newsequence.

For example, Search for [*%$] Replace with -, wouldtranslate all of the following producer file names:

Replace characters, then omit consecutive replacements

• A*B.txt• A***B.txt• A%%%%B.txt• A*%B.txt• A$$**%%B.txt• A*$%$%*$*%B.txt

to a consumer file name of A-B.txt

33© Copyright IBM Corp. 2013

Page 34: Build 5008 Updatespublic.dhe.ibm.com/software/commerce/doc/sfg/v2r0/SFG20... · 2013-05-29 · What's New in Build 5008 New in This Release The following enhancements are included

Other Input and ResultsSelection

Enter the characters to remove from the producer file nameto create the consumer file name.

Remove characters

Characters that are invalid or cause problems in theWindows operating system are removed from producerfile names prior to delivering to consumers.

Remove Windows invalid characters /\:*?"<>|;%

Characters that are invalid or cause problems in the UNIXoperating system are removed from producer file namesprior to delivering to consumers.

Remove UNIX invalid characters /;\'!#$&*|'"?<>)

All special characters are removed from producer filenames prior to delivering to consumers.

Remove all characters, except alphanumeric, dash, andperiod

6. On the Groups tab, click Add beneath each group box. Select from the drop down lists the producer groupsand consumer groups that can use the template. You can select one or more producer groups and consumergroups by clicking Add and selecting additional groups from the lists.

Note: Select the All Partners group in the producer and consumer lists to enable all partners present inthe application to use the RCT.

7. On the Provisioning Facts tab, click Add to specify facts for the users to provide values at the time ofcreating a routing channel. Provisioning facts are optional. Enter the following information for eachprovisioning fact:

• Display Label - the short name that would identify the fact at routing channel provision time. Maximumlength allowed is 255. Valid characters are alphanumeric, comma, hyphen, space, and underscore. Unicodecharacters that represent alphanumeric in various languages are also allowed.

• Fact name - the name of the fact for use in mailbox and file name creation. Maximum length allowed is255. Valid characters are alphanumeric in English only and the hyphen. Fact name must begin withcase-insensitive "my".

• Description - the description of the fact, to be displayed as a tool tip during route channel provision toguide users in supplying values. Maximum length allowed is 255. Valid characters are alphanumeric,comma, hyphen, space, and underscore. Unicode characters that represent alphanumeric in variouslanguages are also allowed.

Note: For the fact value - Maximum length allowed for a fact value is 255. Valid characters arealphanumeric, equal, and space characters. Unicode characters that represent alphanumeric in variouslanguages are also allowed. The following characters are explicitly prohibited because they are not allowedin a mailbox path: ? < > | ‘ “ : / \ % *

Click Save. The values entered in the form are validated. If a validation error occurs, the validation messageis displayed and the Provisioning Fact is not saved. If validation succeeds, the Provisioning Fact is savedand is displayed in the Routing Channel wizard.

8. On the Producer tab, specify the producer mailbox name pattern and producer file structure. Mailbox pathsare case insensitive and should therefore be unique without regard to case.

9. On the Consumer tab, specify the consumer mailbox pattern.

Check the following:

If checked, mailboxes matching this pattern may be created on demand. For a dynamic template, thismailbox creation at run time is required.

Build 5008 Updates34

Page 35: Build 5008 Updatespublic.dhe.ibm.com/software/commerce/doc/sfg/v2r0/SFG20... · 2013-05-29 · What's New in Build 5008 New in This Release The following enhancements are included

Note: The root mailbox for the user must already exist; only a submailbox for the partner is created bySterling File Gateway.

If checked, the delivery channel will attempt to deliver to a listening protocol if available.

Note: If you have two delivery channels and you only want to send to one listening protocol, uncheck thisoption for one of the delivery channels. This is useful in scenarios where you have two delivery channels,(for example the second is used to deliver to an archive mailbox) and you want only one of the deliverychannels to deliver outbound to a listening consumer to avoid delivering a duplicate message.

10. Specify the delivery channel, including the consumer file structure. The innermost layer of the consumerfile structure must match the innermost layer of the producer file structure, or be Unknown. The consumerfile structure defines the file name format delivered to the consumer. To pass the file name throughunchanged, enter:${ProducerFilename}

Note: There can only be one consumer file structure for each delivery channel. If you click Add and specifyanother file structure, it will overwrite the previously defined file structure.

11. Click Save to complete the routing channel template. Sterling File Gateway validates the routing channeltemplate and displays errors for invalid criteria. You will get a confirmation when the template is successfullyvalidated and saved.

Create a Broadcast Routing Channel Template (Build 5008 and Later)

Dynamic routing channel templates can be created to route copies of the same payload file to mulitple consumers.The set of consumers receiving a copy of the payload file can be defined either through the system factConsumerBroadcastGroup or through a business process that returns multiple consumer partner names.

Use of Sterling File Gateway is not strictly limited to the selections provided in this procedure. To simplifyyour initial use of broadcast with Sterling File Gateway, some suggested selections are provided.To create a simple routing channel template to broadcast messages to a list of consumers using theConsumerBroadcastGroup fact:

1. Select Routes > Templates.

2. Click Create.

3. Type a name, for example DynamicBroadcastFromFact.

4. Select Dynamic.

5. Select 'Facts in producer file structure' for "What will determine the consumer?"

6. Select your preferences for special character handling, producer groups, and consumer groups.

7. Create a new provisioning fact with:

• Fact Name = ConsumerBroadcastGroup• Display Label = name of SFG Partner Group Defining Braodcast List• Description = SFG Partner Group Defining Broadcast List

8. For Producer File Structure and Consumer File Structure, select your preferences.

9. Save the Routing Channel Template.

35© Copyright IBM Corp. 2013

Page 36: Build 5008 Updatespublic.dhe.ibm.com/software/commerce/doc/sfg/v2r0/SFG20... · 2013-05-29 · What's New in Build 5008 New in This Release The following enhancements are included

When a routing channel is created using the routing channel template above, a value for the provisioning fact,ConsumerBroadcastList, must be specified and the value must correspond to a File Gateway Partner Group.Each member of the specified Partner Group will receive a copy of any file processed through the resultingrouting channel.

Note: The fact ConsumerBroadcastGroup does not have to be set as a provisioning fact, it may also be set asa producer file structure file name pattern.

Use a Business Process to Identify Consumers

To create a simple routing channel template to broadcast messages to a list of consumersusing a consumer identification BP, create a business process that populates a list of consumernames at the same process data element levelFor example, a BP named MyBroadcastListmight generate the following list of three consumers in process data:

<ProcessData> <ConsumerNameList> <Consumer>ConsumerOne</Consumer> <Consumer>ConsumerTwo</Consumer> <Consumer>ConsumerThree</Consumer> </ConsumerNameList></ProcessData>

Using the name and sample process data above, create the routing channel template asfollows:

1. Select Routes > Templates.2. Click Create.3. Type a name, for example DynamicBroadcastFromBP4. Select Dynamic.5. Select ‘Business Process' for "What will determine the consumer?"6. Select ‘MyBroadcastList’ for 'Business Process Name.7. Select 'ConsumerNameList/ConsumerName' for 'Process Data Element Name.'8. Select the desired Special Character Handling, Producer Groups and Consumer Groups9. Define the desired Producer File Structure and Consumer Delivery Channels10. Save the Routing Channel Template.

Broadcast Messages Using Shared Mailboxes (Build 5008 or Later)You can broadcast messages to several consumers by using shared mailboxes feature in Sterling Integrator.

To broadcast messages to several consumers by using shared mailboxes.

1. Create a shared mailbox in Sterling Integrator by selecting Tools > B2B Console > Deployment > Mailboxes> Configuration. Select Mailbox Type = Shared.

2. Note the specific mailbox path from step 1.

3. Create a partner group in Sterling File Gateway that will contain all consumers who should receive the filewhen broadcast.

4. Create a dynamic routing channel template with the following configurations:

Build 5008 Updates36

Page 37: Build 5008 Updatespublic.dhe.ibm.com/software/commerce/doc/sfg/v2r0/SFG20... · 2013-05-29 · What's New in Build 5008 New in This Release The following enhancements are included

Specifes fact name to identify consumer•• Consumer Groups value specifies the partner group from step 3• PFS file name pattern includes a capturing group that maps to the ConsumerBroadcastGroup fact name• Consumer Mailbox Path specifies shared mailbox from step 1

5. Create producer and consumer partners.

6. Associate consumer partners with partner group from step 3.

7. Create a routing channel that uses the routing channel template from step 4.

8. Edit consumer partner mailboxes in Sterling Integrator to make them linked mailboxes, and link them tothe shared mailbox from step 1.

9. To use your configuration, log in to myFileGateway as the producer (or use FTP client) and upload (send)a file, ensuring that the file name specifies the appropriate Consumer Group name (defined in the routingchannel template).

37© Copyright IBM Corp. 2013

Page 38: Build 5008 Updatespublic.dhe.ibm.com/software/commerce/doc/sfg/v2r0/SFG20... · 2013-05-29 · What's New in Build 5008 New in This Release The following enhancements are included

Route Provisioner

Create a Broadcast Routing Channel (Build 5008 or Later)

Use of Sterling File Gateway is not strictly limited to the selections provided in this procedure. To simplifyyour initial use of broadcast with Sterling File Gateway, some suggested selections are provided.

To create a routing channel for use to broadcast messages to a list of consumers:

1. Select Routes > Channels.

2. Click Create.

3. For Routing Channel Template, select one created for broadcasting, for example,DynamicBroadcastFromFact.

4. For Producer, select the partner that will send the file.

5. For Consumer, select the group that is the list of recipients of the file.

Build 5008 Updates38

Page 39: Build 5008 Updatespublic.dhe.ibm.com/software/commerce/doc/sfg/v2r0/SFG20... · 2013-05-29 · What's New in Build 5008 New in This Release The following enhancements are included

Operator

Troubleshoot and Resolve Problems with Broadcast File Transfer (Build5008 or Later)

Broadcast Specific Error Behavior:

• If a consumer identification business process returns a consumer name that does not correspond to an existingSterling File Gateway Partner, a route will be attempted for the invalid consumer and will fail, raising eventFG_0456. Routing and delivery will complete for any valid consumers returned by same business processinvocation.

• If the list of consumer names returned by a consumer identification business process contains the sameconsumer multiple times, the duplications will be silently ignored such that a consumer will receive only asingle delivery regardless of how many times they appear in returned list.

Prevent Failed PGP Routes

Failed PGP routes or other failed routes may be due to incorrect persistence settings for business processes.

Set persistence settings for business processes that perform protocol translation or translation of custom filelayers to System Default.

Business processes that must have persistence settings set to System Default:

• FileGatewayRoutePGPPackageDocument• FileGatewayRoutePGPUnpackageDocument• User defined business processes used for translation of custom file layers

39© Copyright IBM Corp. 2013

Page 40: Build 5008 Updatespublic.dhe.ibm.com/software/commerce/doc/sfg/v2r0/SFG20... · 2013-05-29 · What's New in Build 5008 New in This Release The following enhancements are included

myFileGateway

Access myFileGatewayA System Administrator must establish an account for a Partner before the Partner can access myFileGateway.

To access myFileGateway:

1. Obtain the URL for myFileGateway from the System Admin.

2. Disable pop up blocker in your browser.

3. Set your browser options to select TLS 1.0 (in the Advanced tab).

4. Log in to myFileGateway with the user name and password supplied by the System Admin.

Note: Administrative users of Sterling File Gateway cannot access myFileGateway.

Send a File Using myFileGateway (Build 5008 or Later)

To send a file:

1. In myFileGateway, click on the Upload tab.

Only mailboxes that you have upload permission to are displayed in the list.

2. Select the mailbox path where the file should be dropped off.

3. Enter the name and location of the file or browse to the file to be uploaded.

4. If you want to rename the file, enter the new file name.

5. Click Send.

Note: During the file transfer, a popup box appears indicating that the file upload is in progress. If youclick Cancel, the transfer is stopped. If a session times out, a notification is posted. You cannot performany other functions in myFileGateway while the upload is in progress. If the file is very large and the sessiontimes out during the upload, the upload is not affected. The file upload continues in the background despitethe session time out. After the upload completes, a popup box indicates that the session has timed out andthe file upload is complete.

Build 5008 Updates40

Page 41: Build 5008 Updatespublic.dhe.ibm.com/software/commerce/doc/sfg/v2r0/SFG20... · 2013-05-29 · What's New in Build 5008 New in This Release The following enhancements are included

Retrieve a File Using myFileGateway (Build 5008 or Later)In myFileGateway, Partners retrieve a file from a mailbox.

To retrieve a file:

1. From myFileGateway, click on the Download tab.

2. Select a file from the list of files. Only files present in the mailbox that you have permission to downloadare provided in the list. You can filter the list for specific character strings. Enter the characters in the fieldabove the column headings.

Note: The filter finds any occurence of the requested string. For example, if you want to find records fromthe date that contain a 13, the filter will also return records that have a 13 in the time field, or any otherfield.

3. Select whether to open or save the file.

4. To save the file, browse to the location for the file to be saved. Select the location and click Save.

Note: During the file transfer, if you click Cancel, the transfer may or may not be stopped, depending onthe size of the file and rate of transfer. Click Refresh to see if the file is still available for download. If thecancel was received before the transfer, the file will still be available in the list. If you clicked cancel afterthe file was transferred, the file will not be listed anymore.

41© Copyright IBM Corp. 2013

Page 42: Build 5008 Updatespublic.dhe.ibm.com/software/commerce/doc/sfg/v2r0/SFG20... · 2013-05-29 · What's New in Build 5008 New in This Release The following enhancements are included

Index

C

checklistSterling File Gateway 23

Build 5008 Updates42