How do I find the URL of a Visualforce page?

How do I find the URL of a Visualforce page?

Step 1: Open Developer Console, Go to File>New>Visualforce Page and create a new Visualforce Page called GetURLParameter and replace the following markup. In the above example replace “Id” parameter name with any that you want to get through this global variable. Step 2: Preview the page to check your example.

How do I create a force com site in Salesforce?

Easily Creating Force.com sites

  1. -> Create Force.com Domain. First, you need to create the Force.com domain for your org and this should be unique.
  2. -> Create Sites. he sites feature exposes a number of Visualforce pages to end users.
  3. -> Enable VisualForce Page Access.
  4. -> Site URL.
  5. Related Posts.

How to display the browser current URL in Visualforce page?

If your page is using a controller or extension (if it’s not, just create an extension) then you should be able to get the URL you’re after using the referer header for the Visualforce page. You can then bind apex:outputText to this controller variable. Thanks for contributing an answer to Salesforce Stack Exchange!

How do I add a Visualforce page to my site?

You need to go to your site, click on the name and click edit on the “Site Visualforce Pages” section, add the page to the site. Thanks for contributing an answer to Salesforce Stack Exchange! Please be sure to answer the question.

Is it possible to do a VF page without using sites?

The VF page would just hold the apex:detail tag and use a standard controller for my custom object. Each object name will be unique so duplicates shouldn’t be a problem. I’ve researched and I have seen how to url rewrite with sites but this would be a stand alone page. Is this possible without using sites? Why not do both?

How to retrieve instance URL instead of Visualforce instance?

I have tried to use relative links as in any custom link: http://stackoverflow.com/questions/9369653/retrieve-salesforce-instance-url-instead-of-visualforce-instance So next month with the instance change all will keep working?