Hi Ritesh,

On 17/04/15 18:53, ritesh roushan wrote:
> when I click on item list, pdf is just downloading. I want it to 
> display. how can I do this?

The behaviour depends on the file size -- have a look at this dspace.cfg 
setting here: 
https://github.com/DSpace/DSpace/blob/dspace-5.1/dspace/config/dspace.cfg#L1523

However, DSpace only sends a "hint" to the browser and each browser 
interprets this differently. So you cannot reliably force all browsers 
to have the same behaviour around this. See eg 
http://stackoverflow.com/questions/1395151/content-dispositionwhat-are-the-differences-between-inline-and-attachment
 
for some more information.

cheers,
Andrea

-- 
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand


------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to