IBM Sterling File Gateway: Customizando a interface do MyFilegateway

= Procedure =

1) Go to directory

cd /container/Applications/myfilegateway/isomorphic/skins

2) Create a copy of FileGateway_v001 directory

cp -Rv FileGateway_v001 FileGateway_v100

3) Go to directory

cd /container/Applications/myfilegateway/isomorphic/skins/FileGateway_v100/

4) Edit file and change directory value on line 54

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

5) Go to directory

cd /container/Applications/myfilegateway/isomorphic/skins/FileGateway_v100/brandingcontent

6) Change files


 * header.txt
 * footer.txt

7) Overwrite files

cp header.txt myFgHeader.txt cp footer.txt loginFooter.txt

8) copy the content to file customer_overrides.properties

filegateway_ui.myfgWindowTitle=My Company File Transfer filegateway_ui.myfgSkinName=FileGateway_v100
 * 1) Branding UI MyFilegateway
 * 1) Branding UI MyFilegateway

9) Apply Changes

/bin/hardstop.sh /bin/deployer.sh /bin/run.sh

= Errors and Solutions =

After upgrading to 6.1.2.x, rebranding MyFileGateway fails with 404
This error happens when call load_skin.js

GET http:// :5001/myfilegateway/isomorphic/skins/FileGateway_v100/load_skin.js?isc_version=v12.1p_2021......js net::ERR_ABORTED 404 (Not Found)

To solve this problem

1) edit file /container/Applications/myfilegateway/WEB-INF/classes/security_filter.properties

2) On line 21, after the text

loginjs7_1=/${WEBAPP_CONTEXT_NAME}/isomorphic/skins/${WEBAPP_CONTEXT_NAME}/load_skin.js

add the following:

loginjs7_2=/${WEBAPP_CONTEXT_NAME}/isomorphic/skins/${filegateway_ui.myfgSkinName}/load_skin.js

3) Apply Changes

/bin/hardstop.sh /bin/deployer.sh /bin/run.sh

= Ver também =


 * IBM Sterling File Gateway: Criando uma Comunidade


 * IBM Sterling File Gateway: Criando um Parceiro


 * Artigos sobre IBM Sterling