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

JSX: Passing values param from html to jsx

Explorer ,
Mar 28, 2022 Mar 28, 2022

Copy link to clipboard

Copied

Hello,

i have attached a file, where you can see some PProPanel sample code.

Lets say i want to use a string in the function $._PPP_.getnumAEProjectItems(). How do i pass this from the html? Couldnt figure it out but my guess is, that "$._PPP_.getnumAEProjectItems()" is the passed param for "evilscript" and i cant define a param in a param.

 

greetings

TOPICS
SDK

Views

172

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

Adobe Employee , Mar 28, 2022 Mar 28, 2022

See PProPanel/index.html's implementation of "newseqfrompreset"; it builds up the necessary parameters at the JavaScript (html) level, then passes them to evalScript.

https://github.com/Adobe-CEP/Samples/blob/1c08d2c74b7ae7c1cd418fab4578c080a3241a1b/PProPanel/index.html#L144

Votes

Translate

Translate
Adobe Employee ,
Mar 28, 2022 Mar 28, 2022

Copy link to clipboard

Copied

LATEST

See PProPanel/index.html's implementation of "newseqfrompreset"; it builds up the necessary parameters at the JavaScript (html) level, then passes them to evalScript.

https://github.com/Adobe-CEP/Samples/blob/1c08d2c74b7ae7c1cd418fab4578c080a3241a1b/PProPanel/index.h...

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