Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Manually triggering the save function

New Here ,
Jan 22, 2021 Jan 22, 2021

Is it possible to trigger the save function from outside the frame? I have some UX issues with many other buttons for other usecase-specific functionalities, and not having the save button among them is somewhat confusing to the user. 

517
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jan 22, 2021 Jan 22, 2021

Yes... sort of... I have an example at this CodePen.

The idea is with every change to the PDF, you create the object to be saved using the Embed API. Your button then executes the save action. In my example, it creates a data URL so you can download the file but you can do whatever you need.

Translate
Community Expert ,
Jan 22, 2021 Jan 22, 2021
LATEST

Yes... sort of... I have an example at this CodePen.

The idea is with every change to the PDF, you create the object to be saved using the Embed API. Your button then executes the save action. In my example, it creates a data URL so you can download the file but you can do whatever you need.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources