Building on the case outlined in a previous post, I have a page showing details of object/model “A”. I want users to see a table below that represents a junction object between object “A” and object “B”. The record being linked to in object “B” is the same for all of the records in the table, and I can retrieve It’s ID from existing models on the page. Since the object “B” record is implied, I don’t want to users to have to select it, but I do need the system to be able to populate that field upon save of a new record in the table. Seems like I need a snippet for saving that can set this value on any new records then save the model. How would I identify and loop through the new records to set the value?
Question
How would I loop through new & existing rows in a table in a snippet?
This topic has been closed for replies.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.