Script to export current page only

4.00K viewsScripting
0

Is it possible to use a script to export a Matrix to .xls with a category filter (equivalent to current page only) and not the entire Matrix contents?

This code exports the entire content of Matrix 1 and ignores category filtering?
model.exportExcel().onlyViews("Matrix1".).export(xlsPath)

QuantrixAuthority Answered question January 19, 2019