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

Can we add a previous view script to a button within the PDF?

Community Expert ,
Jun 18, 2018 Jun 18, 2018

Copy link to clipboard

Copied

Is it possible to add a button to a PDF that acts just like the 'Previous View' action you get when you go to View>Page Navigation>Previous View?

TOPICS
Acrobat SDK and JavaScript , Windows

Views

457

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
Community Expert ,
Jun 18, 2018 Jun 18, 2018

Copy link to clipboard

Copied

Hi,

app.goBack should do this for you as it goes back to the previous view on the stack.

Hope this helps

Malcolm

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
Community Expert ,
Jun 18, 2018 Jun 18, 2018

Copy link to clipboard

Copied

LATEST

Thanks for your reply, I have just realised that I can execute it from the menu list.

Thanks again.

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