Trexjacket environment doesn't include all properties

What I’m trying to do:

I’m loading info from the Environment object in using trexjacket’s get_environment function. That Environment (I think) should include uniqueUserId and workBookFormatting when available, but it doesn’t because they are on the whitelist of attributes.

What I’ve tried and what’s not working:

I’ve tried a quick change in the trexjacket source in GitHub

and tried it with a Tableau extension, but seems like the uniqueUserId is always returned as none (tried in Tableau Desktop 2024.2.2 and Tableau Online 2024.2.0, but both are the same.

Is there anything that the Anvil team knows why this might not be working, or whether it needs a different approach?

Next I’ll likely look at the pure JS Extensions API whether there is any value returned and trexjacket should be able too, or whether it’s empty there as well and I misunderstood the docs…

Hi @gergely.imreh,

This information will be available in the next Anvil X update. Watch this space!

1 Like