Have a question on UDF in GD as follows : when def...
# gooddata-cn
s
Have a question on UDF in GD as follows : when defined with one label, it appears to work whereas if we have two labels ( like in the example below) we see an error on the UI. Are 2 attributes not allowed in an UDF ? How can we restrict a user to accounts a1 and a2 and also based on another fields called Tenant = 1. Example Maql : "maql": ({label/account} in (\"a1\",\"a2") or ({label/tenant} in (\"1\")
j
Hello, I have it set as follows: (\"Midwest\",\"South\")"
s
Joseph, the issue is that when we set up the UDF with only account it works and it also works if we setup the UDF with Tenant alone. Question is how can set up the UDF such that both filters are applicable for the user ? i.e. in this case the user should be able to see data for only account a1 and a2 and also data for only tenant = '1'. When we add both these labels, account and tenant we get a cannot connect issue.
j
Hmmm... sounds a bit strange. Could you provide an example of the definition of the data filter itself, and how you are applying it to the user?
s
Is there anyway to send the information other than slack ? Due to updated company policies I am not able to cut paste anything or send a screenshot.
Thanks everyone for your responses, we can close the ticket now. Will reach out in case of follow up questions with a new ticket.