Self Service solution attachments are configured using the /atg/svc/epub/file/
SolutionAttachmentFileSystem
and the solutionAttachmentFileAsset file asset type.

  1. Add the SolutionAttachmentFileSystem to your Self Service server(s). You can install it on a single Self Service server if the deployment location is accessible by all of the Self Service servers within your environment. Or the attachments can be deployed to each Self Service server by providing each server with its own local copy of the attachments.

    Note: The SolutionAttachmentFileSystem should not be installed on the Knowledge Manager servers.

  2. By default, solution attachments are deployed to the <ATG10dir>/home/doc directory. However, this requires the EAR file to be exploded in order to allow for deployment, as the deployment systems cannot use a standalone packed EAR file. To use a packed EAR, you must modify the SolutionAttachmentFileSystem configuration and add a localDirectory attribute on your Self Service servers to point to a location that is accessible by Self Service that is outside the /home directory.

  3. Launch the Service Administration tool (http://hostname:port/atg/bcc). Go to Service Administration > Service Administration Configuration > Service Project > Self Service > Global Self Service Settings. In the PublishingWebAgent content deployment URL field, enter the URL for your 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.

  4. Make sure your server can deploy to the /atg/epub/file/
    SolutionAttachmentFileSystem
    directory.

  5. Go to the Business Control Center > Content Administration > Administration Console > Configuration. Select the name of your Self Service server. In the screen that appears, click on the Agents tab.

    Below the Agent Name, make sure /atg/epub/file/
    SolutionAttachmentFileSystem
    appears in the Destinations area. If it does not appear, click on the agent name to add this directory to the list of Included File Systems and save changes.

  6. Use the ACC to open the /atg/svc/repository/service
    /util/AttachmentUtils
    component.

  7. Change the value of the documentRootFolder attribute from /svc/documents to the name of the directory you wish to use.

  8. Change the value of the imageRootFolder attribute from /svc/images to the name of the directory you wish to use.

  9. Save the changes. After adding the SolutionAttachmentFileSystem to the Self Service publishing agent, you must perform a full deployment.


Copyright © 1997, 2012 Oracle and/or its affiliates. All rights reserved. Legal Notices