Skip to main content

I can’t seem to find in the documentation anything in regards to the syntax of the $Output merge variable. How do I go about using it? I want to reference the ID of the adopted row as well as another field.


Hello Mark,


Here is a link to the docs discussing outputs in named rows: https://docs.skuid.com/latest/en/skuid/action-framework/action-list/actions-model-data-changes.html#…


The following merge syntax should get you the Id of the row you specify in the merge. You can change the “.Id” at the end to any other field name on the row that you would like to access as well.


{{$Output.AdoptedBillings.<row_number_in_list_of_abandoned_rows>.Id}}


Please let me know if you have any follow up questions or clarifications I can provide!


Clark


Thanks. I did this in the first place because I was having trouble with inserting ID references once I adopted rows into a new model, but it seems even with  correctly working $output values I’m still having the same problem, any  ideas? – https://community.skuid.com/t/adopt-rows-into-model-invalid-reference-id-error-on-insert?rfm=1&topic_submit=true


Thanks for the context. I’ll jump over to the post you referenced and we can debug there to keep things threaded properly.


Reply