Set Container? Scripting use with Containers.
I have a Layout based on Table::ITEM with a portal based on Table::PHOTOS. In one record for ITEM I have 7 related photos from PHOTOS. In another area of Layout based on ITEM I want display on 3 of the PHOTOS. So I have 3 containers that need a Script or other way to populate them when some condition is met. I have a field named position in PHOTOS. Is there a way to make it do this if the field position is equal to 1, 2, or 3?
I would imagine a Script would be the way here. I guess the concept I need to learn is how Scripting can control the population of a Container. Can Scripting set a container as easy as it can set a field? Am I on the right track?