Hot answers tagged

29 votes
Accepted

Add Lightning Web Component to Lightning Tab

From Winter 20 release you are able to set it as Tab. All you need to do is: Open -meta.xml file from your LWC component Change is exposed to True: <isExposed>true</isExposed> Add <...
Brane's user avatar
  • 898
9 votes
Accepted

What is the Significance of this "Tab Style"?

The tab style does not have any impact on security or access. It's a visual representation which lets you identify a tab easily, especially handy in case you have a lot of tabs. The tab itself may ...
Gaurav Kheterpal's user avatar
8 votes
Accepted

Can't create Lightning Component Tab?

You have to setup MyDomain for that. https://help.salesforce.com/HTViewHelpDoc?id=domain_name_define.htm&language=en_US
Shahid Khan's user avatar
7 votes

Tab Settings Not Available on Permission Set

I encountered same issue. And the solution which worked for me was that while creating the permission set I was not selecting any User License in the picklist. I created a new permission set with User ...
Nebula's user avatar
  • 86
7 votes
Accepted

Object Icon without tab creation

I don't believe this is currently possible. Consider voting for Assign a color and icon to all objects regardless of tab or not I would like to assign colors and icons on an object basis, not just ...
Daniel Ballinger's user avatar
6 votes
Accepted

Customizing New Sidebar in the Lightning Experience?

this feature will be coming out in Spring '16. Please see this link to Trailhead: https://developer.salesforce.com/trailhead/lex_migration_whatsnew/lex_migration_whatsnew_nav_setup
Himanshu's user avatar
  • 10.4k
6 votes

Custom object tab missing after move from sandbox to production using change set

Every profile has tab settings for each object, so if you didn't include Profiles in your change set, then they are most likely defaulted to "Tab Hidden". In this case, they won't be visible. In the ...
Matt Thomas's user avatar
6 votes
Accepted

How to query for all tabs' urls?

SOQL won't help you. You need to get them from the Schema e.g.: // Each app for (DescribeTabSetResult tsr : Schema.describeTabs()) { // Each tab of the app for (DescribeTabResult tr : tsr....
Ruslan Vekua's user avatar
6 votes
Accepted

sforce.console.openPrimaryTab has stopped working after upgrade to API 40.0 (Summer 2017)

This looks like an issue with Summer 17. I've been able to replicate it in a sandbox. After some "fun" debugging it, here's what I found. There is a call to /ui/support/servicedesk/servlet/...
Daniel Hoechst's user avatar
6 votes
Accepted

Lazy loading tab body

You need to use a helper if you want to access related methods (via this). Your controller should look like this: ({ handleActive: function(cmp, event, helper) { helper.handleActive(cmp, ...
sfdcfox's user avatar
  • 468k
6 votes

Add Lightning Web Component to Lightning Tab

With Winter 20 release, we can create the Lightning Tab using LWC component. You will just have to add the below tag in the -meta.xml file of LWC component. <target>lightning__Tab</target>...
Hemant Keni's user avatar
5 votes
Accepted

Deploy custom tab style

The metadata for custom tab has reference to the document and hence you will deploy tabs metadata and also the document that has image .Observe the icon attribute in below metadata <?xml version="...
Mohith Shrivastava's user avatar
5 votes

can user customize tabs in lightning

Users can't customize their tabs in Lightning Experience. However starting Spring '17 (SAFE HARBOR, users will have a new "Favorites" section where they'll be able to add whatever they need to access ...
Fabien Taillon's user avatar
5 votes
Accepted

How to order lightning experience tabs?

To rearrange tab order, your app should be of type "Lightning" Please follow these steps: Goto Setup Home Open App Manager Search for your app Look at the list - if at the column "APP TYPE" it says "...
Itai Shmida's user avatar
  • 4,935
5 votes

Lightning tab label showing "Loading..." in Service Console (bug)

Put this line in Component. //in markup <lightning:workspaceAPI aura:id="workspace"/> In Component init: //Js Controller var workspaceAPI = component.find("workspace"); ...
Tjcool's user avatar
  • 151
5 votes
Accepted

How to change the tab name of a custom object?

Go to "Rename Tabs and Labels" from setup and rename the tab.
Ranga's user avatar
  • 1,692
5 votes
Accepted

Redirect to custom object tab in lightning

You can use standard__navItemPage (Navigation Item Page Type) with lightning:navigation here. Refer to the documentation for pageReference Types those are utilized with the component for details. From ...
Jayant Das's user avatar
4 votes

Get List of Tabs which are visible to particular profile

If you are using the Metadata API the ProfileTabVisibility that is exposed via the Metadata API Profile will help you. There is also Profile in the Tooling API. This includes a Metadata field, that ...
Daniel Ballinger's user avatar
4 votes

Hide/Remove "Recently viewed Accounts" list view

Without writing Visualforce to override both the Accounts Home tab and the Accounts List View, it is impossible to hide or delete this list view, as it has a standard sharing model, cannot be edited, ...
sfdcfox's user avatar
  • 468k
4 votes

Hide/Remove "Recently viewed Accounts" list view

You cannot customize the standard tab in that way. However, you could create a custom Visualforce Tab to replace it. (1) If you want to take that route, first create the following Visualforce Page: &...
Adrian Larson's user avatar
  • 148k
4 votes

How to display custom fields in Visual Force

A single field in this context where you want to pick your own label would be: <apex:pageBlockSectionItem> <apex:outputLabel value="{!$ObjectType.Lead.fields....
Keith C's user avatar
  • 134k
4 votes
Accepted

set Contact tab default instead of Home tab when login into dev or sandbox

You can change default tab by app level. You need to go and edit apps which you need contact as default tab. Go to Setup > Create > Apps. Choose app do you need to modify. Select contacts as default ...
Reshma's user avatar
  • 3,909
4 votes
Accepted

How to call HTTP Get Request on the tab click in Visualforce?

I will suggest you to change your design as follows: Since there are could be 10 tabs for your use case, so you can create separate VFP pages and include them into main page. But, you can design ...
Santanu Boral's user avatar
4 votes
Accepted

Why at the Account tab dropdown menu the "+ Account" option is missing? (applies to ANY other tab, too)

The solution for this one is very wired and I would consider it as a Salesforce BUG. But maybe it is just a feature, that I can not understand. In the setup, you can configure Account > Search ...
Uwe Heim's user avatar
  • 34.1k
4 votes
Accepted

Query - Why standardsetcontroller page is not visible in Lightning Page Tabs?

Create a Visualforce Tab that references the Visualforce page and that tab should appear in the "All Items" list of the App Launcher.
Keith C's user avatar
  • 134k
4 votes
Accepted

Change browser title in Lightning Experience

You should do that in init handler of component. Sample: cmp file: <aura:component implements="lightning:actionOverride,force:appHostable,flexipage:availableForRecordHome,force:hasRecordId,force:...
salesforce-sas's user avatar
3 votes

How do I know/find the Id or name of an already open primary tab in the console?

You need the getFocusedPrimaryTabId, or possibly getPrimaryTabIds: (function (c) { "use strict"; var focusedPrimaryTabId, allPrimaryTabIds; c.getFocusedPriaryTabId(function (result) { ...
Adrian Larson's user avatar
  • 148k
3 votes
Accepted

How to change color of tab when pressed?

You need to add tabStyle attribute in you visualforce page <apex:page controller="RelationshipManagement_ApexClass" tabStyle="Account" > Instead Account use your sobject API Name . Or if it ...
Ratan Paul's user avatar
  • 22.3k
3 votes
Accepted

Default landing Tab not updated when I upgrade a managed package

https://developer.salesforce.com/docs/atlas.en-us.packagingGuide.meta/packagingGuide/packaging_packageable_components.htm#component_properties Above link provides details about which components are ...
Needhi S's user avatar
3 votes
Accepted

openPrimaryTab() not opening more than one tab with a tabLabel - Console

In this case, you need to specify undefined rather than defined as null in the first argument of sforce.console.openPrimaryTab(***id:String***, url:URL, active:Boolean, (optional)tabLabel:String, (...
Santanu Boral's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible