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
PandeiswariPandeiswari 

Apex code to create Tab in Salesforce

I have two Custom object(Project,Skill). Is there a way to add both the custom object in Salesforce tab using Apex coding. Currently I am adding using customize my tab option and selecting my object. I need this code to add it to Managed package.

Satyendra RawatSatyendra Rawat

Hi,

1.>Create Visualforece page and in vf page create tab first object and second object,

2.>Create Two Standard Visualforce page for both object and add vf as inline vf page in pagelayout.