You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When useReport is used inside the useEffect, it throws an error mentioning about the wrong embed-type. But useReport works well with JSX file.
Expected type of Config {
type: EmbedType;
tokenType: TokenType;
accessToken: string;
embedUrl: string;
pageName: string;
groupId: string;
visualName: string;
extraSettings: any;
permissions: Permissions;
id: string;
reportMode: ReportModes;
datasetId: string;
pageView: PageView;
dashboardId: string;
}
Config type that works with JSX
Config{
embedType: string,
tokenType: string,
accessToken:string,
embedUrl:string
embedId: string,
reportMode: "View",
permissions: "All",
extraSettings: {
filterPaneEnabled: false,
navContentPaneEnabled: false
},
pageView: "fitToWidth",
}
The text was updated successfully, but these errors were encountered:
When useReport is used inside the useEffect, it throws an error mentioning about the wrong embed-type. But useReport works well with JSX file.
Expected type of Config {
type: EmbedType;
tokenType: TokenType;
accessToken: string;
embedUrl: string;
pageName: string;
groupId: string;
visualName: string;
extraSettings: any;
permissions: Permissions;
id: string;
reportMode: ReportModes;
datasetId: string;
pageView: PageView;
dashboardId: string;
}
Config type that works with JSX
Config{
embedType: string,
tokenType: string,
accessToken:string,
embedUrl:string
embedId: string,
reportMode: "View",
permissions: "All",
extraSettings: {
filterPaneEnabled: false,
navContentPaneEnabled: false
},
pageView: "fitToWidth",
}
The text was updated successfully, but these errors were encountered: