Datasource Filters
Enable updating. These are in 'groupfilter' node.
/cc @DataRoberts
Nothing's worse than republishing a workbook that was originally secured with a data source filter and NOT having it there. This just automates it. Here's an example: https://github.com/DataRoberts/Tableau/blob/master/TableauDesktop/TsDataSourceFilters.ps1
I have a builder for this implemented here [https://github.com/bryantbhowell/tableau_tools/blob/master/tableau_documents/tableau_datasource_generator.py] . My mechanism is to hold all of the potential filters to create in a queue until you generate the final XML. There are three discrete types of filters which each have their own options / manifestations.
Most of this is explored here [https://tableauandbehold.com/2016/06/29/defining-a-tableau-data-source-programmatically/].
Haven't gone into making existing filters editable yet -- possibly load from the original, throw it away, then recreate using the builder might be the most effective strategy?
The ability to add userfilters would be amazing.