Difference between revisions of "Unable to View pdf Attachments"

From SDU
Jump to: navigation, search
m
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Solutions]]
+
__NOTOC__
By default, while r11.x allows the uploading of pdf files as [[Attachment|Attachments]], it does not permit the viewing of them. To add this capability, follow these simple procedures:
+
[[Category:Configuration]]
 +
[[Category:r6]]
 +
[[Category:r11]]
 +
{{Global Header}}
 +
{{Global Announcement}}
  
# Access '''[[web.xml]]''' located in [[NX_ROOT]]/bopcfg/www/CATALINA_BASE/webapps/CAisd/WEBINF
+
== Overview ==
# The [[web.xml]] file contains pairings of param-name and param-value. Search for the param-name of '''save_as_dialog_ext'''.
+
By default, while r11.x allows the uploading of pdf files as Attachments, it does not permit the viewing of them.
 +
 
 +
== Procedures ==
 +
To add this capability, follow these simple procedures:
 +
 
 +
# Access '''web.xml''' located in [[$NX_ROOT]]/bopcfg/www/CATALINA_BASE/webapps/CAisd/WEBINF
 +
# The web.xml file contains pairings of param-name and param-value. Search for the param-name of '''save_as_dialog_ext'''.
 
# Add pdf to the end of the string in the param-value that follows.
 
# Add pdf to the end of the string in the param-value that follows.
  
 
Example:
 
Example:
<!--html--><div class='htmltop'>HTML</div><div class='htmlmain'><!--html1--><<span style='color:blue'>param-name</span>>save_as_dialog_ext<<span style='color:blue'>/param-name</span>> <br> <<span style='color:blue'>param-value</span>>eml,doc,zip,gz,tar,xls,rtf,ppt,pps,msg,pdf<<span style='color:blue'>/param-value</span>><!--html2--></div><!--html3-->
+
<source lang=xml>
 +
<param-name>save_as_dialog_ext</param-name>
 +
<param-value>eml,doc,zip,gz,tar,xls,rtf,ppt,pps,msg,pdf</param-value>
 +
</source>

Latest revision as of 16:46, 1 September 2008

To make corrections or additions to this article, select the edit tab above.
To discuss or ask questions about this article, select the discussion tab above.

Overview

By default, while r11.x allows the uploading of pdf files as Attachments, it does not permit the viewing of them.

Procedures

To add this capability, follow these simple procedures:

  1. Access web.xml located in $NX_ROOT/bopcfg/www/CATALINA_BASE/webapps/CAisd/WEBINF
  2. The web.xml file contains pairings of param-name and param-value. Search for the param-name of save_as_dialog_ext.
  3. Add pdf to the end of the string in the param-value that follows.

Example: <source lang=xml> <param-name>save_as_dialog_ext</param-name> <param-value>eml,doc,zip,gz,tar,xls,rtf,ppt,pps,msg,pdf</param-value> </source>