Copy link to clipboard
Copied
Hi,
We are using Embed PDF API. But we came across so many Accessibility issues lately.
I would like to clarify the below queries.
1. Is there any way to decouple the "Download PDF" and "Print PDF" options from Menu options and put on the Page controls or else where ?
2. Is there any way to disable / hide the "Search" option ?
3. When can we expect the Embed PDF viewer to be fully Accessibility compliant ? any rough timelines like few months ?
4. When is the next release planned for enhancements and any link to the release notes ?
Thanks,
Bhargav.
Hi Bhargav,
Answers to your queries:
1. Is there any way to decouple the "Download PDF" and "Print PDF" options from Menu options and put on the Page controls or else where ?
Ans: You can hide the download and print options from the menu (showPrintPDF: false and showDownloadPDF: false) but currently there is no support for placing these options somewhere else.
2. Is there any way to disable / hide the "Search" option ?
Ans. As rightly mentioned by @Alon5FCD, you can use the configuration e
...Copy link to clipboard
Copied
just set enableSearchAPIs: true in the preview file function feature flags. This will make the search disappear and also let you use the API to search within the PDF file
Copy link to clipboard
Copied
@Alon5FCD Thanks for this. Its working. But its not mentioned in Official Menu options documentation. I just want to double check if this part of Embed API free version ?
Copy link to clipboard
Copied
Yep, it is. When you want to implement the search yourself, you must set the flag to true, and then you can use the API for searching. You don't must use it but setting this flag to true, will eliminate the search magnifying glass
Copy link to clipboard
Copied
Hi Bhargav,
Answers to your queries:
1. Is there any way to decouple the "Download PDF" and "Print PDF" options from Menu options and put on the Page controls or else where ?
Ans: You can hide the download and print options from the menu (showPrintPDF: false and showDownloadPDF: false) but currently there is no support for placing these options somewhere else.
2. Is there any way to disable / hide the "Search" option ?
Ans. As rightly mentioned by @Alon5FCD, you can use the configuration enableSearchAPIs: true. This hides the search option in the UI and you can perform search functionality through APIs. Please have a look at the section, UI customization -> Viewer API -> Search APIs, in the official documentation.
3. When can we expect the Embed PDF viewer to be fully Accessibility compliant ? any rough timelines like few months ?
Ans. This is already in our product roadmap and we'll share more updates in the future.
4. When is the next release planned for enhancements and any link to the release notes ?
Ans. Please keep checking the Release Notes section in the official documentation for the updates.