Hide Export Options Plugin (Excel, PDF, and more)

Comments

19 comments

  • Avatar
    Nick Bernini

    This plugin is not working in 7.1. Is it possible to get an updated version?

  • Avatar
    Jason Sears

    Hi Nick,

    I investigated the plugin on version 7.1 today and didn't notice any regression.

    Would it be possible to provide more information?

    Also, I would make sure that you check out the config.js file inside the plugin folder to make sure the defined behavior matches up with what you're expecting.

    Best, 

    Jason

  • Avatar
    Michele Wilborn

    This plugin is not working for me in version 7.1 as well.  I am not sure what additional information I can provide.  I have the plugin installed.  I changed the config to stop all downloads for any consumer but it is not working.  

  • Avatar
    Jason Sears

    Hi Michele,

    I feel like this could be a configuration issue, the supported roles option is a whitelist, not a blacklist.

    So any role you specify in that array will be allowed to download. Any other role should be disabled.

    If you'd like to attach this part of your config file, I'd be glad to take a look.

  • Avatar
    Kenneth Leeman

    Is there a way that a specific user can be given download capabilities (Excel) for a specific dashboard or widget

    even though the Rest API does not allow role of 'viewer' to download 

  • Avatar
    David Wit

    I am having same issue in 7.1+   Here is my configuration.  When I log in as a viewer, can still download.

    mod.hideExportSettings = {
        supportedWidgets: ['indicator', 'chart/pie', 'chart/column', 'chart/bar', 'chart/line', 'chart/area', 'pivot', 'tablewidget', 'chart/scatter', 'treemap', 'heatmap', 'map/scatter', 'map/area', 'sunburst', 'chart/boxplot', 'chart/polar'],    // only the charts listed here will be affected
        searchTerms: ['pdf', 'excel','csv'],  // these menu items will be hidden
        supportedRoles: ['super','contributor']   // these roles are whitelisted: users with these permissions
                                    // can still see and use widget menu exports
    };

    Any help would be much appreciated

  • Avatar
    Kenneth Leeman

    I have the role of admin and when this plugin is enabled I do not see all the export options for a pivot table.

    Excel is not available. We are on 7.2.0.12014. I have been working with Jake and ticket # 84802. We found that I was able to see all options if I disabled the plugin. 

  • Avatar
    Jason Sears (Edited )

    Hi Kenneth,

    Can you try adding 'admin' to the supportedRoles array?

    Best,

    Jason

  • Avatar
    Jeremy Naiden

    Are there any security implications to consider when using this plugin?

  • Avatar
    Jason Sears (Edited )

    Hi Jeremy,

    I think the main thing to consider is that this is a client-side solution, so it can't be fully depended on as a security layer.

    If you have secure data, it's always best to take additional measures (such as applying data security rules) to protect your data.

    Best, Jason

  • Avatar
    Jeremy Naiden

    Thanks Jason.  That's a good note.   In our case it would be mostly to hide the export function if/when we find something undesirable in the data export.  This would help us have better control over ex portability. 

     

    Thanks again for developing this!

  • Avatar
    Hital Patel

    The admin role works when added to the white list but when I try to add other roles like designer or viewer, I am unable to see the download option when logged in as designer or viewer.  Any idea why the designer or viewer role is not being recognized as whitlisted?

  • Avatar
    Jason Sears

    Hi Hital,

    Are you using 'contributor' and 'consumer' in the config file instead of 'designer' and 'viewer'? These first two are how these roles are labeled in the system. The readme.md file included in the plugin should have additional information regarding this.

    Hope this helps!!

  • Avatar
    Hital Patel

    Thanks Jason, worked!

    Anyway to perform this feature using groups? 

  • Avatar
    Jason Sears

    Hi Hital,

    I don't anticipate that would be difficult to implement, I will see if I can add it to the plugin for you.

    - Jason

  • Avatar
    Hital Patel

    Got it to work using groups Thanks Jason

  • Avatar
    Kateryna Pokora

    Hi Jason,

    Could you please share the version for groups?

  • Avatar
    Tripti Jaiswal

    Hi Jason,

    Kindly  share the version for groups?

  • Avatar
    Tripti Jaiswal

    Also,this plugin is not working for me in version 7.4.2. as well.  I am not sure what additional information I can provide.  I have the plugin installed. Even the viewers and designers can see widget menu export.

    Regards
    Tripti - Qbeeq

Please sign in to leave a comment.