bryanthowell-tableau / tableau_tools

Package containing Tableau REST API, XML modification, tabcmd and repository tools
Other
214 stars 87 forks source link

tableau_parameter.py failing when getting datasource characteristics #24

Closed tone711 closed 5 years ago

tone711 commented 6 years ago

I have a Parameters data source which has copied parameters. Some of them have been copied more than once. In that case, Tableau appends '(copy 2)' or '(copy #)' depending on how many times it's been copied. The if internal_name.find condition should account for that possibility. Thank you!

Starting at line 43:

# Parameters are all given internal name [Parameter #], unless they are copies where they
# end with (copy) h/t Jeff James for discovering
                if internal_name.find(u'(copy)') == -1:
bryanthowell-tableau commented 6 years ago

Hi tone711 -- There should be a patch in 4.5.0 that fixes this. Can you let me know if it is working now?