Regarding pdf should be open on sitecore page

Hi Team, 

I am creating page 

URL : domainname/download/guid

i need to open pdf on sitecore item itself.  please have any blog relevant. 

 

 

Thanks,

  • Hi Arvind,

    The default behavior for Sitecore is to download the media file when clicked or rendered. There is one setting which you can change i.e. ForceDownload to false which will open the Media files in new tab.

    Blog which you can refer is here - blogs.perficient.com/.../

    Hope it helps..