How can I get a table element in forge macro?

今井 大樹 December 21, 2022

I want to get the table elements placed in the page with the forge macro.
However, when I use

document.getElementsByTagName("table")

, the retrieved table element is 0.
I am assuming that this is due to the fact that the above code is written in App.js, so the scope is different.
If anyone knows a better way to do this, please let me know.
Table using the standard "Insert Table" macro.

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events