I’ve got a custom collection with a button that opens an action sheet. How do I use the item variable in the action sheet?
Edit:
I found this post:
Is this related? Do I need {{self.data[i]}} ?
Edit 2:
I’m asking the wrong question. It does work. I can use {{item}}. Perhaps I did something else wrong earlier.
However, I want to run a query and provide the lineItemId to the query. However, I have no idea how to reference it. The following doesn’t seem to work:
Ignore the use of {{item.lineItemId}} here. This is just to check if the variable was accessible in the action sheet. This was my initial question.
How do I reference the item in the query? Or is this only possible with a script, trigger, and additionalscope ?



