You need to sign in to do that
Don't have an account?
"Authorization Required" to access new web page
Hi there,
I have my company's website in Force.com sites. I have been building and linking pages without any issues. Last night I added a new "news story" to my company's website and linked this news story to the main "News" web page. Now when I go to my website and click on the new link, I get the following error message:
"Authorization Required
You must first log in or register before accessing this page.
If you have forgotten your password, click Forgot Password to reset it."
Here's the page that triggers the error message: http://www.healthysoil.com/news_story_12
I've never had this problem before. Is this related to the new visualpages security settings? I click on "Security" for my new page and the settings are identical to many of my old pages... Although some of my old pages include an "enabled profile" that is not an "available profile" for me to add in the security settings for my new page.
Does that make any sense?!
Would appreciate any help.
Thank you!
On the site detail page there is a button called "Public Access Settings".
Click on that button and make sure you have turned on CRUD and field level security for each of the objects and fields you use in your page.
Thanks so much Ryan. Can you walk me through where to find the sites detail page / "public access settings"?
Setup --> Develop --> Sites --> Site edit --> ...?
Thanks again.
Hi Ryan,
I found the Public Access Settings. FIgured out the problem.
- The profile required to view my website is "SAM."
- On the security settings of my new page, I need to enable the "SAM" profile however "SAM" is not in my list of available profiles...
- How can I add "SAM" to my list of available profiles for the new web page?
Thanks again.
Hi,
Why do you need a profile to view public website? If you add the new page / all the pages or classes to the Public Access Settings - Guest user license Profile, you would be able to view the site without a problem.
If you have to login, get authenticated then you might need a profile.
I couldn't understand what you meant as Security Settings of your new page?
Thanks.
In the 'Chat Button And Automated Invitations', click on 'Site For Resources'.
In that allowed Site Visual pages are mentioned. Add your new VisualForce page in that.