33
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 <...
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 ...
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
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 ...
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....
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 ...
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
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/...
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, ...
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>...
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="...
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 ...
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 "...
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");
...
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 ...
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....
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:
&...
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, ...
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 ...
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 ...
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 ...
4
votes
Accepted
How to change the tab name of a custom object?
Go to "Rename Tabs and Labels" from setup and rename the tab.
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.
4
votes
Add Lightning Web Component to Lightning Tab
I was able to do this by:
Setup
Lightning App Builder
List item
Create a new App Page
Add the LWC to the page
Associate the page with an App
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:...
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) {
...
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 ...
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 ...
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, (...
3
votes
Accepted
Tab visibility after managed package upgrade
Applications are now upgradeable as part of a package upgrade. It is always important that you check the documentation to ensure that you have the most recent information on packaging behavior before ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
tab × 298visualforce × 82
apex × 34
lightning × 32
lightning-aura-components × 27
lightning-web-components × 24
lightning-experience × 18
custom-object × 17
console × 15
javascript × 14
managed-package × 12
tabpanel × 11
service-cloud-console × 10
deployment × 9
list-view × 9
app × 9
salesforce1-app × 8
metadata-api × 8
custom × 8
community × 7
profile × 6
page-layout × 6
subtab-apps × 6
salesforcedx × 5
visualforce-component × 5