Gurinder Mann
Posts: 0
Joined: Tue Jul 28, 2015 4:54 pm

display list from database based on user type

Hello I want to show list component only with certain user type from the database how can I do that? I have two user types in the database "customer" and "manager" and when I created the list component it shows both user types I only want to show "manager" on the list component. How can i do that?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

display list from database based on user type

Hello Gurinder,

You can use ACL parameters as described here: https://devcenter.appery.io/documenta...

Or add column "type" to the "users" collection, and use it in query service: https://devcenter.appery.io/documenta...

Gurinder Mann
Posts: 0
Joined: Tue Jul 28, 2015 4:54 pm

display list from database based on user type

Hello,
I have a panel component and I want to display certain buttons if the user is "customer" or "manager". User type is selected from the register screen. How can I display certain buttons on panel based on that? What kind of javascript should I put on the panel open button. Please explain in simple steps I dont know how to code. Thanks

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

display list from database based on user type

Hello Gurinder,

Unfortunately custom js code is outside the scope of standard Appery.io platform support. You may consider purchasing Advisory Pack to get more in-depth help on this question. Here is more information about it: http://appery.io/services/#Advisory_Pack

Return to “Issues”