Where is the relationship for an embedded list called?

Patrick55
Giga Expert

So I understand that the refineQuery(current, parent) function within a relationship sets up a query that can be used to pull records for a embedded/related list.

Where exactly does this query actually get executed? .query() or .next()?

I'm struggling with an embedded list not updating with a field change on the form.

14 REPLIES 14

Sorry I don't quite understand the big picture of what you're trying to do.  You might have your Parent and Current objects reversed.

 

Parent is applies to table

Current is the queries from table.

No worries, I appreciate the help, I'm going to refocus my question and ask it in a different but more specific way another time.

You're welcome! 🙂

That query is used (server side!) whenever the form containing the embedded list is loaded. Or when the refresh API is executed.

And sorry for the delay, it is only now that SN showed me that there has been an update to this thread!?!?

I know I was getting emails this morning about it hahaha