Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to get the current card ID without the url

Adam Ding September 23, 2019

I'm working on a custom power up and I would like to get the id of the card I'm currently looking at when I click my power up, however my iframe is on another domain therefore I cannot use 

parent.document.location 

I have also tried

document.referrer

 and

document.location.ancestorOrigins[0]

 but they both only give "trello.com" without specifying the card id.

 

So is there another way to get the current card id? Thanks in advance.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events