Forum Discussion
embed report :: hide filter
Hi,
We are embedding the report in dotnet application through Javascript, able to embed the report successfully.
But we are not able to hid
FilterPane
NavigationPane
Can you please help, below is the java script code block used.
var config = {
type: 'report',
tokenType: models.TokenType.Embed,
accessToken: accessToken,
embedUrl: embedUrl,
id: embedReportId,
permissions: models.Permissions.All,
viewMode: DMode,
//settings: {
// navContentPaneEnabled: false
//}
//// Embed the report and display it within the div container.
settings:
{
panes:
{
filters: { expanded: false,visible: false },
pageNavigation: { visible: false }
}
}
};
6 Replies
- v-xuding-msftCommunity Support
Hi nagaraj ,
Please try this:
settings: { filterPaneEnabled: false, navContentPaneEnabled: false } };Reference:
- v-xuding-msftCommunity Support
Hi nagaraj ,
Could you tell me if your problem has been solved? If it is, kindly mark the helpful answer as solution if you feel that makes sense. Welcome to share your own solution. More people will benefit from the thread.
- amitchandakSuper User
- nagarajPost Patron
Hi amitchandak
As mentioned in the third URL, i have used the same code block in Java Script.
But not able to hide FILTER PANE and NAVIGATION PANE.
As per some other suggestions, tried appending &navContentPaneEnabled = false directly appending to the URL, but no luck remains same.
Regards
Nagaraj
- sagarsankheFrequent Visitor
remove spaces. It worked for me:
&navContentPaneEnabled=false
- AnonymousNot applicable
Hi,
I have embedded the report in angular (Powerbi Desktop report). Here I have one scenario like we have adhoc reports i.e users can able to modify the powerbi reports and save it. In this we have few pre-loaded filters based on the user preferences and those filters should not be visible to the users in adhoc mode (view mode = 1 -> edit mode).Is there any way to hide those filters (pre-loaded) alone in the filter pane , instead hiding the pane itself.