How do display some fields for specific group of users?

Discussions related to customizing hooks. Hooks are documented at http://bigprof.com/appgini/help/advanced-topics/hooks/
Post Reply
tymek2
Posts: 3
Joined: 2015-12-11 14:39

How do display some fields for specific group of users?

Post by tymek2 » 2015-12-11 14:44

I would like to display/hide some fields depending on MEMBERINFO->Group
It seems to me possible in table view using QueryFieldsTV property of Datalist object but I have no idea how to achieve that in details view?

User avatar
a.gneady
Site Admin
Posts: 1354
Joined: 2012-09-27 14:46
Contact:

Re: How do display some fields for specific group of users?

Post by a.gneady » 2015-12-14 04:40

You can use the tablename_dv hook for that purpose ... It allows you to edit the html of the detail view form before displaying it.
http://bigprof.com/appgini/help/advance ... blename_dv
:idea: AppGini plugins to add more power to your apps:

Spani81
Posts: 1
Joined: 2016-01-03 14:26

Re: How do display some fields for specific group of users?

Post by Spani81 » 2016-01-03 14:28

i have the some usecase and find no example to change the type of 'form-control' to 'form-control-static'

Post Reply