0

I'm facing the following issue while creating a new Experience Cloud Portal (Community):

I've added a custom button on a Case Related List of an Account Record Page. The user profile has permission to the layout,objects, VisualForce Page. But While testing, logged as a partner community user, for some reason, when clicked, the i'm redirected to a login page, probably to salesforce sales app, what could be the reason?

The custom button has the URL below as its content source.

{!URLFOR($Site.BaseUrl+'/apex/ATCL_LVFP008_DamagedArtefact?id='+Account.Id)}

ATCL_LVFP008_DamagedArtefact being the VisualForce Page.

custom button setup

I've also tried to set its content as a visualforce directly with no better results.

This VisualForce page is already marked as avaliable for Lightning Experience, Experience Builder sites,etc.

1
  • You need to change how the URL is built, using the other variants of URLFOR.
    – Phil W
    Commented Jan 22 at 21:43

0

You must log in to answer this question.

Browse other questions tagged .