Questions tagged [ui]

User Interface that user see on display

Filter by
Sorted by
Tagged with
0
votes
1answer
37 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
30 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
34 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 ...
4
votes
1answer
144 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
37 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
29 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
123 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
24 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
0answers
22 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
0answers
14 views

Can I add custom menu items to the 'Gear' menu in Lightning Experience?

There is a custom menu in Salesforce Classic that I'm in the process of migrating to LEX. I've created a lwc that has <lightning-button-menu> with all the menu items and I placed it on a home ...
0
votes
1answer
17 views

SF Agile Accelerator LEX

Has anyone ever experienced the dragging of tasks or work in the Work Manager becoming disabled?
0
votes
2answers
27 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=...
3
votes
1answer
485 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
63 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
42 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
30 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
27 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
42 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
41 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....
3
votes
0answers
68 views

Use old style UI when editing object CRUD in a permission set

Is there a way to use the old profile UI when editing a permission set? I'm trying to build a workaround for today's massive permissions crash in Salesforce. I want to set CRUD permissions on a lot ...
2
votes
2answers
48 views

Considering the Order of Execution, Can a Manually Entered Record through the UI ever be in a Queue Before Insert?

Background: I've been building a Lead round robin system to evenly distribute work. It checks for records owned by queues, and assigns them to the next user available in each queue. I opted to do a ...
1
vote
1answer
254 views

Dynamic UI based on Large JSON response / Web UI based on JSON Schema implementation [closed]

I'm dealing with a complex problem and need expert opinion for selecting a right approach. In short, Need to render a Dynamic UI based on JSON returned by an external system. Each user selection ...
0
votes
1answer
27 views

Is there a list of all places in SF config where UI error messages can be defined?

When creating an Account I encountered an error message: Looks like a custom message but I searched over every possible place I know where custom error messages can be created and didn't find it. ...
0
votes
1answer
149 views

Salesforce Lightnining unable to see full values in UI Picklist

In Salesforce Lightning Experience, whenever I have a 'Classic view' picklist, when I click on the picklist to choose a value, I am unable to view the select options: If i minimize my browser window ...
3
votes
0answers
108 views

Is there any way to turn off these global toast notifications?

Wondering if anyone knows of a setting that would turn all of these toast notifications off,
0
votes
1answer
412 views

Cannot Read Property 'ErrorCode' Of Undefined in Lightning Component on Community

I am building a lightning component that needs to allow a series of fields on Case to updated by a community user. This component loads up just fine in Lightning Experience, and even in the Community ...
1
vote
2answers
464 views

Detecting UI Theme from Javascript Static Resource

is there a way to detect if I stay in Salesforce Classic or Salesforce Lightning context from javascript as static resource? I need this because before to detect the user theme I used if(sforce &...
3
votes
1answer
333 views

Why at the Account tab dropdown menu the “+ Account” option is missing? (applies to ANY other tab, too)

Update: this issue applies to ANY SObject tab (Custom + Standard), too. On all Orgs but one that I know at the Account tab there is a first option "+ New Account". It looks always like this and this ...
1
vote
1answer
189 views

How to put css swatch inside lightning select

I have a lightning select dropdown which iterates over a list of objects containing colour details, specifically the colour label and it's HEX value. I want to be able to display the hex value as a ...
0
votes
1answer
218 views

Difference in Case Created Date in UI and System Backend

created date on case UI is displaying 5/9/2018 date but in backend created date is showing value 6/9/2018 When I am querying through developer console. I have one workflow rule to calculate Target ...
1
vote
0answers
28 views

Salesforce Lightning WebPage Rendering

Im a Test Automation Engineer. I was analyzing an application built using Salesforce Lightning. I tried to identify an element (Image) in DOM using a tool. I observed that the tool identified the DOM ...
1
vote
1answer
706 views

Wrap components in lightning

I am trying to wrap components in a Salesforce Lightning tab. It seems like a fairly simple task. I want items (which are dynamically created lightning components) to be arranged in (for example) four ...
0
votes
1answer
592 views

How to display percent values in lightning component?

<ui:outputNumber class="slds-float_right" value=" . {!loanOffer.origination_fee_in_percent}" format="0##.##%"/> With this code in aura:iteration I am getting 4.75%, 1.5%, 2%, 2%. What ...
2
votes
1answer
601 views

How to get on change events for lightning:inputRichText?

I'm trying to capture changes to a Lightning app rich text editor. Using the following... <lightning:inputRichText value="{!v.body}" aura:id="iBody" /> I've tried adding onBlur="{!c.blurBody}...
2
votes
0answers
98 views

ui:inputDateTime does not respect format

I'm dynamically creating a ui:inputDateTime component -- however it does not accept the format that I specified { "aura:id":"selectDateTime", "format":"MM/dd/yyyy HH-mm-ss z", ...
0
votes
0answers
542 views

jQuery UI Sortable not recognizing dropped item in array

I'm trying to use jQuery UI Sortable to create records, and to enable the user to change the order of created records. The problem I am having is that upon drop, the array excludes the item dropped. ...
2
votes
1answer
594 views

How to rename 'Checkbox' column in lightning 'datatable' component?

Description: Lightning datatable component allows to place checkboxes within the rows. Checkbox column on top contains a select all checkbox by default. Question: Would it be possible to put a ...
9
votes
1answer
1k views

How to implement a professional infinite/virtual scrolling in Lightning

I have a custom Lightning grid component (like and editable lightning:datatable) for which I need infinite scrolling to display thousands of rows without bringing the customers browser to a halt. I ...
2
votes
1answer
479 views

$User.UITheme not working on viualforce page

I'm trying to detect on a visualforce page that is the page opened in a classic or Lightning view in Salesforce. For this I'm using "$User.UITheme" and "$User.UIThemeDisplayed" on the visualforce page ...
1
vote
0answers
203 views

User Automation and Future Method and Permissions Issue

I am stumped on a problem and was hoping someone could spur some thought. I have two users who have different profiles. The System Admin profile is able to get through a Future Method and a ...
2
votes
1answer
761 views

How to hide Communities global header?

We enabled Communities in our production environment, and now, non-admin users are reporting they see this new black header at the top of Salesforce. I believe this bar is called the "Global Header": ...
2
votes
1answer
390 views

Lightning spinner doesn't show up in Promise setting

In the init() function of my Lightning component <aura:component> <aura:handler name="init" value="{!this}" action="{!c.init}" /> <c:spinner aura:id="spinner" /> ......
1
vote
3answers
10k views

How to enable wrap text in ui:outputRichText?

We need to enable wrap text in lightning rich text field.   Tried below markups including slds-scrollable_y, slds-hyphenate individually and together even in ui:outputRichText class attribute. ...
1
vote
1answer
29 views

Sharing UI components between Salesforce and public website

We would like to write some UI widgets that we need for our internal users using the Lightning Experience infrastructure but we already know tomorrow we might want to expose them on a public website ...
0
votes
1answer
426 views

How can I locate a ui:inputCheckbox?

hopefully this will be an easy one. I'm iterating through a list to populate a table, and I want to have checkboxes on the table too. I also want to be able to locate the previously chosen checkbox ...
1
vote
1answer
922 views

How can I add multiple white spaces between fields?

There are ways to create one white space (&nbsp;, <br/>), but I don't know how to create multiple consecutive white spaces between two fields. I've tried using InputHidden fields, <br/>...
0
votes
1answer
31 views

Injecting components on standard Salesforce pages

This is more of knowledge question. I want to detect all the phone fields on the salesforce standard page and convert them into a hyperlink, on clicking of which some action needs to be performed. I ...
0
votes
1answer
593 views

Better way to embed external application UI in Salesforce

I am looking for a good option in terms of adaptability to lightning to embed a external applicaiton in Salesforce UI( A VF page or Lightning component). On doing some research I identified below ...
0
votes
0answers
860 views

How to apply external styling to ui:outputText

I want to apply external style for truncating the text displayed by ui:outputText. Markup: <lightning:layout multipleRows="false"> <lightning:layoutItem class="slds-p-around--medium"&...
1
vote
1answer
503 views

Mobile UI in iPad in Salesforce1

I just came to notice that in iPad devices, Salesforce1 app is reflecting the mobile design of the app! I'm specifically asking it because, in the Chrome simulator, it's showing the table layout ...