function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
civiccivic 

how to access the sample URL without having to login to our SFDC instance

I created a VF page, when we copy that page link with the record id  we should get it worked without logging into the salesforce sandbox and should work across all browsers.

any help is appreciated.-Don

bob_buzzardbob_buzzard

Not quite sure what question you are asking here, but you will need to login to Salesforce in order to view the record.  If you want unauthenticated access you can look at Force.com Sites.

civiccivic

Here is the description of what i want to achieve

 

Let’s take for example that your Visual Force Page has the following URL:

 

test.salesforce.com/pages/ve_subscription?myparam=some_contact_id

 

where some_contact_id above will be the contact id of a salesforce contact.

 

Your page will take the value of some_contact_id, look up the name of contact and display the following:

 

HELLO, contact_name

 

where contact_name is the name of the Salesforce contact name whose contacted = some_contact_id

 

and to access the sample URL without having to login to our SFDC instance

 

Thanks

irlrobinsirlrobins

As bob has said, if you want to provide unauthenticated access to VF pages, you need to set up a site and grant access to the the VF page and controllers to the public or guest profile.

Ryan-GuestRyan-Guest

That sounds like the exact use case for Force.com Sites.

 

Check out:

wiki.developerforce.com/index.php/An_Introduction_to_Force.com_Sites