Questions tagged [ui]

User Interface that user see on display

Filter by
Sorted by
Tagged with
0
votes
1answer
47 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
23 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
26 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
44 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
37 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
66 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
76 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
7 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
26 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
17 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
91 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
215 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
80 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
266 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
542 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
95 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
2k 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
0answers
38 views

z-index is not working to ensure element is on top

I am building a checkbox dropdown list component and for whatever reason I cannot seem to get the styling correct so that the dropdown list shows above other elements on the page. See screen shot, ...
0
votes
1answer
38 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
136 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
46 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
50 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
91 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
123 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
74 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
112 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
114 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
33 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
73 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
124 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
833 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
188 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
37 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
136 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
47 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
223 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
192 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
46 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
28 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 ...
0
votes
2answers
296 views

Activate Trigger From Lightning Component

I am trying to create a lightning component that allows user to select an object and activate a trigger according to the object selected, similar to process builder but I’m trying to integrate this ...
0
votes
0answers
69 views

How to unsquish DataLoader UI

How to fix the squished UI for dataloader. See Image below. Machine specs: 4k res display, Windows, x64
0
votes
1answer
91 views

Why is the record UI truncating a formula field?

I have a formula field (text) that seems to work as expected. I say this because I pull a report, and the column with the field shows ABC123 XYZ 4567 (not exactly, but that's the gist). Anyway, I'm ...
1
vote
1answer
28 views

User is unable to transfer records to other user with the same role and profile via the UI

Specifically referring to Account and Opportunity records on Lightning. The user owns an opportunity record, when he clicks on the button to change owner, he only sees his name in the dropdown and ...
1
vote
0answers
115 views

How can one leverage the Salesforce UI API to create dynamic Lightning components?

Having reviewed the Salesforce UI API, I know it is possible to create custom UIs based on Salesforce meta-data. The use cases that have been shown are front end apps, usually built with React or a ...
1
vote
1answer
188 views

How can I record ui event data to generate ui heatmap in standard salesforce

It would be awesome to have statistics on how users interact with apps in salesforce, both the standard ui and the custom ui. For instance, I want to track ui interactions in lightning service console....