display list from database based on user type
Posted: Sat Aug 22, 2015 3:22 am
by Gurinder Mann
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?
display list from database based on user type
Posted: Sat Aug 22, 2015 11:23 am
by Serhii Kulibaba
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...
display list from database based on user type
Posted: Sat Aug 29, 2015 9:58 pm
by Gurinder Mann
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
display list from database based on user type
Posted: Sun Aug 30, 2015 3:04 pm
by Evgene Karachevtsev
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