Filter a lookup field by login group
Posted: 2014-07-27 22:04
Hello everyone,
I try to get my first AppGini Project running. But I am still in some trouble customizing the way it works.
I try to filter a lookup field with the user group of the logged in user.
With the help of the copied membership_groups table and the in AppGini contained function filter by "groupID" unfortunately it did not work because the "automatic value - <%%creatorGroupID%%>" is written only after saving the record.
Is there any way to realize the lookup field filtering via hooks or magic file?
Thanks in advance for your support
Matthias
If anybody need further information, please do not hesitate t ask.
I try to get my first AppGini Project running. But I am still in some trouble customizing the way it works.
I try to filter a lookup field with the user group of the logged in user.
With the help of the copied membership_groups table and the in AppGini contained function filter by "groupID" unfortunately it did not work because the "automatic value - <%%creatorGroupID%%>" is written only after saving the record.
Is there any way to realize the lookup field filtering via hooks or magic file?
Thanks in advance for your support
Matthias
If anybody need further information, please do not hesitate t ask.