Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


How to check, if page is a template?

Contributor ,
Jun 17, 2021 Jun 17, 2021

Copy link to clipboard

Copied

Hi,

by pressing a button and executing a script on a page within a PDF formular → how can I check if this / the current page is a page template (or not...)?

 

Thanks a lot!

mycc

TOPICS
Acrobat SDK and JavaScript

Views

54

Likes

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
Adobe Community Professional ,
Jun 17, 2021 Jun 17, 2021

Copy link to clipboard

Copied

Not possible.

Likes

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
Contributor ,
Jun 17, 2021 Jun 17, 2021

Copy link to clipboard

Copied

Hm, strange 😞

 

And in Acrobat there is no visual hint for a template page?

mycc_0-1623946486333.png

Thanks!

Likes

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
Adobe Community Professional ,
Jun 17, 2021 Jun 17, 2021

Copy link to clipboard

Copied

LATEST

No. What you can do, though, is add a (hidden) field to your Template pages. Then you access that field's page property and you'll know where they are.

Likes

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