Questions tagged [ui]
User Interface that user see on display
154
questions
0
votes
0
answers
27
views
Single Currency Org, How to display (AUD) next to currency field on Opp object?
I'm an Admin on a single currency org, set to Australia (AUD). Client would like the currency to display next to the currency field. Apart from enabling multi, is there another way to be able to ...
-2
votes
1
answer
46
views
Want to do the UI like this please help me how to put colored dots after status in html [closed]
want to show the image on UI like this
0
votes
0
answers
51
views
How to conditionally render 'checked' button in Lightning Visual Picker
I have two separate, but related questions. I am trying to conditionally render attributes in the lightning visual picker to be checked. I want the first enabled button to be checked by default. I ...
0
votes
2
answers
130
views
getRecords on LWC only returning one record
I am trying to get an array of usernames from a list of user ids using getRecords. Using the documentation from getRecords, I am able to get one record. I intentionally used the same userid in the ...
0
votes
0
answers
147
views
increase width of lightning quick action LWC and css fixes
I want to increase the width of this section and also I have made a customdataTable in order to display picklist values. But due to some CSS issue the popup is not shown properly.
Code
<...
1
vote
1
answer
281
views
How To Get All The Favorites In Salesforce?
I am using as reference this documentation: https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/ui_api_resources_favorites.htm
And it says that by doing an HTTP GET request to this url &...
0
votes
0
answers
30
views
Salesforce Console Layout how to achieve UI look
I was looking at some old dreamforce recordings and I saw this salesforce console app.
Here is a link to the recording - they start showing the app at around 12 minutes
My question is how did they ...
0
votes
0
answers
384
views
Address State and Country not visible on the records
Dear friends I have an interesting problem.
The address fields are not correct visible on the records.
On the account page I see all address fields, but on the Address record and Service Territory I ...
0
votes
1
answer
369
views
How to set pageBlockSection with 2 columns equally spacing in the Vf page
I am using pageBlockSection with columns as 2 and inside this block I am using panel group.
The issue I am facing is that there are 2 page block section in my code but the first page block section ...
0
votes
1
answer
389
views
Lightning icon inside a tag not working properly
I have used html table to show list of records with custom pagination and sorting in lwc component. For sorting, I need to have up and down button along with text on headers.(Clicking on header text ...
0
votes
1
answer
67
views
parse case description field in aura component
I have a request to parse the description field and extract multiple values for certain entries such as: username = xxx fname = aaa lname = bbb. Once I have extracted these values they need to be ...
-1
votes
1
answer
1k
views
how to align combo box and help text near in LWC
I have one combobox in popup and i am adding one icon near to combobox field but its not alligning correctly
<div class="slds-modal__content slds-p-around_medium" id="modal-content-...
4
votes
1
answer
945
views
How to get code coverage report for LWC unit tests with JEST?
I was working on the unit test setup for Lightning Web Components with Jest and tried to figure out how to get a code coverage report but found nothing in the Docs. By running:
sfdx-lwc-jest --...
1
vote
1
answer
90
views
Cases Page Layout Design Question
I've added a field to Cases that relate to an Opportunity. 'Insurance Carrier'
I'd like that field of the Opportunity to surface under a Tab in the page layout instead of in the details of the Case.
...
0
votes
2
answers
792
views
Wrapper and custom object in list
How to show this elements in html.
I am new in salesforce and programming
public with sharing class StockMarketSharesWrapper {
@AuraEnabled(cacheable=true)
public static List<Wrapper> ...
0
votes
1
answer
334
views
Lightning Aura Component: Embedding child component has kind of Border
I have implemented a custom lookup component and i added this component in another Lightning Aura Component as a child. My problem is that the child component is having something like a border, which ...
0
votes
1
answer
60
views
Is there a way to alter binded UI data? [closed]
Lets say I have searchResult.zipCode and I want to alter the data in it before it is rendered because it returns a full zip code and not the first 5 digits of it, like how we regularly use zip-codes. ...
1
vote
0
answers
557
views
How to add a custom field to Address Compound Field on Account
Requirement: Add a custom field to the address compound field on the account object.
Salesforce provides a street, city, state, state code, country, country code and zip code in the address field. I ...
1
vote
0
answers
38
views
Not able to find elements of a sfdc login screen using UIautomater
We have created native Android mobile App using 'com.salesforce.mobilesdk:SalesforceSDK:8.+' mobile sdk for the login functionality in the app. We use the Community url for login.
We are trying to ...
1
vote
1
answer
411
views
Customize the CSS of lightning-helptext
I am trying to customize the borders of the standard help text and using in a LWC component like below:
I would like the popup to look like a rectangle instead of the curved border.
0
votes
1
answer
61
views
I can block the option to paste in ui: inputSecret?
I would like to know if you can block the option to paste in a component, ui: inputSecret
<ui:inputSecret value="" aura:id="input1" class="field row-of-icons" ...
0
votes
0
answers
653
views
Custom field updating in database but not showing in UI
I have a custom field on the Case object, which is of type Number(18,0).
This field is originally null, but after a trigger call, it gets updated to a certain value fetched from an API.
I have ...
1
vote
1
answer
742
views
LWC: Product Selection Component for arbitrary objects? [closed]
TL/DR: Is there a known implementation of the (standard) product selection component on Pricebooks that is working with any object?
On the Pricebook we have a default component that looks like that:
...
0
votes
1
answer
34
views
License Display Name Change
I am looking for a way if we can change the display name of licenses which are shown under Company information in UI. Please let me know if this is possible, Thanks.
2
votes
2
answers
551
views
The differences between Aura and LWC inheritance, how to inherit the UI HTML Markup from ancestor component?
When an Aura component inherits another Aura component, it inherits both the Javascript and the HTML. So the html of ancestor component can be reused in the descendant component.
While this is not ...
0
votes
1
answer
1k
views
Best approach to use/port/migrate an open-source React component to LWC
I want to use an existing React Component as a LWC Lightning Web Component in a Salesforce app. It's a complex component with a Github repo full of Subcomponents. Everything is written in Typescript.
...
0
votes
0
answers
25
views
Private Settings managed packaged issue
Have someone ever faced package named Private Settings? There is need to take a glance at the classes methods if it possible. I'm gonna use that one to reach out custom API but don't have a clear idea ...
0
votes
1
answer
311
views
Disable Setup Button in Salesforce but also need "View Setup and Configuration Permission" in Profile for Metadata Deployement
I have a lightning component that is used to create and edit Metadata using Metadata API Deployment.I have created a System admin user for this because only System Admin user has "Author Apex&...
1
vote
1
answer
1k
views
Get dynamic input field values in Aura
I'm building a dynamic custom UI which is configurable via custom metadatatype.
I declare field label, datatype, position(left/right columns on UI) etc on the CMD.
I populate fields using aura:...
0
votes
2
answers
2k
views
Not able to select multiple picklist values using lightning:select
Lightning Ui namespace is deprecating soon hence we are migrating Ui namespace tags to the lightning namespace. We have used the below tag to select multi picklist values with the Ui namespace. Now ...
0
votes
1
answer
780
views
How to show a specific field only on record detail page, hide in new pop up page in default object UI?
Good day!
I am using default UI of Salesforce, so no customization or anything. Everything is default, I want to achieve the solution of my problem by using default UI.
So, I actually want to hide a ...
1
vote
1
answer
6k
views
Hide vertical scrollbar in lwc lightning datatable
How to hide vertical scrollbar in lwc lightning datatable. I have enabled lazy loading.
I tried with height, but when there are less records, vertical scrollbar is not coming.
But it didnt solve the ...
0
votes
1
answer
239
views
How to put the big statement in one line
Hi I need to put the two big statement in one line as shown in the below, can some one help me out for this
below is the screenshot
when i am putting it in one line then i am getting below ...
0
votes
1
answer
268
views
Insufficient Privileges in Email Body pane on contact Activity Email
My client has a weird bug where they can see the whole tab for Email in the Activity Tab on the Contact page, but the rich text editor for entering the body of the email shows an Insufficient ...
0
votes
0
answers
364
views
How to put a over in the LWC that is displayed on the overing of the mouse on the link
I need to put an event in my lightning Web component "onmouseover" whenever user bring the mouse over thetest i need to display a badge full of message, currently it is not coming as ...
-1
votes
1
answer
389
views
HTML markup in single line in grid [closed]
I need to put the value in single line in the grid in the extreme right of the LWC component.
can anyone help me out for this.
below is the code HTML Markup
<template>
<main class='...
1
vote
1
answer
345
views
Where to find the CSS styles behind a Salesforce CSS class?
Background
The Lightning Design System shows the CSS classes you can use for a finite number of scenarios.
The problem
I don't like this. I prefer being able to understand what is actually being ...
2
votes
1
answer
357
views
Is it possible to export a Salesforce-hosted Lightning Web Component for consumption as a Micro Frontend?
A colleague was giving a very exciting presentation on Micro Frontends today.
He explained that if you can import the web-components into your JavaScript, you could compose your UI using components ...
1
vote
1
answer
287
views
Lightning Toast moving screen to top of page
I have a normal toast event on a lightning component that is halfway down a page that consists of several lightning components. When the toast event fires, the toast appears and once it is closed the ...
0
votes
1
answer
209
views
Unable to Resolve UI-Card - Salesforce Playground Composition Recipe
Experimenting with LWC and getting the following error following a recipe:
Unable to resolve ui/card from root/compositionContactSearch/compositionContactSearch.html
Am I missing an import or ...
0
votes
1
answer
211
views
Height of ui:inputtext
I have a ui:inputText field that accepts 255 characters. I want the users to be able to see evertything they type in the field without scrolling. How can I set the field height so that the input ...
1
vote
0
answers
125
views
Add design attributes dynamically with add button
In many standard LWC components, I have seen design attributes can be added dynamically with a + Add button. See the screenshot below.
Can we achieve the same thing for custom components?
0
votes
1
answer
564
views
How to edit the NEW modal dialog?
On Services. When I got to the Account tab there is a "NEW" button. Hitting this button will pop up a modal with a couple of fields. How do I edit this modal? I would like to add an iframe to it.
1
vote
0
answers
352
views
View a child record's chatter feed from Parent record
The Problem: Chatter feeds are powerful, but require the User to open the record to view it. When trying to centralise everything on a single Parent record, this does not make for a great UI/UX.
The ...
0
votes
2
answers
2k
views
task fields are not displaying value in LWC, which is used in partner community
I have created LWC, which is having controller to fetch task records from apex controller. but it is again giving me same error "Object Task is not supported in UI API". can any one please let me now ...
0
votes
1
answer
2k
views
How do I make the button size the same width regardless of the content length in LWC?
I have written up some code in Playground but isn't working as I expected.
I want to make the buttons in LWC the same size as in picture below (which in turn will naturally make the spacing the same) ...
0
votes
2
answers
732
views
Is there a way to retrieve a PageReference parameter from a Lightning Component?
There is a requirement to show a modal pop-up forcing our user to choose a reason from a dropdown when loading a Case that meets specific requirements.
The following line of code redirects to a ...
1
vote
0
answers
43
views
Customizing salesforce UI [closed]
My company is moving to salesforce and most of the time the requirements I get are something like
Give me a single page where I can do 10 things
The data is too cryptic for the end user to ...
6
votes
3
answers
3k
views
LWC custom modal doesn't behave like native one
In my LWC app, I created a custom modal component to mimic standard Salesforce modals displayed during Record Type selection. I'm suffering from a few glitches where it doesn't look and behave like ...
0
votes
2
answers
200
views
Does the getRecordUi support Location Object?
I have a lwc component, In order to show WorkORder details page I need a relatedField on a relatedObject wich is Location.Name.
I have used two methods
import LOCATION_NAME_FIELD from "@salesforce/...