Questions tagged [ui]

User Interface that user see on display

Filter by
Sorted by
Tagged with
2
votes
1answer
58 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
1answer
25 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
2answers
38 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
0answers
17 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
0answers
23 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
0answers
16 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
1answer
99 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
1answer
49 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
0answers
120 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
0answers
32 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
1answer
104 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
1answer
43 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
0answers
208 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
1answer
195 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
0answers
9 views

need to edit css in ui:inputDateTime

I want to edit the width of the input boxes provided by ui:inputDateTime one by one. You can do it to the two fields at the same time by adding a class to the html tag but I didn't found how to edit ...
0
votes
1answer
27 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.
0
votes
0answers
20 views

UI on Salesforce App is different for iphone an Android

We are using slds-small, slds, and slds-large for all the components. On chrome browser the UI is looking proper on mobile. But if we use Salesforce App on android the UI gets squeezed and if used on ...
2
votes
1answer
232 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
1answer
370 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
0answers
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
1answer
122 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
1answer
580 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
2answers
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
1answer
191 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
1answer
3k 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
1answer
48 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
1answer
163 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
0answers
61 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
1answer
69 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
1answer
145 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
1answer
173 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
1answer
106 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
1answer
142 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
1answer
157 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
0answers
44 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
1answer
111 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
0answers
182 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
2answers
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
1answer
1k 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
2answers
331 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
0answers
38 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
3answers
2k 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
2answers
160 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
1answer
57 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
1answer
245 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 ...
0
votes
1answer
260 views

lightning:formattedDateTime issue

Today I noticed one awkward behavior of **<lightning:formattedDateTime>** aura component. Examples: I have a component where I need to display today date like Nov 5, 2019 But when i use **...
0
votes
1answer
51 views

Mobile UI issue in lightning buttonMenu Aura Component

I just notice that Lightning:buttonMenu aura component size bigger in the mobile after winter 20 Salesforce release. Is it any way to control the size as previous because it's breaking our UI. Its ...
0
votes
1answer
31 views

SF Agile Accelerator LEX

Has anyone ever experienced the dragging of tasks or work in the Work Manager becoming disabled?
0
votes
2answers
29 views

How to create different lighting components based on the values you have selected

This is my CMP file <aura:component implements="flexipage:availableForAllPageTypes,force:appHostable" > <aura:attribute name="accounts" type="Account[]" /> <aura:attribute name=...
4
votes
1answer
2k views

How to make Button on LWC card look like native UI

I have a LWC component that (tries) to visually mimic the native Task List using lightning-card and lightning-button-menu but the New Button just looks different regarding the padding and size of the ...