I am new to InDesign JavaScript scripting. I am importing XML into InDesign tables and want to set the table cell "keep options" to "Keep with next row" via a JavaScript script.
The aim of the script would be to search for a paragraph style, (Head1) in a table and apply "Keep with next row" = "true" creating a new page break.
Any complete examples with a short explanation would be welcome.