Skip to main content
Participant
October 25, 2022
Answered

PDF Embed API: Allow annotations an disable save and download button

  • October 25, 2022
  • 1 reply
  • 903 views

In the Annotations API overview (https://developer.adobe.com/document-services/docs/overview/pdf-embed-api/howtos_comments/) it is explained that when enableAnnotationAPIs and includePDFAnnotations are both true, the Save and Download button are enabled. However, this is not ideal.

 

Is there a way to disable the save and download buttons when both enableAnnotationAPIs and  includePDFAnnotations are true? Attempting to set showDownloadPDF to false no longer works unfortunately.

 
This topic has been closed for replies.
Correct answer 267756059igk

Figured out a way to hide both.

https://developer.adobe.com/document-services/docs/overview/pdf-embed-api/howtos_ui/#save-callback

If a save callback is not registered, the download button appears. After registering the save callback, you can set showSaveButton to false

1 reply

267756059igkAuthorCorrect answer
Participant
October 25, 2022

Figured out a way to hide both.

https://developer.adobe.com/document-services/docs/overview/pdf-embed-api/howtos_ui/#save-callback

If a save callback is not registered, the download button appears. After registering the save callback, you can set showSaveButton to false