How to Getting Information based on UserId

How to Getting Information based on UserId

  

Dear All,, 

Please help me,,

How to Getting Information based on UserId

After I click the button check the name, then the email appears from the userid in the input

example input :

UserId = 0000021

output

email = email0000021@gmail.com



Solution

Hello,

You can use an aggregate with entity user, filtered by the user id. Then assign the value of the email returned in the current of the list of the aggregate to the variable bound to the input/expression you are using to show the mail. If the button is set to submit, you don't need to refresh nothing as it will be done automatically. If is set to Ajax submit, do an Ajax refresh in the input/expression (it needs a name)

I suggest you to take an OutSystems class or do the online courses provided free of charge by OutSystems here on the site.

In a week you will be able to do this and much more.

Cheers,

Eduardo

Solution