In this procedure I will use [IHSDIR] and [DOCLINKSDIR] tags to identify IBM HTTP Server and attachments home directory respectively. Replace those tags according to your environment. Here are the default values.
Windows
- [IHSDIR] - C:\Program Files\IBM\HTTPServer
- [DOCLINKSDIR] - C:\doclinks
UNIX
- [IHSDIR] - /home/IBMHTTPD
- [DOCLINKSDIR] - /home/doclinks
Attachment repository
First of all you have to create the create the [DOCLINKSDIR] directory to store your attachments. For example: C:\doclinks for Windows or /home/doclinks for UNIX.
This directory must be accessible from both the application servers and from the web servers. If you have a simple environment running on a single system you are done. Otherwise you have to share this directory and mount it on all the involved servers. This article describes several techniques to configure such environment on Windows systems.
IBM HTTP Server configuration
The second step is to publish the [DOCLINKSDIR] directory through the HTTP Server. This will allow to retrieve the attachments stored in it from the users web browser.
- Locate the configuration directory of the IBM HTTP Server . For example C:\Program Files\IBM\HTTPServer\conf for Windows and /home/IBMHTTPD/conf for UNIX
- Backup httpd.conf file
- Open the httpd.conf file with a text editor
- Find 'DocumentRoot' and change like below
DocumentRoot "[DOCLINKSDIR]"
- Find '# This should be changed to whatever you set DocumentRoot to.' and change like below
<Directory "[DOCLINKSDIR]">
- Save and close httpd.conf file
- Restart the HTTP Server
- Verify that the HTTP Server is configured correctly
- Create a test file text.txt into [DOCLINKSDIR] directory
- Open a web browser and type in address: http://[MXHOSTNAME]/test.txt where [MXHOSTNAME] is the hostname of your server
- You should be able see your test.txt document in this window. If you cannot open the test file, you must go back and check the configuration steps.
Maximo configuration
The last step is to configure where Maximo will store the attachments and how it will retrieve them.
- Login to Maximo with administrative rights
- Go To - System Configuration - Platform Configuration - System Properties
- Set the following properties according to your configuration
mxe.doclink.doctypes.defpath = [DOCLINKSDIR]
mxe.doclink.path01 = [DOCLINKSDIR] = http://[MXHOSTNAME]
Note: These paths in Windows and Unix are case sensistive. - Reload the properties with a ‘Live Refresh’ or restart application server
Go To any application which has attachments and select Action > Attachment Library/Folders > Manage folders. Set or check the following:
- Attachments: [DOCLINKSDIR]\attachments
- CAD: [DOCLINKSDIR]\cad
- Diagrams: [DOCLINKSDIR]\diagrams
- Images: [DOCLINKSDIR]\images
Finally test that everything is working fine.
References
Source:http://maximodev.blogspot.com/2014/06/attachments-doclinks-configuration.html
Training for medical doctors?
BalasHapusdoctor
Very interesting topic, can you post some further information on this subject.
BalasHapussculpsure near pasadena
I wanted to thank you for this great blog! I really enjoying every little bit of it and I have you bookmarked to check out new stuff you post.
BalasHapusprivate equity