Heya
I’m trying to programme the login to send Users to the User Dashboard and Admins to the Admin Dashboard.
The login button actions are
- Log In (User)
- Link (User Dashboard), condition when Logged In User is equal to > XX
- Link (Admin Dashboard), condition when Logged In User is equal to > XX
Where I’ve put XX, I can’t find ‘ifAdmin’ in the dropdown! Just endless submenus.
Any idea where I’ve gone wrong??
Thank you
Hi Dan @danperson,
- Add True/False property to Users collection
- Make a separate “Routing” screen, make it Home
- After Signup, link users to this Routing screen as well (do NOT use conditional actions after signup or login)
- On this Routing screen, add 2 conditional actions: Link to Users part, if Logged-in User → IsAdmin is False, and Link to Admin part, if Logged-in User → IsAdmin is True
This video might be useful for you: Adalo tutorials: admin and user access to different screens. UPDATE in the description - YouTube
Best,
Victor.
Many thanks Victor - that and the video was very helpful.