Is there a way to get the actual user in a custom widget . I’m using the custom URL and custom widget builder and I need to know which user is using the widget or logged in.
@Alfredo_Ardito have you made any progress? I’m also trying to do the same thing.
I found a workaround solution because I don’t think its possible through the Grist plugin api to get the user directly.
To get the user name and user email from a custom widget:
- Add a trigger formula to a column
user.Name
oruser.Email
(apply to new records) - use the plugin api to create a new record in that table onload
- then read the row to get the values