Difference between revisions of "Unable to View pdf Attachments"

From SDU
Jump to: navigation, search
(New page: By default, while r11.x allows the uploading of pdf files as Attachments, it does not permit the viewing of them. To add this capability, follow these simple procedures: # Access web.xml ...)
 
Line 1: Line 1:
 +
[[Category:Solutions]]
 
By default, while r11.x allows the uploading of pdf files as Attachments, it does not permit the viewing of them. To add this capability, follow these simple procedures:
 
By default, while r11.x allows the uploading of pdf files as Attachments, it does not permit the viewing of them. To add this capability, follow these simple procedures:
  
# Access web.xml located in [[NX_ROOT]]/bopcfg/www/CATALINA_BASE/webapps/CAisd/WEBINF
+
# 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'''.
 
# 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.
  
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->&#60;context-param&#62;<br><!--
+
Example:
    set param to comma separated list of extentsions that override browser behavior
+
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->&#60;param-name&#62;save_as_dialog_ext&#60;/param-name&#62;<br>&#60;param-value&#62;eml,doc,zip,gz,tar,xls,rtf,ppt,pps,msg,pdf&#60;/param-value&#62;<!--c2--></div><!--ec2-->
    in the context of forcing a Save-As dialog for specific extentsion types
+
--><br>&#60;param-name&#62;save_as_dialog_ext&#60;/param-name&#62;<br>&#60;param-value&#62;eml,doc,zip,gz,tar,xls,rtf,ppt,pps,msg,pdf&#60;/param-value&#62;<br>&#60;/context-param&#62;<!--c2--></div><!--ec2-->
+

Revision as of 05:55, 15 January 2008

By default, while r11.x allows the uploading of pdf files as Attachments, it does not permit the viewing of them. 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:

CODE
<param-name>save_as_dialog_ext</param-name>
<param-value>eml,doc,zip,gz,tar,xls,rtf,ppt,pps,msg,pdf</param-value>