Questions tagged [ui]
User Interface that user see on display
152
questions
0
votes
0
answers
21
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
62
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
53
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
47
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
0
answers
36
views
Customize the Chat waiting windows
I have looked everywhere but without success regarding how can I customize the Chat windows when it is in the waiting mode,
I would like to achieve something like that
But I do not find:
How can I ...
0
votes
1
answer
32
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
398
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
414
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
34
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
171
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
0
answers
126
views
Dynamic min/max dates in Omniscript date inputs
I have a use case for taking a couple dates from a user. In this scenario, the second date input should be dynamically configured to have a minimum date of 1 week after the first date.
Looking at the ...
0
votes
0
answers
26
views
Help in choosing between 2 different lwc solutions
AS IS:
There is a stand alone father component called PeopleRegistry which has a child component called AccountsList. In the PeopleRegistry component if a user enters an Id, it will do callout to an ...
0
votes
0
answers
39
views
Auto Collapse lightning field section
Is there a way to auto collapse the lighting field sections on flexipages ?
This is original announcement but falls short of controls.
Hoping near future Salesforce release provides these controls ...
0
votes
1
answer
164
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
54
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
273
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
36
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
209
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
48
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
327
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
365
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
30
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
1
answer
337
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
648
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
22
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
198
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
866
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
1k
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
383
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
4k
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
95
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
202
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
157
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
143
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
197
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
228
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 ...
0
votes
1
answer
167
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
160
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
184
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
80
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
222
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
241
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
1k
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
469
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
40
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
186
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/...
1
vote
1
answer
79
views
Disable change owner on specific record through UI but not through Apex
I'm looking for a way to disable a record's change owner for a specific profile through UI (for example it should disappear the change owner button on the related list view), but keeping it enabled ...
0
votes
1
answer
278
views
Marketing Cloud - Change Field Size in UI Data Extension
While creating or editing a record in a Data Extension, the fields in Marketing Cloud UI (Contact Builder) are too small. I have some fields where I only need to put some four char code and they are ...