I'm trying to restrict a custom record list search on the customer portal by the contact associated with that custom record, not the customer. So then when the contact logs in to the center, they see their custom record results linked to their contact not all of them linked to their customer. To do that, I have a couple of ideas.
1. I know that in a search formula I can get the user ID of the logged in user by calling {me}. Is there a way to get the logged-in user's email address? Then I could use a formula to restrict based on contact email, which would work.
2. Can I get the contact's internal ID on the customer center? For example, if I am logged in under the customer center as a contact on a customer, the {me} returns the customer's internal ID, not the internal ID of the contact record. Is there a way to get the internal ID of the logged-in contact?
Any help or thoughts would be appreciated. Thanks.
Nathan