Work.com
Leading Through Change with Data
COVID-19 Data Hub
COVID-19 Global Daily Tracker
Global Economy Data Track
Government Data Track
Healthcare Data Track
B-Well Together
Leading Through Change
Salesforce Care
Leading Through Change Blog
Trailhead Resources
AppExchange Resources
MuleSoft Resources
< Back to List
Jason Venable
Apex method to identify salesforce.com server
Development (Apex, LWC & VF)
It would be helpful to have an Apex method that returns the server sub domain (na1, na2, cs1, ap0, etc). When building hyperlinks in the code for either external emails or the comments section of Task, Notes, etc you must hard code the value into your hyperlinks. This makes it difficult for the code to be packaged and scale across different orgs.
· Flag
Josh Kaplan - 8 years ago
Tracy Powell - 8 years ago
Manu Dewan - 8 years ago
Navees Ahmed - 8 years ago
Jason Driscoll - 8 years ago
Nicolas Watroba - 8 years ago
Ray Guy - 8 years ago
Bryan Gilbert - 9 years ago
Charles Oliveria - 9 years ago
Cody Sechelski - 9 years ago
Tracy Powell - 9 years ago
Chris Roberts - 9 years ago
Alex Sutherland - 9 years ago
Steve Fouracre - 9 years ago
Nicolas Watroba - 9 years ago
Help us to keep IdeaExchange clean by pointing out overlapping ideas. We'll investigate your suggestion and merge the ideas if it makes sense.
Thanks for your merge suggestion. We will review it shortly and merge the ideas if applicable.
Salesforce takes abuse situations very seriously. Examples of abuse include but are not limited to posting of offensive language or fraudulent statements. To help us process your request as quickly as possible, please fill out the form below describing the situation. For privacy and security reasons, the final outcome of an abuse case may not be revealed to the person who reported it.
Thank you for your feedback. We take abuse seriously and will investigate this issue and take appropriate action.