Forum Discussion

tomdenby's avatar
tomdenby
Frequent Visitor
4 years ago
Solved

Namespace 'powerbi.extensibility' has no exported member 'ISelectionManager'.ts(2694)

i'm getting the following error and wondered if anyone knows what is causeing it or some trouble shooting methods    let me know if you need more info, im new to developing in powerbi.    T...
  • dm-p's avatar
    dm-p
    4 years ago

    Hi Anonymous,

    Have you imported the powerbi API first?

    import powerbi from 'powerbi-visuals-api';

    In order to access the powerbi.extensibility namespace, you first need powerbi as a valid object that can be accessed in your current file.

    (revisiting the OP, this might be the problem here too; I didn't spot that it was missing from their code initially)

    Regards,

    Daniel