You need to sign in to do that
Don't have an account?
conpas
How to get the current visualforce page id?
Hello, this is my doubt, how to get the current visualforce page id? I try with {!$Currentpage.Id} or $Page.Id but dont exists this variables.
Thanks.
I am not sure if you can get ID for the visualforce page. Try Name instead.
What are you trying to do that you need the id for? Perhaps there is another way....
I just had to do this today.
This will give you the ID of your VF page!
This came in very handy when I had to find a way of targeting the iframe that my inline vf page was in.