+ Start a Discussion
SennahSennah 

Custom Link for Homepage adds user ID

Hi community,

 

I've build a Visualforce page for one of my custom objects.

 

Calling the page manually via URL/apex/PageName works just fine. For better usage I linked the Page as a "Custom Link" on my Homepage. But via that link the Page is not accessible because Salesforce adds my User.Id at the end of the link and the StandardController of my CustomObject can't handle this of course.

 

How would I catch this behavior in my Page? Or is there a better way to link to my Page?

 

Thanks for any hints,

Hannes

sforce2009sforce2009

I have tried to recreate the problem on my Account. But seems it is working for me fine.

What I have done is this.

Created a VF page with standardController as a customobject Candidate__c

goto setup->Customize->Home->Custom Links add a New custom link as my Visualforce page

goto setup->Customize->Home->HomePageLayouts and check the checkbox of CustomLinks

got setup->Customize->Home->HomePageComponents->Click Edit link of Custom Links->add my new page desc and URL and save it.

The above worked for me. Let me know if you are doing the same

SennahSennah

Okay, I wanted to keep this dynamically and not enter the full URL.

I therefore created a new Home Page Component of Type "Links" and added my Custom Links in there.