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

How to know from which template a page has been spawned

Participant ,
May 06, 2020 May 06, 2020

Copy link to clipboard

Copied

Dear Forum,

How can I know the template reference from which a page has been spawned ?

Is there a page status available that can be used with javaScript ?

 

Use case

1) I spawned a page from "Template_01", and this new page it the page number 10

2) I would like to determine, starting with the page 10, that this page comes from the Template_01

 

Thank your in advance.

TOPICS
Acrobat SDK and JavaScript

Views

346

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 , May 06, 2020 May 06, 2020

On the template page you can use a hidden form field with the name of the template.

Votes

Translate

Translate
Community Expert ,
May 06, 2020 May 06, 2020

Copy link to clipboard

Copied

When the template has form fields and you spawn the template with the rename option the template name will part of the field names.

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
Participant ,
May 06, 2020 May 06, 2020

Copy link to clipboard

Copied

Hi.

I use (and I need to) bRename = false, in this case...

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 ,
May 06, 2020 May 06, 2020

Copy link to clipboard

Copied

LATEST

On the template page you can use a hidden form field with the name of the template.

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