Skip to main content
Participant
January 22, 2021
解決済み

Manually triggering the save function

  • January 22, 2021
  • 返信数 1.
  • 595 ビュー

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. 

    このトピックへの返信は締め切られました。
    解決に役立った回答 Joel Geraci

    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.

    返信数 1

    Joel Geraci
    Community Expert
    Joel GeraciCommunity Expert解決!
    Community Expert
    January 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.