Vote Article as Guest/Unauthenticated User in Salesforce Community

INTRODUCTION How can We enable article voting for the guest users without prompting them to login. Salesforce lets guest users vote their own article without logging in. SOLUTION To allow guest users to like or dislike articles in Salesforce, you can follow these steps: Here’s an example of how the code: LWC: LWC JS Controller …

Vote Article as Guest/Unauthenticated User in Salesforce Community Read More »

How to get IP Address of Community User – Guest and Logged in Customer User

DESCRIPTION Tracing IP address of community is utmost requirement to achieve different goals like geo based technical support, spam protection and other security things. There are bunch of forum discussions related to this: https://developer.salesforce.com/forums/?id=9062I000000g56rQAA https://salesforce.stackexchange.com/questions/145145/how-to-get-ip-address-of-current-user-in-lightning-component https://salesforce.stackexchange.com/questions/246085/how-to-get-the-public-ip-address-of-current-user-in-lightning-component-hosted-o/246087 APPROACHES In order to solve this, simple approach is to get the IP address and store in any custom …

How to get IP Address of Community User – Guest and Logged in Customer User Read More »