You need to sign in to do that
Don't have an account?
Jonathan Spink
<apex:outputlink> not working in Community
My <apex:outputlink> works fine in Lightning/Classic, but not in my Community ('volunteermanagement'). I have:
<apex:outputLink value="/{!account.id}" target="_top">{!account.name}</apex:outputLink>
but in the community it redirects to:
ttps://mydomain.force.com/volunteermanagement/s/volunteermanagement/AccountHierarchyPage?id=0011p00001cTA2eXXY
It seems to be overcompensating for the community name. What I want is simply:
https://mydomain.force.com/volunteermanagement/s/detail/0011p00001cTA2eXXY
Anyone come across this or have any ideas?
<apex:outputLink value="/{!account.id}" target="_top">{!account.name}</apex:outputLink>
but in the community it redirects to:
ttps://mydomain.force.com/volunteermanagement/s/volunteermanagement/AccountHierarchyPage?id=0011p00001cTA2eXXY
It seems to be overcompensating for the community name. What I want is simply:
https://mydomain.force.com/volunteermanagement/s/detail/0011p00001cTA2eXXY
Anyone come across this or have any ideas?
Please try using something like below to check if it works for you:
Hope above information helps. Please mark as Best Answer so that it can help others in future.
Thanks.