44
Views
5
Comments
My Login and Employee Detail Page is not working
Question
Application Type
Mobile

I have an app that I am trying to develop with outsystems (amazing software btw would highly recommend to anyone reading this to use it)

but my login page does not work, I tried to run the app, but it does not have anywhere to sign up, so it always says incorrect details 

also, my employee details page does not open when I try to run the app. 

I am trying to make it that after a user logs in then they can see my employee details page, it is that simple of an app

LearnNet.oml
UserImage.jpg
Neha Bhimsaria

Hello Rishabh, 

Did you tried to login with the outsystems credentials? 


UserImage.jpg
Neha Bhimsaria

I have tried this oml in my environment with my outsystems credentials it is working fine for me and it is redirected to Employee detail screen, but the screen is blank due to ID passed is null().

2022-12-21 07-25-50
Hariharan Rajasekaran

Hi Rishabh Bhargava,

By default In outsystems can create an account for you to login and it is available in User's entity table.

You can use your email as your username and personal environment password as password.

Also you can change your password in your personal environment's user portal by your Personal environment/users.

You need also create new user in your outsystems personal environment's user portal.


UserImage.jpg
Rishabh Bhargava

Thank you for your reply Hariharan Rajasekaran. Very impressive credentials btw. 

I get that you can use outsystems login to login to the app, but 2 things: 

1. can I make it that any user can sign up for the app via the app (i.e. without outsystems)

2. can I make it that the same "Employee ID page" appears for all users that login to the app


2022-12-21 07-25-50
Hariharan Rajasekaran

Yes Rishabh Bhargava, you can make any user can sign up  for the app via the app by checking anonymous role to all screens to entire app.

Then You need to maintain all user's username and password in separate (Eg: Employees) entity.

And when the user tries to login you need to validate the credentials in Employees entity and navigate user to home or dashboard screens.

For this you should use your own logic for validating user and navigating to dashboard screen instead of using Outsystems login action.

But there may be a security warning will occur by using this method.


Thanks.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.