Session Attribute in frontend-ui

Hello, I am trying to access a user’s session attribute in the creation of an entity using the react frontend-ui, but I can’t find an equivalent to the UserSessionSource.

Also, can I set the value of an entity attribute to the value of the user’s session attribute without having a field for it in the entityEdit.tsx file?

Hello @brandon.dubner,

What exactly are you trying to achieve?

There is no standard mechanism to get the backend user session identifier from the Frontend UI (you could theoretically write a service that would return it, but that doesn’t sound like a good idea to me). If I had more details perhaps I could suggest an alternative approach.