Questions tagged [pdf]

The PDF (Portable Document Format) is a file format. Any question related to this file format in Sitecore environment, may this this tag.

Filter by
Sorted by
Tagged with
5 votes
1 answer
3k views

How to display PDF link in Sitecore page

I'm using Sitecore 9 and SXA 1.7. I have a few PDF files that I have uploaded into media library/files/myfolder, and an "instructions" template whose fields are title (type: single line text), Date (...
Mie ElMansy's user avatar
4 votes
1 answer
406 views

How to download a PDF file from Sitecore Form(9.2) custom submit action

I have a pdf file of the type byte array. Using Sitecore form custom submit action, I need to download/open the same as pdf in the user's machine. I tried to achieve the same by adding response ...
iMathi's user avatar
  • 61
3 votes
2 answers
940 views

How to read PDF files from multilist using glass mapper?

I have uploaded all PDF files under media library. In one of my template, I added multilist with datasource to the pdf files which are created under media Library. Now in my code,I have to read the ...
Sudheer Suggu's user avatar
2 votes
2 answers
294 views

Media library item (pdf) reachable after unpublish/not publishable

In Sitecore 9.1.1 I have some PDF documents in the media library that i've "unpublished" (unchecked the publishable publish setting) Then smart-publish parent folder, subitems and all ...
Filip Jönsson's user avatar
1 vote
2 answers
963 views

Chrome icon coming for pdf's in media library instead of PDF icon

When I tried to upload a pdf file in Media library I am getting chrome symbol as icon instead of pdf icon. I tried in vanilla instance where everything works fine. I checked the template's icon and it ...
Anjo's user avatar
  • 405
1 vote
1 answer
3k views

How to open pdf in browser instead of downloading in sitecore site? [closed]

I have referred the below link to make the pdf open in browser instead of downloading Configuring Sitecore to display PDFs in browser The pdfs are still getting downloaded I have done the below config ...
user3267206's user avatar
1 vote
0 answers
169 views

Link external resource in sitecore 9.3 media library

We have a Sitecore 9.3 instance running a site. Our problem is that resources uploaded on the Media Library occupy too much disk space. We want to create a custom media library object that links to a ...
Swinz's user avatar
  • 11
1 vote
0 answers
354 views

PDF files downloading rather than opening in a tab

We recently upgraded to Sitecore 9 and noticed that our PDF links are now downloading rather than opening in a new tab. I have tried changing the forceDownload in the the Sitecore.config to false, ...
Olivia Shettles's user avatar
0 votes
1 answer
530 views

Best way to configure search for multiple paths, templates?

We want to build a search interface that pulls results both from media library and different content paths, to include both pdf and standard content items. What is the best way to structure the ...
chipsterva69's user avatar
0 votes
1 answer
112 views

Convert files to PDF when uploading to media library

Is there any built-in mechanism to convert files to PDFs when uploading them to the media library, or does someone know of functionality that can accomplish same?
Ken McAndrew's user avatar
  • 5,092
0 votes
2 answers
107 views

Possible to retrieve PDFs deleted from the media library or retain their URL for new version?

I have deleted some PDFs from the Sitecore media library by replacing them with new PDFs which were already added to the library. As a result, the media URL is now changed. The owner now says they ...
TPTP's user avatar
  • 1
0 votes
1 answer
336 views

PDF items are not getting indexed and not listed in multilist with search [closed]

I have upgraded Sitecore 8.1 to 9.1 and now in 9.1 PDF items are not getting indexed and also they are not getting listed in a multilist with search field.
user5506's user avatar
0 votes
0 answers
202 views

How to display PDF link in SXA

I'm using Sitecore 9.1 and SXA 1.8. I have a few PDF files in my website. How to implement PDF Download in SXA (Sitecore fields Description-Text and PDF-Link)? When visitor clicks Description-Text ...
test's user avatar
  • 1
0 votes
0 answers
290 views

Returning a file stream from a Controller

I have pdf files in folder, I want user enable to download file, in MVC controller its quite simple as below return File(fileBytes, System.Net.Mime.MediaTypeNames.Application.Octet, filename); but ...
sairfan's user avatar
  • 131
0 votes
0 answers
86 views

Uploading a PDF is stripping off accessibility data

The PDF file format is very versatile, and one of the things it can contain is accessibility information. (Metadata for the benefit of screen readers, etc.) On our Sitecore 8 install, we have PDFs ...
Mason Wheeler's user avatar