user specific calendar view

HI all,

I'm trying to create a calendar funtionality that

1) Allows each user to create and see only THEIR added events

2)  allows them to share events with selected other users

 

For the first task, I think I need to create a slice of Calendar data and then write in the "Row filter condition" some kind logic that limits the view to the current user.  I have a User slice called "currentUser".   I also have a "user_id" that is a UNIQUEID() and a "user_email" in the Users table.  

I've written this in the Row filter condition, but it seems wrong:

IF((currentUser[user_id])=Users[user_id],TRUE,FALSE)
0 1 74
  • UX
1 REPLY 1

INDEX(CurrentUser[user_email], 1)=USEREMAIL()

Now, it may not be the best way to do it.

I would just make a CalendarTable with an Email column with initial value of UserEmail() and then a security filter to just see the rows where [Email]=UserEmail()

Top Labels in this Space