You are currently reviewing an older revision of this page.
The first thing to note is that EToN Attachments are not files sent via web services. When sending an attachment in a notice, you actually send part of a URL to where the recipient can obtain a file, such as an image or document. Your operational district (OD) data file will contain the first part of any attachment URL, and the notice will contain the rest. For example your OD file would contain the first part the notice URL (ftp://ftp.bentley.com/attachments) and the notice will contain the second part (/12345.jpg).
The receiver of a notice with an attachment should then have an option to view it. The software does this by piecing the 2 parts described above together and presents the URL to your default internet browser. (ftp://ftp.bentley.com/attachments/12345.jpg)
To configure attachments you first need to setup an Oracle database directory to point to a directory on your database server, which is where all out bound attachments should be downloaded to when sending a notice with attachments declared.
Within the HIG1895 Directories form, change the File System Path for the TMA_ATTACHMENTS_DIRECTORY Oracle directory, to a suitable location on your database server. Next assign a role such as TMA_USER and apply the necessary permissions via the Java Role Privs tab.
For example:
NOTE: Changes to Java permissions only take effect on new sessions. Before you start testing the feature, close all internet browser windows and log in to the application again.
Next you need to configure a process to allow external users to view these files. We do not recommend that you allow users to access the files directly on your database for security reasons. One solution is to create a process to move any files in the directory to an FTP site. You then need to declare the location of the FTP site in your OD data as the Attach URL.
NOTE: If an FTP site is not suitable for your business, an alternative is to use a HTTP server. For example you could enable Windows IIS services on your EToN Web Server, then create a virtual directory to point to where you are storing your attachment files. You would then declare your Attach URL as the address of the virtual directory on your EToN Web Server.
There is lots of information on the internet on how to do this, but the following links are a good start:
How to enable IIS services: http://msdn.microsoft.com/en-us/library/ms181052(v=vs.80).aspx
How to create a virtual directory in IIS 7.0 http://msdn.microsoft.com/en-us/library/bb763173.aspx