Skip to main content
Nintex Community Menu Bar
Question

Page Include popup child records

  • July 11, 2024
  • 3 replies
  • 17 views

Forum|alt.badge.img+7

I have a table displaying Accounts and a row action show popup with a pageinclude of the related Contacts.   I am unable to retrieve the correct Contacts in the page include as it always pulls the Contacts for the first Account in the table row.  

My page include query string is:  account_id={{$Model.Accounts.data.0.Id}}.   And the condition on the page include Contacts table is set to query on page load with the settings shown below.
Any suggestions on what I am doing wrong greatly appreciated!  I swear I had it at one point but not sure how.  Thanks!  (Milau 11.1)
b13726034f3aeafd04f994c370d24cc3ef728e70.png



This topic has been closed for replies.

3 replies

Forum|alt.badge.img+9

That 0 in the merge value is item 0 in the Accounts model data - by definition, the first row. You should be able to just use account_id={{{Id}}}. (You might need the triple mustache here.)


Forum|alt.badge.img+7
  • Author
  • July 11, 2024

That did it!!  Used triple brackets.   Thank you Mike!!


Forum|alt.badge.img+3

Here when you said {{$Model.Accounts.data.0.Id}}, it will always take Id from the first row in Accounts model. If I am not wrong, you can just use {{{Id}}} to pass the Id of the Account record on which you were clicking this page action from.