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

Manually triggering the save function

New Here ,
Jan 22, 2021 Jan 22, 2021

Copy link to clipboard

Copied

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. 

Views

342

Translate

Translate

Report

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.

Votes

Translate

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

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

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