To configure attachment settings on your ATG Self-Service server:
Configure your ATG Self Service server so that the top-level directory for your documents and images (by default,
/svc
) is served from the local file system.Launch the ATG Service Administration tool (
http://
hostname
:
port
/admin
). Go to ATG Self Service > General Settings. In thePublishingWebAgent
content deployment URL field, enter the URL for your ATG Self Service web site. For example,http://
hostname
:
port
/service
.For the default port, see the ATG Installation and Configuration Guide for information on your application server.
Make sure your server can deploy to the
/atg/epub/file/WWWFileSystem
directory.Launch the BCC (
http://
hostname
:
port
/atg/bcc
).In the left-hand pane, go to Business Control Center > Admin Console > Configuration.
Select the name of your ATG Self Service server. In the screen that appears, click on Agents.
Below the Agent Name, make sure
/atg/epub/file/WWWFileSystem
appears in the Destinations area. If it does not appear, click on the agent name to add this directory to the list of Destinations and save changes.Use the ACC to open the
/atg/svc/repository/service/util/AttachmentUtils
component.Change the value of the
documentRootFolder
attribute from/svc/documents
to the name of the directory you wish to use.Change the value of the
imageRootFolder
attribute from/svc/images
to the name of the directory you wish to use.Save the changes to the live state, and start the component.