What I’m trying to do:
I have a Tableau parameter, that has a list of allowable values, and I’m trying to set that value from the AnvilX app.
What I’ve tried and what’s not working:
I have set the parameter with allowable values like this:
When querying the parameter, and logging things, I get the right list (same as above on the left):
After this when I’m trying to set the value to the given string:
self.dp_chosen_business_unit = self.dashboard.get_parameter("Chosen Business Unit")
# ...
self.dp_chosen_business_unit.change_value(chosen_business_unit)
then the backend / trexjacket
throws this issue:
ExternalError: Error: internal-error: Missing output parameter: parameterControl
at app/trexjacket/model/proxies.py:497
and the frontend shows this for me:
I did try setting the same parameter to accept All
values (rather than List
), and then the rest of my code works just fine.
Any idea what am I doing wrong (e.g. in calling the change_value method), or setting up Tableau, or irt’s really something wrong in trexjacket
?