I want to add values of Home Page's Standard Components like Custom Links on Custom VisualForce Page. Does anyone knows how can I do that? Does anyone knows where its values get stored? Tried workbench to get the values captured but couldn't find them

Custom Links


The easy part is getting the links themselves. You can easily run the following SOQL:

SELECT Id, Name, Url, LinkType, OpenType, 
       MasterLabel, Description
FROM WebLink
WHERE PageOrSObjectType = 'CustomPageItem'

However, that only gets you the links and URLs. I don't think there's a way to get the Home Page Layouts themselves. I wish I knew how.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.