Loading...
Loading...
Use this skill when users need to create or configure Salesforce Custom Tabs. Trigger when users mention tabs, navigation tabs, object tabs, web tabs, Visualforce tabs, Lightning component tabs, app page tabs, or tab configuration. Also use when users want to add navigation to custom objects, create tabs for external content, or set up Lightning page tabs. Always use this skill for any custom tab work.
npx skill4agent add forcedotcom/afv-library generating-custom-tabtruefalse<CustomTab><Tab>xmlns="http://soap.sforce.com/2006/04/metadata"| Tab Type | ONLY these elements are allowed (nothing else) |
|---|---|
| Object tabs | |
| Web tabs | |
| Visualforce tabs | |
<sobjectName><name><fullName><apiVersion><isHidden><tabVisibility><type><mobileReady><urlFrameHeight><urlType><urlRedirect><encodingKey><height><auraComponent><label><page><page></page><description></description>{ObjectApiName}.tab-meta.xmlSpace_Station__c.tab-meta.xml<customObject>true</customObject><motif><?xml version="1.0" encoding="UTF-8"?>
<CustomTab xmlns="http://soap.sforce.com/2006/04/metadata">
<customObject>true</customObject>
<motif>Custom39: Telescope</motif>
</CustomTab><?xml version="1.0" encoding="UTF-8"?>
<CustomTab xmlns="http://soap.sforce.com/2006/04/metadata">
<customObject>true</customObject>
<motif>Custom98: Truck</motif>
</CustomTab><sobjectName><name><fullName><label><CustomTab xmlns="http://soap.sforce.com/2006/04/metadata">
<sobjectName>Space_Station__c</sobjectName> <!-- DEPLOYMENT ERROR -->
<label>Space Station</label> <!-- DEPLOYMENT ERROR on object tabs -->
<customObject>true</customObject>
<motif>Custom57: Desert</motif>
</CustomTab>{TabName}.tab-meta.xmlKnowledge_Base.tab-meta.xml<?xml version="1.0" encoding="UTF-8"?>
<CustomTab xmlns="http://soap.sforce.com/2006/04/metadata">
<customObject>false</customObject>
<description>REPLACE_WITH_DESCRIPTION</description>
<frameHeight>600</frameHeight>
<label>REPLACE_WITH_LABEL</label>
<motif>REPLACE_WITH_MOTIF</motif>
<url>REPLACE_WITH_URL</url>
<urlEncodingKey>UTF-8</urlEncodingKey>
</CustomTab><description>{TabName}.tab-meta.xmlCustom_Page_Tab.tab-meta.xml<customObject>false</customObject><label><motif><page><?xml version="1.0" encoding="UTF-8"?>
<CustomTab xmlns="http://soap.sforce.com/2006/04/metadata">
<customObject>false</customObject>
<label>Custom Page</label>
<motif>Custom46: Computer</motif>
<page>CustomPage</page>
</CustomTab><customObject>true</customObject><motif><customObject>false</customObject><label><motif><url><urlEncodingKey><description><frameHeight><isHidden><tabVisibility><type><mobileReady>