Get pages and visualizations

for page in Document.Pages:
print page.Title
for vis in page.Visuals:
 print "  " + vis.Title

Example Output:
Page
  Bar Chart
  Text Area
  Line Chart
Page (2)
  Line Chart
Page (3)
  UniqueCount(Y) per Y (5 bins)
Page (4)
  Heat Map
Page (5)
  X vs. Y
  Box Plot
  Random table
  Bar Chart

Previous
Next Post »