After selecting related pages in pages field, update all those pages own related pages field

A post was merged into an existing topic: Programmatically change the content of the file field