Script Export Excel current page only

Generic selectors
Exact matches only
Search title only
Search in content
Search in all posts
Search in pages
Answers
Questions
605 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)

Answered question
0

Hi – thanks for posting and sorry for delay in response. I have added this an an enhancement request for our scripting actions.

Answered question