This question is locked. New answers and comments are not allowed.
Hello,
My goal is to return some data that is not stored in the Users content type when each user logs in. Basically, I want to avoid a second round trip to retrieve settings information after a successful login, by just injecting the settings in the Cloud Code.
I tried adding fields to the response.additionalData in the afterRead event for my Users type. But the info returned by everlive.Users.currentUser doesn't reflect the additionalData fields.
Is there a way to return additional data in the currentUser call?
Thank you,
Kelly
My goal is to return some data that is not stored in the Users content type when each user logs in. Basically, I want to avoid a second round trip to retrieve settings information after a successful login, by just injecting the settings in the Cloud Code.
I tried adding fields to the response.additionalData in the afterRead event for my Users type. But the info returned by everlive.Users.currentUser doesn't reflect the additionalData fields.
Is there a way to return additional data in the currentUser call?
Thank you,
Kelly