You need to sign in to do that
Don't have an account?
devindiaa
System.URL.getSalesforceBaseUrl().toExternalForm() Salesforce1
Hi,
I am using below code to post my data to feeds in my APEX class:
System.URL.getSalesforceBaseUrl().toExternalForm() + '/' + ld.Id;
But when accessed from Salesforce1 it is taking to full salesforce site. How can modify my code, so that if accessed from Salesforce1 it stays in Salesforce1 and do nto go to full site.
Many Thanks
Laxmi
I am using below code to post my data to feeds in my APEX class:
System.URL.getSalesforceBaseUrl().toExternalForm() + '/' + ld.Id;
But when accessed from Salesforce1 it is taking to full salesforce site. How can modify my code, so that if accessed from Salesforce1 it stays in Salesforce1 and do nto go to full site.
Many Thanks
Laxmi
--
May the Force.com be with you!