I am pretty new to Tulip and diving head first into this, so I’m sorry if I ask some really obvious questions. I’ve been searching the KB and this forum to get up to speed, but I am still struggling.
First, the actual question.
I am trying to make a trigger so that
When a user clicks a row in a grid in an app
Store a field from that row in a variable
Look up the field in a Tulip Table (FirstOrDefault kind of thing)
Return that value in a variable
How do I do that? Can I query a Tulip Table with a where clause or something? I know the table in question will return multiple rows but I just want one value. They should all be the same value, so the first one is just fine.
hello @JasonMcD, thanks for the introduction. welcome to the Tulip Community!! this is certainly the right place as you learn the platform. feel free to go introduce yourself also here: Welcome to the Community, let's meet! also!!
regarding your question, what are you referring to with the grid in your app??
if you embed an Interactive Table, you will be able to link a Table Record Placeholder directly to that Interactive Table that will pull all information everytime a Record is Selected. here’s a quick example:
Interactive Table (note the Record Placeholder on the left and the Linked Record on the right):
furthermore, you can add a Trigger to execute every time a Record is selected. in this example, it’s showing a message, but you could just as easily Run a Connector Function:
OK, you can access any the WI in the object once you’ve linked it to the Interactive Table in the Expression Editor (without having to call the Table). in your App, you will see the same but @Variable.Selected Item.WI:
no problem @JasonMcD!! great to see you getting into Tulip so quickly.
yes, the Table API certainly opens a lot of opportunities. and creating good Table structures is important for the platform to work well, let us know how it goes!!
To close the loop on this, we had a eureka moment today. We plan to move the kit ID table to the ERP system, so that I can cross-reference it ahead of time and have it in the connector ready to go.
that’s a great to hear @JasonMcD, that seems like a good solution!!
it would be awesome if you could share how the integration works on Show and tell - Tulip Community as I know there are other users looking into to connecting to EPICOR (including @hwagner).