Here’s what’s throwing that error, session.props.auth.user.userName
I have a button on a view that calls a project script that has this in it. Not sure how to get the logged in user, someone from the forums said I should use this.Thx, jake
Here’s what’s throwing that error, session.props.auth.user.userName
I have a button on a view that calls a project script that has this in it. Not sure how to get the logged in user, someone from the forums said I should use this.Thx, jake
You’ll have to pass the buttons self. Sessions aren’t accesible via project scripts. But if you passed in the self of the button on the view you can access by
self.session.props.auth.user.userName
perfect, thx.