Editing default file paths in System Properties for multiple computers and multiple Hypertext Transfer Protocol servers

Once you modify the location of the doclinks directory, you can use the Systems Properties application to edit the specified file paths in the system. This task is for both WebSphere® Application Server and WebLogic Server, and for systems running Windows or UNIX operating systems.

Before you begin

You must have authorization to edit file paths in the Attached Documents action.

Procedure

  1. Log in to the system and go to System Configuration. Select Platform Configuration and then System Properties.
  2. Configure the following properties for the Attached Documents action:
    Property Description Global value
    mxe.doclink.doctypes.defpath The default file directory to use for folders in the library that do not have a default path specified in the database. Files for these folders are uploaded to the location, mxe.doclink.doctypes.defpath.
    • Windows: H:\doclinks
    • UNIX: /d01/doclinks
    mxe.doclink.maxfilesize The maximum size (in MB) for a file that you can upload to the Attached Documents Library folder.

    Use the default value of 10 MB (10 = 10 MB) or replace it with a lesser value.

    Do not set the maximum file size to a value that exceeds the computer system capacity. If you do, a system error, OutOfMemory, occurs and the application server shuts down. To correct this error, change the value to less than 10 MB and restart the application server.

    If the value is set to 0, the system allows all file sizes to be uploaded. However, there is the risk of OutOfMemory errors if a user uploads a large file size that exceeds system capacity. To correct this error, change the value to less than 10 MB and restart the application server.

    mxe.doclink.path01
    • The HTTP server path to link documents that are attached records.
    • Use the following statement: <Value specified in the default path of a folder> = <URL from where the files are served>

      The system reads the string, <Value specified in the default path of a folder>, and replaces it with the string, <URL from where the files are served>.

      For example, in Windows, the default file path for stored documents is H:\doclinks\diagrams.

      A user adds a document, diagram123.dwg, to the diagrams folder. The document is copied from the source to: H:\doclinks\diagrams.

      The mxe.doclink.path01 property converts the file path to http://localhost/doclinks/diagrams. The link to view this file is http:// localhost/doclinks/diagrams/ diagram123.dwg.

    • Windows: H<PATH>\doclinks=http://dochostA
    • UNIX: /d01/doclinks=http://dochostA
    mxe.doclink.path02

    The HTTP server path to link documents attached to system records.

    Used to convert specified file paths of folders to URLs.

    • Windows: I<PATH>\doclinks=http://dochostB
    • UNIX: /d02/doclinks=http://dochostB
    mxe.doclink.path03

    The HTTP server path to link documents attached to records.

    Used to convert specified file paths of folders to URLs.

    • Windows: J<PATH>\doclinks=http://dochostC
    • UNIX: /d03/doclinks=http://dochostC
    mxe.doclink.multilang.aix.websphere Indicate whether the application is running on AIX® WebSphere Application Server platform. The default value is false.
    • Change the value to true if it is running on AIX WebSphere Application Server platform.
    • Set the value to false if the application is running on other platforms, such as a system other than WebSphere Application Server on AIX.

    Because multiple entries are allowed (by default, up to 10) to convert file paths, you can set up your system so that each document folder uses different servers or directories. In the mxe.doclink.pathnn property, the dochost in the path must be a fully qualified server name.

  3. Restart the application server.


Feedback