I have one doubt please help me where I'm missing ...
In my contact object, the standard New button is overridden by a Visualforce page.
It is working fine in SFDC Classic.
Now I have a community (Napili) defined in my org. And this community has Contact List defined. Here on clicking on any one contact opens that contact.Now after opening one Contact and after clicking Edit, the edit layout of contact comes (which is a standard SF layout). On this edit layout, I have three buttons 'Cancel', 'Save and New' and 'Save'.
So on clicking this 'Save and New' button I am getting 'Invalid Page' error. Also, the URL formed is https://domainName.com/CommunityName/s/CommunityName/003/e?
and nothing after 'e?'.
Note: If I'll put this page on an altogether different section then I'm able to see the content of the page.
I have checked the following permissions -Contact Object access (It is read, Edit and Create) -Account has Read access -FLS for Contact and account is proper. -VF page and its class is already added in the community profile and Community Site profile - Also available for lightning checkbox is checked for the page.
So please help me if I am missing something.