button popup on card

  • 1
  • Question
  • Updated 1 year ago
  • Answered
I have began using cards.  I have two buttons on each card.  The first goes to a url and the second is to a popup edit screen.  When I press on the 2nd or 3rd button it always uses the first card.  How do I get the buttons to use the correct card?
Photo of Bill Fox

Bill Fox

  • 7,954 Points 5k badge 2x thumb

Posted 1 year ago

  • 1
Photo of Skuidward Tentacles (Raymond)

Skuidward Tentacles (Raymond), Champion

  • 17,224 Points 10k badge 2x thumb
You can create a model just for your edit component. Put a condition on it of ID = specific value and leave the value blank. Set the condition to filterable default on.
Then, in your button actions, add a couple steps:
1) activate and set value of the condition to ID
2) query your edit model
3) open the pop up window.

Make sure the field editor in your pop up is set to the new model you created.
Photo of Amy Dewaal

Amy Dewaal, Official Rep

  • 8,200 Points 5k badge 2x thumb
Another option is to add a context condition on your button set component