You need to sign in to do that
Don't have an account?
Dinesh Singh 13
How to identify logged in user (Salesforce Community)
Hi,
Below is the problem we are trying to resolve.
- We have bought an Appointment booking product (Booking Bug) which will be added to our customer community.
- Community user will click on a button/link to book appointments
- Appointment booking screen opens in an iFrame
- user books the appointment
- At the end of process we want the appointment system to auto populate logged in user details ( Contact Name, email, Account name, Number) on the appointment booking form.
we are exploring the use of connected Apps to get the details however there are challanges with that.
Are there any mechanisms/solutions to resolve this problem.
Thanks,
Below is the problem we are trying to resolve.
- We have bought an Appointment booking product (Booking Bug) which will be added to our customer community.
- Community user will click on a button/link to book appointments
- Appointment booking screen opens in an iFrame
- user books the appointment
- At the end of process we want the appointment system to auto populate logged in user details ( Contact Name, email, Account name, Number) on the appointment booking form.
we are exploring the use of connected Apps to get the details however there are challanges with that.
Are there any mechanisms/solutions to resolve this problem.
Thanks,
May I suggest you please refer the below link for reference.
- https://salesforce.stackexchange.com/questions/146690/how-to-check-whether-user-logged-in-as-portal-user-or-community-user
- https://developer.salesforce.com/forums/?id=906F000000092hnIAA
Hope it will help.Please mark it as best answer if the information is informative.so that question is removed from an unanswered question and appear as a proper solution.
Thanks
Rahul Kumar
Check it:
https://salesforceprofs.com/how-to-detect-log-in-to-community-as-user-in-apex/