find and id in javascript after openig popup with a context

  • 1
  • Question
  • Updated 3 years ago
  • Answered
when a popup is opened with a context (that contains a parent id) i need to be able to get that id from the context in a snippet in a table header on the popup

do i use {{}} ?
Photo of ktyler


  • 9,274 Points 5k badge 2x thumb

Posted 3 years ago

  • 1
Photo of Matt Sones

Matt Sones, Champion

  • 31,986 Points 20k badge 2x thumb
What do you mean by "in a snippet in a table header"?

In javascript, you should probably just use the skuid model api to get to the data.
Depending on how you're launching your snippet, it will probably have arguments[0].context, which you could also use to get the id you're looking for.