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
Girish ParwaniGirish Parwani 

visualforce tab not showing in navigation tab in service cloud console

I recently migrated an app from sandbox to prod. this is a service cloud console app. It has a visualforce tab which is working fine in sandbox. Tab got migrated in prod. I can see preview of visualforce page in prod.
When i edit the app from setup menu, tab is getting displayed in available tabs and selected tabs list. When i launch the application and choose customize my tabs from navigation menu, tab is not visible in available and selected tabs.
What may be the issue ?
Here is visualforce page code :
 
<apex:page showHeader="false" sidebar="false" controller="IotHomeController">    

    <!-- include Resources -->
    <apex:includeScript value="/support/console/33.0/integration.js"/>
    <apex:includeScript value="{!$Resource.jQuery}"/>
    <apex:includeScript value="{!$Resource.IotConsoleTabJS}"/>
    <apex:stylesheet value="{!$Resource.IotHomepageCSS}"/>
    <!--
    <apex:stylesheet value="{!$Resource.IotLeafletCSS}"/>
    <apex:includeScript value="{!$Resource.IotLeafletJS}"/>
-->
    <apex:stylesheet value="{!URLFOR($Resource.IotLeafletLib, 'leaflet.css')}"/>
    <apex:includeScript value="{!URLFOR($Resource.IotLeafletLib, 'leaflet.js')}"/>

    <script>
    </script>

    <apex:includeScript value="{!$Resource.IotHomepageJS}"/>
    <!-- hidden text to store data as JSON -->
    <apex:outputText value="{!allDeviceDataAsJson}" styleClass="allDeviceDataAsJson" id="allDeviceDataAsJson" style="display:none"></apex:outputText>

    <apex:outputPanel layout="block" styleClass="container">        
        <!-- map canvas -->
        <apex:outputPanel layout="block" styleClass="theMap">
            <div id="map-osm"></div>
        </apex:outputPanel>
        <div class="10px"></div>
        <!-- data table -->
        <div class="bottom">
            <apex:pageBlock mode="maindetail">
                <apex:pageBlockTable value="{!iotDevices}" var="device" id="deviceTable" rowClasses="odd,even" styleClass="relativePosition">
                    <apex:column onclick="highlightMarkerById('{!device.Id}')" styleClass="{!device.Id}">
                        <apex:facet name="header">Name</apex:facet>
                        <apex:outputLink value="#" onclick="openPrimaryTab('{!device.Id}', '{!JSENCODE(device.Name)}'); return false;" id="deviceDetailTab_1">{!device.Name}</apex:outputLink>
                    </apex:column>
                    <apex:column onclick="highlightMarkerById('{!device.Id}')" styleClass="{!device.Id}">
                        <apex:facet name="header">Serial Number</apex:facet>
                        <apex:outputText value="{!device.Serial_Number__c}" escape="false"/>
                    </apex:column>
                    <apex:column onclick="highlightMarkerById('{!device.Id}')" styleClass="{!device.Id}">
                        <apex:facet name="header">Module Status</apex:facet>
                        <apex:outputText value="{!device.Last_Device_Status_Symbol__c}" escape="false"/>
                    </apex:column>
                    <apex:column onclick="highlightMarkerById('{!device.Id}')" styleClass="{!device.Id}">
                        <apex:facet name="header">Temperature</apex:facet>
                        <apex:outputText value="{!device.Temperature_Icon__c}" escape="false"/>
                    </apex:column>
                    <apex:column onclick="highlightMarkerById('{!device.Id}')" styleClass="{!device.Id}">
                        <apex:facet name="header">Humidity</apex:facet>
                        <apex:outputText value="{!device.Humidity_icon__c}" escape="false"/>
                    </apex:column>
                    <apex:column onclick="highlightMarkerById('{!device.Id}')" styleClass="{!device.Id}">
                        <apex:facet name="header">Battery</apex:facet>
                        <apex:outputText value="{!device.Battery_Icon__c}" escape="false"/>
                    </apex:column>
                    <apex:column onclick="highlightMarkerById('{!device.Id}')" styleClass="{!device.Id}">
                        <apex:facet name="header">Signal Strength</apex:facet>
                        <apex:outputText value="{!device.Signal_Strength_Icon__c}" escape="false"/>
                    </apex:column>
                </apex:pageBlockTable>
            </apex:pageBlock>
        </div>

    </apex:outputPanel>
</apex:page>


 
pconpcon
When you go to "customize my tabs" did you select your console app and then add the tab to that selected tab list?