You need to sign in to do that
Don't have an account?
Sridhar Bonagiri
How to get currentpage url and pass this.
How can i find out currentpage url through apex.
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
public String getUrl() {
String host = ApexPages.currentPage().getHeaders().get('Host');
String url = Apexpages.currentPage().getUrl();
return 'https://' + host + url;
}
thanks for reply.
But with that i am not getting correct url, it is giving some junk characters.
unbelievable..!!!!!
Could you please post the code that you tried.