It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to get the current card ID without the url Edited

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
Community showcase
Published in Trello

Develop a new Habit during Lockdown

If you had to thrive a new habit during a lockdown, what would it be? Trello

1,631 views 15 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you