function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Seperating an object by section

Hi, I just have a quick question.


I am trying to created a VF page to have tabs at the top of the object and put information from the object into the correct tab so it's only displayed when you click on that tab. I got the tabs working correctly, but right now I'm using HTML to display the data under the correct tab and it looks terrible. I was wondering, since all my data is in the same object and I have it all separated into sections in the detail section in the page layout, is it possible to use a specific section of that detail section under a certain tab? Will I have to make a custom controller?


Thanks for the help 




Yes you can have similar sections inside each tab as well.


All you need is to plug-in the visualforce components like "pageBlockSection" into the HTML page content and you would get the data as you get in the detail page sections.


Hope this helps!!