Skip to main content
We are setting up a community for our partners and we have a hyperlink formula field that takes the user to a VF page.  This works fine for the standard users and to get it to work for the community users we added the 

 

PARTNER_API snipplet to get the base url.

 

It works but the result page does not have the same template styling as the other community pages.  It seems to use some "basic" template that looks different.

 

Formula is like this:

 

HYPERLINK ( PARTNER_API + 'apex/visualforcepage' + parameters)  which generates something like this:

 

https://something.salesforce.com/partnercommunity/apex/visualforcepage

 

But I've noticed that a "working" URL has the following structure:

 

https://something.salesforce.com/partnercommunity/s/sfdcpage/%2Fapex%2Fvisualforcepage

 

Is there a way to fix the template or dynamically generate the working URL?

 

 
1 réponse
0/9000