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
Jessi McPeekJessi McPeek 

Overwrite "New" button with Visualforce Page makes "New" not visible in Partner Community

I am trying to overwite the new button to display a visualforce page so I can control what fields are visible based on the selection of a picklist. I can overwrite the "New" button to use the visualforce page I have written. The new button on Salesforce Platform will call the visualforce page, however my new button completely disappears on my partner community.
The community has the visualforce page available under "Site Visualforce Pages" and all profiles on the community have permission to the visualforce page. I have also tried making it a list page button and the button will appear only on my "All" view for my custom object on the Salesforce Platform and will not show under any of my list views on the partner community.
I know the page is available for the community because I can drop a visualforce component onto my partner community and have the option to select the page. 

Any Ideas on why this is happening and what I can do to fix it?
Sandeep WaliaSandeep Walia

Hi Jessi,

Is the new button visible in the partner comunity when it is not overidden?

If that is not the case maybe the profile does not have the permission to create a new object.

Maybe this (https://success.salesforce.com/answers?id=90630000000CgJ7AAK) answer or this (https://salesforce.stackexchange.com/questions/88735/quickaction-button-not-visible-for-a-user-profile) one could help.

Hope this helps,
Sandeep