Given a DataTable with marked rows, goal is to add a DataTransformation or other DataFlow step in Data Canvas or via IronPython API to obtain the said table containing only the marked records.
Current approach uses a Data Function to get a list of the marked rows into a (multi-line string) Document Property, and use the Filter rows DataTransformation step with $map() in a Spotfire Expression.