Questions tagged [ui]
User Interface that user see on display
159
questions
-2
votes
0
answers
18
views
How to Display Images in Salesforce UI V2 plugins.Any Sample code in place
Sample code to display images in UI V2 Plugin?
1
vote
1
answer
37
views
CSS link button not responsive
I am creating a link button purely using CSS and HTML. This is because I want to pass the html structure to an external system. It works perfectly fine when the browser tab is maximized. but when I ...
1
vote
0
answers
42
views
How to prevent page unresponsiveness using aura javascript
I am uploading an excel sheet (xlsx and CSV) using sheetjs library. I want to read excel sheet and show the data in the datatable. When I am uploading large number of records the chrome is giving page ...
0
votes
1
answer
84
views
Change Duration on Out-of-Box Toast Duration
Is there a way to change the duration of an out-of-box toast message? The scenario is that I'm opening the edit page Specifically, the case message that says "Case xyz was saved" whenever ...
0
votes
1
answer
25
views
DRY Code for datatable row
I had a suggestion from another engineer to directly assign rowData since the rowData property name and selectedRule property name are the same, but I am having some issues with it and I am not sure ...
1
vote
0
answers
54
views
On experience cloud for mobile (android) button 'Save' is not visible on standard record creation window (screen attached)
In the android mobile version of experience site on object list page I have a standard 'New' button (without override), which opens the standard record creation modal. When user logs in to the system ...
0
votes
1
answer
42
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
204
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
293
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
393
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 ...
2
votes
1
answer
566
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
39
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
698
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
660
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
642
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
91
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
2k
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
1k
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
208
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
1k
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
513
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
873
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
39
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
651
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
67
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
967
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
937
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
39
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
771
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
26
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
371
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
2k
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
3k
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
1k
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
8k
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
351
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
329
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
662
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
480
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
657
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
478
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
397
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
216
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
241
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
153
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
844
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
414
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 ...