I'm trying to add a new visualforce page to a salesforce site, but the site admin lists no visualforce pages and does not have the 'edit' button that I'd usually use to edit the pages associated with a site. I've attached a screenshot of this:

SalesForce site admin

I know that this site definitely has visualforce pages associated with it, so I'm not sure why it's listing no pages. Is there some sort of setting that could cause the admin to behave in this way? Maybe the site is locked or something?

To make things a little stranger, I have a sandbox for this environment in which the site appears as expected.

  • do you have multiple sites by any chance and are looking at the wrong one. Just wondering : )..it's a weird one. – PepeFloyd Dec 11 '13 at 12:13
  • @PepeFloyd Nope, definitely the right site. – obmarg Dec 11 '13 at 12:23
  • What happens if you force yourself into the "Edit" page? URL looks like https://eu1.salesforce.com/_ui/system/user/ProfileApexPagePermissionEdit/e?profile_id={id} (get ProfileId from queries or from clicking the "Public Access Settings" button and looking at the URL). Is the site active? Does it have at least 1 "custom url" generated? – eyescream Dec 11 '13 at 12:53
  • @eyescream I get a an "Insufficient priveleges" error when I go to that page manually, which I suppose may be the issue. The site is active, and it has a couple of custom URLs – obmarg Dec 11 '13 at 13:00
  • 2
    Did anybody demote you? Are you still a system administrator? – eyescream Dec 11 '13 at 13:01

Has anybody demoted you? Are you (still) a System Administrator? If buttons don't show up and when you hack the url you get "Insufficient Priviledges"...

https://help.salesforce.com/htviewhelpdoc?id=sites_creating_and_editing_sites.htm mentions the right to "Customize Application".

https://help.salesforce.com/htviewhelpdoc?id=sites_configuring_sites.htm adds "Manage Users".

I thought more than that is needed to assign VF pages to Profiles but well, it's a start ;)

| improve this answer | |

Found out that "Manage Users" is required along with "Customize Application"...this is unfortunate since I feel like it gives too much access.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.