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

Integration of an Api for dynamic QR Codes in Indesign

New Here ,
Jan 29, 2020 Jan 29, 2020

Hello,

Is it possible to generate dynamic QR Codes via an API interface with Indesign?

We have created a PDF template and have some input fields. These input fields should generate a QR Code.

Has anyone ever implemented this before?

TOPICS
How to , Import and export , Scripting
2.3K
Translate
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 ,
Jan 29, 2020 Jan 29, 2020

Do you mean via scripting? You can script QR code creation, but you would have to build the dialog in the script.

 

Here’s the Javascript API

 

https://www.indesignjs.de/extendscriptAPI/indesign10/#Document.html#d1e47196__d1e51535

Translate
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 ,
Jan 29, 2020 Jan 29, 2020
Translate
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 ,
Jan 30, 2020 Jan 30, 2020

It can be done with javascript as Rob mentions. I have used it in one of my older scripts - https://colecandoo.com/scripts/ (look for Data Merge Colored QR Code Maker).

Otherwise, there is an SDK available here: https://www.adobe.com/devnet/indesign/sdk.html

Rob's link is for an older version of InDesign but this API - both hosted by PublishingX - is for CC 2020: https://www.indesignjs.de/extendscriptAPI/indesign-latest/#about.html

If the answer wasn't in my post, perhaps it might be on my blog at colecandoo!
Translate
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 ,
Jan 30, 2020 Jan 30, 2020
LATEST

You now have a PDF template but you want InDesign to create its QR codes?

 

I get the impression that you want to send that PDF around, to have others fill in the input fields and they'd actually see the QR codes appear in that same PDF. That is unrelated to InDesign.

(Not that it could not be made to work. But you'd have to send InDesign around too, with your PDF, as "engine" to run your program. Adobe would not like that.)

 

How to run Javascript -- or anything else related -- inside a PDF is better asked in the Acrobat forum: https://community.adobe.com/t5/acrobat/bd-p/acrobat?page=1&sort=latest_replies&filter=all

Translate
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