Filtering a list by the current username
Permalink Browser Info Environment
Hi. Newbie here, so please excuse me if I'm missing something obvious.
Is there any manner in which I can filter output by matching a record field against the currently logged in user login name or email? Something along the lines of:
..so that a user can only view records which contain a match against their email address as stored in the "Contact Email" field?
Hope someone can assist.
Thanks.
Is there any manner in which I can filter output by matching a record field against the currently logged in user login name or email? Something along the lines of:
<field name="User Email" placeholder="userEmail" /> <if name="Contact Email" comparison="contains" value="{{userEmail}}"> ....[output here]... </if>
..so that a user can only view records which contain a match against their email address as stored in the "Contact Email" field?
Hope someone can assist.
Thanks.
Type: | Discussion |
---|---|
Status: | In Progress |
It might be a little easier than that. If you edit your Data Display block, there is a field called "Limit to records owned by user?". If selected, a user should only see records that he/she created.
Hi,
Apologies if this has been discussed previously.
Is there a way to display a list of users in DD who are in different groups, and if so how would I call users from the list who are Premium Users
i.e. Premium Users and Registered Users
So the scenario would
if Premium User
List Premium User Data .....
else Registered User
List Standard User Data .....
Is this something I can do In DD or will some coding be required?
Apologies if this has been discussed previously.
Is there a way to display a list of users in DD who are in different groups, and if so how would I call users from the list who are Premium Users
i.e. Premium Users and Registered Users
So the scenario would
if Premium User
List Premium User Data .....
else Registered User
List Standard User Data .....
Is this something I can do In DD or will some coding be required?