Forum Discussion

Olsman's avatar
Olsman
Regular Visitor
4 years ago
Solved

Get pages is not supported while embedding a visual

Hello

 

We have embedded a single Visual from one or more reports, and we want to be able to change the filters. 

 

My problem, how do I get a Visual when the embedded report has no pages.

 

report.getPages().then (function(pages) {

});

 

Error message: "Get pages is not supported while embedding a visual."

 

Is there any way to access a visual when not embedding pages in a report?

 

Thanks!

  • I found my error, when I embed the visual, a visual is return not a report 🙂 

1 Reply

  • Olsman's avatar
    Olsman
    Regular Visitor

    I found my error, when I embed the visual, a visual is return not a report 🙂