Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Is it possible to track/get the SCA site guest user ipaddress?
Is it possible to track the SCA site guest user ipaddress or country details?
In SiteBuilder we can get the user's ipaddress by using <%=getCurrentAttribute('request','ipaddress')%>
How can we do the same in SCA website?
Or
How do we access the third party IPAddress api in SCA website?
We tried to access using ajax, however, it gives the CORS error.
Access to XMLHttpRequest at 'https://xxx.xxxxxxxxx.com/check?my_key=zzzzzz' from origin 'http://dev.netsuite-sca-site.com' has been blocked by CORS policy: Request header field x-sc-touchpoint is not allowed by Access-Control-Allow-Headers in preflight response.
Thanks in Advance!
3