Hi, check this out you can use $Action: https://salesforce.stackexchange.com/questions/123594/how-to-use-custom-links-in-vfp-or-controller If it helps please mark as correct, it may help others.
Hi please post the definition of your custom link and how you are calling the <apex:outputLink value="{!URLFOR($Action.Home.Comercial_Documents )}"> in your VF. Check that if Home is a custom object you have to use $Action.Home__c.Comercial_Documents
If i am being helpfull please like or if your query is solved mark as correct.
Hi, it has to be something there on the name of your custom link. This article has another option using a:href but you will have the same issue, check the api name of your custom link. https://stackoverflow.com/questions/6391310/add-a-custom-link-button-to-a-visualforce-page
https://salesforce.stackexchange.com/questions/123594/how-to-use-custom-links-in-vfp-or-controller
If it helps please mark as correct, it may help others.
Check that if Home is a custom object you have to use $Action.Home__c.Comercial_Documents
If i am being helpfull please like or if your query is solved mark as correct.
Label Comercial Documents
Object Name Home
Name Comercial_Documents
<apex:outputLink value="{!URLFOR($Action.Home.Comercial_Documents}"></apex:outputLink>
<apex:outputLink value="{!URLFOR($Action.Home__c.Comercial_Documents}"></apex:outputLink>
I tried both ways but I'm getting the same error
Field $Action.Home__c.Comercial_Documents does not exist. Check spelling.
I can use those custom links in my homepage using salesforce interface but I can't with custom vf pages
Thanks for your reply
This article has another option using a:href but you will have the same issue, check the api name of your custom link.
https://stackoverflow.com/questions/6391310/add-a-custom-link-button-to-a-visualforce-page