Questions tagged [label]

The tag has no usage guidance, but it has a tag wiki.

Filter by
Sorted by
Tagged with
-1 votes
1 answer
105 views

How to change the label of an Address field type sub value?

I have a field on an object that is an Address. When the user clicks on the address to edit it, it shows the various sub-fields in the address, including a a field labeled "Zip". I would ...
mhenry1384's user avatar
0 votes
0 answers
68 views

How do I remove the gap between a label and a lightning:select

In order to have a bold label, I separated it and hid the label on the select element. However, it seems to leave the label space. (This doesn't happen with lightning:input elements). <lightning:...
Dave Roberts's user avatar
1 vote
1 answer
192 views

Lightning Field Labels displayed Inline for some Users

In our Production Org the Field Labels on Standard and Custom Lighting Pages are displaying "inline" (to the left) instead of above for some Users. I know you can apply the label-inline ...
Jeff Callahan's user avatar
0 votes
0 answers
127 views

Error with tag toLabel to a field of a related object

I have a simple query of a custom object with a lookup to Account object: SELECT Id, Name, Client__r.MyPicklistField__c, tolabel(Client__r.MyPicklistField__c) MyPicklistFieldLabel FROM ...
Rodolfo's user avatar
  • 196
0 votes
1 answer
190 views

Illuminated cloud fails to resolve labels [closed]

I have a problem with my labels on my project. I use IntelliJ with Illuminated Cloud I've read some topics on this subject, and guys just resolve their problems by regenerating Offline Symbol, or just ...
Adrien Destouesse's user avatar
0 votes
0 answers
109 views

How to hide an apex:outputLabel along with the apex:inputField it's associated with

Given the code: <apex:pageBlockSectionItem> <apex:outputLabel value="{!$ObjectType.CustomObject__c.Fields.CustomField__c.Label} :" /> <apex:...
Shaolin Dave's user avatar
1 vote
1 answer
249 views

Get FieldSet label on VisualForce page via apex for custom object

I am creating a VisualForce (VF) page as PDF as report for a custom object MyCustomObject supporting different languages. Therefore I want to retrieve the label of a FieldSet, to dynamically account ...
HeXor's user avatar
  • 215
0 votes
1 answer
1k views

How to translate a Lightning Component Tab label in different languages?

I wonder how to translate Lightning Component Tab label? Why custom tab is not available at Rename Tabs and Labels in Setup. There is any special step to acheive translation here?
Grzegorz Połuch's user avatar
0 votes
1 answer
1k views

Is there a way to create Labels longer than 40 characters on CUSTOM OBJECTS?

Are there really no valid workarounds for enabling labels on Custom Objects to be longer than 40 characters (in Lightning)? I'm on the 3rd project where there was a valid business reason for needing ...
Bob Mount's user avatar
2 votes
0 answers
292 views

Label not being read by screen reader for lightning input field

I'm using a lightning-input-field as a lookup with a custom label. The custom label displays properly and replace the label associated with the field. My issue is that I want the screen reader to read ...
Greg's user avatar
  • 25
0 votes
1 answer
324 views

What is the best way to show the Visualforce PDF page in 3 different languages?

We have a site in one language and we need to show 3 different versions of the site (we have translations) in another 2 languages. It would be better to create 3 different visualforce sites (each for ...
SF_abc's user avatar
  • 1
1 vote
2 answers
2k views

Get a field label for a given record Id

Id recordId = 'xyz'; String objName = recordId.getSObjectType().getDescribe().getName(); I found the object Name but I also want Label for this recordId. How to use getLabel() on a given recordId?
user90674's user avatar
0 votes
2 answers
2k views

Changing record type LABEL

I would like to double check with you experts. I want to change the Record type label in one of my objects. Nothing should be impacted since the RecordtypeDeveloperName is not changed right?
Mira Cheytanova's user avatar
0 votes
1 answer
323 views

Retrieve Custom Label from Salesforce to Marketing Cloud [closed]

Does anybody know the way to retrieve the value of a Custom Label from Salesforce to Marketing cloud using either SSJS or AMPscript?
HeyGuys746's user avatar
0 votes
1 answer
51 views

Is it possible to retrieve labels in a managed package from the flow builder?

I would like to use labels from a managed package in the flow builder but it seems there is no way to do so. Is this the case or is there a workaround for this?
user73893's user avatar
  • 305
3 votes
0 answers
453 views

How to access standard Salesforce labels in LWC?

I know how to access my own custom labels, that is explained here. But how to access the standard Salesforce labels, e.g. for Save and Cancel buttons? I want to use those, because my org uses ...
Sander de Jong's user avatar
1 vote
1 answer
2k views

LWC UI Object Info API get only particular Field Label

The lightning/uiObjectInfoApi module includes wire adapters to get object metadata and picklist values. getObjectInfo -> Can we fetch only metadata of particular field instead of whole object ...
vkm's user avatar
  • 137
0 votes
2 answers
1k views

Get Field Label from history object in LWC

I am writing an LWC component to display history object results of a custom object. I am unable to retrieve field label from "FIELD" in _history object. Tried to build the logic in component.js, you ...
Bhanu's user avatar
  • 11
1 vote
1 answer
4k views

What font and size Salesforce use in labels by default?

I want to know what font and size salesforce uses in labels as in this picture .
Oumaima's user avatar
  • 35
0 votes
1 answer
172 views

Rename Label Behavior for Service Appointment Object Fields

I am trying to change label of the Address Field on Service Appointment Object. So under the rename tabs and label , I have changed the address label to Service Address. However the new value does not ...
starhunter's user avatar
0 votes
1 answer
41 views

How to re-enable Tab auto-complete to fill in the API Name with underscores?

For as long as I can remember, and using my other friend's laptop when I type words like "Sample Report" as my Field label and press "Tab", the API Name should auto fill as "Sample_Report". However ...
compski's user avatar
  • 1,251
1 vote
0 answers
1k views

Not seeing all fields in Rename Tabs and Labels

We are working on FSL. We need to rename the field label for Location to something else in Work Order. I went to Rename Tabs and Labels in Setup but not able to see Location in the field list to ...
वरुण's user avatar
3 votes
7 answers
19k views

Change the color of Lightning-input label

I have below code for input text <lightning-input label="Email" class="textInput" value={rec.Name} onchange={handleNameChange}></lightning-input> Here I want to change the color of the ...
Thirumagal 's user avatar
0 votes
1 answer
189 views

How do I align my lightning styled options in a Visualforce page?

I have a Visualforce page with a selectlist, an inputfield and some buttons. The Selectlist label is above the selection, which makes the alignment funny for the other fields. Any idea how I can fix ...
Irene's user avatar
  • 1,765
3 votes
1 answer
2k views

Change master label of lighting component

I need to change the label of a lightning component. By label of lightning component I mean the name of the component you read in the app builder. With LWC I can edit the file component.js-meta.xml ...
JoulinRouge's user avatar
8 votes
2 answers
23k views

How i can get the label of the selected value in Combobox - Lightning Web Components?

I'm developing a LWC Combobox and I want to get the label of the selected value in the handleChange() method, not the id. I filled the combobox with JSON Items in this form : {value :'Id', label:'...
Aymane Hammioui's user avatar
0 votes
2 answers
1k views

Align vertical label of lightning:inputField in large screen

I have a problem with lightning:inputField, in my page I have a mix of lighting:input and lightning:inputField. When I dispaly inputField in large screen, the label is horizontally aligned with the ...
dz00dz's user avatar
  • 3
0 votes
1 answer
543 views

How to Use Aura Attribute Length Value in Lighting Accordian Section Label

Looking to use an Aura Attribute length value for a Lightning Accordion Section. Pretty basic but i can not figure out how to do the length value minus 2 within the label. I'd like to keep it as ...
Bobbygllh's user avatar
  • 721
0 votes
1 answer
94 views

prevent to get Id field/Field label

All Fields label are getting in this list but i don't want ID field from below code how to avoid ID field label. public List<String> AllLabels{get;set;} String type='Account'; Map<String, ...
cloudZigZag's user avatar
  • 1,366
0 votes
0 answers
350 views

Custom Labels and $Label

I am not sure what is happening behind this $Label line: <aura:component controller="CommunityHoldingDetailController" > <aura:attribute name="holding" type="Holding__c" required="true" /...
Olivia's user avatar
  • 3,431
1 vote
1 answer
254 views

ui:MenuItem change label dynamically

In my component file I have a button menu and one of the menu items is defined as below: <lightning:menuItem label="Edit Properties " value="Edit" /> And I have a select event handler on the ...
Salesforce's user avatar
0 votes
1 answer
1k views

How to create a custom VF page with dynamically generated HTML code and what VF component to use?

I have a dynamically generated HTML code in apex. I need to put and render this HTML in a custom VF page. How that can be achieved? If I need an <apex:outputLabel> please advise how to put ...
lemdev's user avatar
  • 427
2 votes
2 answers
2k views

__MISSING LABEL__ PropertyFile - val SiteLoginFailureException not found in section Exception

I recently enabled the Global Header in a sandbox (using Classic). When switching to the Community, the user should be redirected to a custom VF page, /CommunityHome. Logged in as a System ...
Bob Hatcher's user avatar
4 votes
1 answer
1k views

Is it still not possible to get the Related List Label of Lookup fields via APEX?

We wrote a custom deduplication and merge tool allowing us to overcome the Salesforce limitation only to get the deduplication UI only for a few objects. Our tool needs to work on ANY SObject (custom +...
Uwe Heim's user avatar
  • 28.3k
0 votes
1 answer
1k views

Label lightning input hypertext [closed]

It is possible to render clickable label of a lightning input of the checkbox type? <lightning:layoutItem size="12" class=""> <lightning:inputaura:id="fieldCheckbox" name="terms" type="...
Luigi's user avatar
  • 1
1 vote
1 answer
4k views

Fetch Label of picklist value instead on API in lightning

Controller code <div class="slds-form-element__control"> <lightning:select name="customergroup" aura:id="conCountry" onchange="{!c.onControllerFieldChange}" ...
Rimii's user avatar
  • 361
0 votes
1 answer
70 views

Show object with different name in an app

Is there a way to show the contact object in a custom app with a different name (let's call it organizer) but in other apps it should display as Contacts? Also, I only want the change to been seen ...
Apex N-u-b's user avatar
  • 1,278
1 vote
0 answers
74 views

Why are labels for Mobile and Phone not the same in the API?

I asked this question on the Salesforce community but its probably not as active as here so wondering if anyone can shed any information on this; When getting the labels for the Phone and MobilePhone ...
r0bb077's user avatar
  • 155
0 votes
1 answer
101 views

How to check if there exists a field across all objects with specific label

I have label text of field. I need to search if there exists a custom field with that label across objects. How can this be achieved ?
Walker's user avatar
  • 2,313
3 votes
2 answers
4k views

How we will get different field label for different record type?

I have certain requirement in which i have to relabel the standard amount field on the opportunity Object for particular record type.For example if there are 6 record types named A,B,C,D,E,F then i ...
saurabh gupta's user avatar
0 votes
1 answer
4k views

What is the most efficient way to get object field labels in Lightning component?

I need to display custom object field inputs on Lightning component. This has to support localization. My code looks like this: <aura:attribute name="myFieldsMap" type="Map" default="{ 'Field1__c'...
Vladyslav K's user avatar
  • 2,713
4 votes
1 answer
5k views

soql picklist toLabel apex

I want to get label of picklist from soql and use it in my apex code to do some logic. For example following code gives me error Compile failure on line 7, column 18: Invalid field labelType for ...
Raja Vivekanandhan's user avatar
7 votes
4 answers
8k views

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

I have a blank Lightning component which I am using as a custom tab in Service Console. While the content loads fine the tab label stays on "Loading..." forever. Component Tab Screen There are no ...
Mossi2's user avatar
  • 469
0 votes
0 answers
239 views

Retrieve API Names of all components from salesforce

I want to retrieve API names of all the components from Salesforce Org. I used Force.com Migration tool(ANT) to retrieve Component names but I am getting the label of all the components. For Ex. ...
amit patil's user avatar
1 vote
1 answer
890 views

How to format label within an output panel

I have two fields in my visual force page and I'm using the value of one field to render the other. The problem is that since I'm using output panel, the formatting of the label is not similar to a ...
Brian's user avatar
  • 315
2 votes
2 answers
5k views

sObjectField Class Methods getLabel()

The SObjectField class has a getDescribe() method. Does anyone know of a creative way to get the field label for use in Apex? There does not seem to be a getLabel() method per the official ...
Steel Reserve 211's user avatar
2 votes
2 answers
1k views

Custom labels with placeholder in Visualforce

I'm using Custom Labels on a Visualforce page but those needs to contain a variable inside them, I'm used to it like this in Lightning: {!format($Label.c.myLabel, v.attribute1, v.attribute2)} Where $...
Nordine Hammache's user avatar
1 vote
2 answers
1k views

Lightning component get user's language rather than user's locale

I have a few labels I use on my Lightning Components. They are all based on the user's locale but nothing changes when user's language changes. How can I change this ? My users never change locale ...
Simonp's user avatar
  • 1,892
0 votes
2 answers
9k views

Rename Account Name Field label on Contract Standard Object

Can we update Account Name Label on the Contract Standard Object?
Yogesh Gupta's user avatar
0 votes
1 answer
147 views

label value inside another label

There is a label label_query which contains the SOQL query say 'Select name from Account where recordtypeId = 'value coming from another label'. In another label is stored recordtypeid. Now to use ...
s_saiyan's user avatar
  • 510