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
0
votes
2answers
36 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 ...
3
votes
1answer
111 views

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

I have a pdf file of type byte array. Using Sitecore form custom submit action, I need to download / open the same as pdf in users machine. I tried to achieve the same by adding response headers for ...
1
vote
2answers
113 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 ...
0
votes
0answers
100 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 ...
0
votes
0answers
126 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, ...
0
votes
0answers
118 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 ...
1
vote
1answer
1k 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 ...
0
votes
0answers
152 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 ...
0
votes
0answers
63 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 ...
0
votes
1answer
261 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.
3
votes
2answers
748 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 ...
5
votes
1answer
2k 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 (...
0
votes
1answer
411 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 ...
0
votes
1answer
90 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?
1
vote
2answers
748 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 ...