+ Start a Discussion
Ridhima Saxena 20Ridhima Saxena 20 

how to make customtab (which was created using MetaData API) visible on an application??

Hii Team,
I want to know how can I make my customtab visible on an application.Because on the creation of object it is creating customTab and shown inside tablist(setup) but not on an application. How to do it.
Here is my code for customtab
MetadataService.CustomTab customTab = new MetadataService.CustomTab();
    customTab.FullName = objname + '__c'; 
    customTab.Motif = 'Custom70: Handsaw'; 
    customTab.CustomObject = true;    
    fields.add(customTab); 
service.createMetadata(fields); 

Its Urgent.Help me ASAP

Thanks in advance
Herish SurendranHerish Surendran
You can add it via app manager. Go to App Manager -> Edit your app -> Add tab to the navigation menu.

I hope it helps. Mark this as solved. So that it help others too.
Ridhima Saxena 20Ridhima Saxena 20
Hi Herish,
I want it 
dynamically not static

thanks in advance
AnudeepAnudeep (Salesforce Developers) 
Hi Ridhima - Can you check if the tab visibility is set to Default on?

Navigate to Setup->Quick Find Box-->Profile-->System Administrator-->Object Settings-->Tab Settings-->Default on