Questions tagged [ui]

User Interface that user see on display

Filter by
Sorted by
Tagged with
28
votes
2answers
4k views

Requirescript change in Winter '16 release

As per release winter 16 release notes: http://releasenotes.docs.salesforce.com/en-us/winter16/release-notes/salesforce_release_notes.htm In summer 15 release salesforce disabled JavaScript hacks ...
19
votes
2answers
17k views

How to Disable ui.button in Lightning Component

This may be broader question on how we set HTML attributes inside Lightning? The docs state ui:button has disabled property and it works fine in VFP for all VF components. But how do I set this ...
10
votes
1answer
2k 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 ...
9
votes
3answers
35k views

What is the correct way to pass Parameters to Lightning JS controller from UI:Button?

I have a button in a table in lightning component. I'm trying to get clicked id of the record. Component markup <table class="slds-table slds-table--bordered slds-table--striped slds-table--...
9
votes
3answers
14k views

Change field Data Type without removing all references to said field in Controllers and Classes

Is it possible to change a field's Data Type without removing all references to it in controllers and classes? I'm considering changing a Rich Text Area to a Long Text Area. I'm receiving the ...
9
votes
2answers
9k views

Difference between lightning and ui tags

I've begun to work on lightning component last days ago and I wonder why two different tags exist for the same things. For example, what is the different between lightning:select and ui:inputSelect? ...
7
votes
2answers
386 views

jQuery & Angular in Salesforce

I am very new to Salesforce development coming from jQuery/Angular framework. Can I develop UI containing angular/jquery in Salesforce ?. I am basically trying to learn Salesforce via an approach in ...
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 ...
5
votes
3answers
14k views

How do I get the Value of a ui:inputCheckBox Lightning Component?

I am currently stuck on an issue I am having getting the value of the ui:inputCheckbox Lightning component. In the Lightning Component Developer Guide, the following example is provided: COMPONENT ...
5
votes
2answers
1k views

In Lightning is there Inline-Editing like we know it from the Aloha-UI or VF pages?

Our clients are using inline-edit quite heavily, it saves a lot of time and feels also way better than pressing "Edit" to get in the full edit mode all the time. Is there a similar functionality ...
5
votes
1answer
2k views

How to extend a standard lightning ui component?

I had the following idea: why not take ui:inputTextArea and extend it to show a little counter that tells you how many characters youve entered. So i extended ui:inputtextarea, added another ...
5
votes
1answer
139 views

Beta / Pilot program for Lightning for the Desktop?

Is there any official or unofficial pilot program for Lightning for Desktop?
4
votes
3answers
4k views

Why use <ui:inputText> instead of <input type="text">?

What is the advantage of using a <ui:inputText> component instead of an <input type="Text">? In fact, the ui: version seems more locked down, as currently methods like .focus() seem to ...
4
votes
5answers
9k views

Play Video in Lightning page

If I can get the download url of a video which is uploaded in my Salesforce org, is there a way to play the video in the lightning page or play on a pop up video player on click ? (Not using the ...
4
votes
2answers
6k views

Is this possible to position label for inputCheckbox on the right hand side?

When I try to use standard lightning tag ui:inputCheckbox it displays label on the left <ui:inputCheckbox label="Checkbox label" labelClass="uiLabel-right" value="{!v.checkbox}" change="{!c....
4
votes
1answer
291 views

UI Design Query : VF vs JS frameworks/libs like Angular,jQuery

Our team is a much younger team with only a few yrs of exp in SF. Recently SF informed us via mail that they will be removing/modifying the home page component code written HTML/JS and recommended us ...
4
votes
2answers
549 views

Is there a visual style guide showing the default UI of visual force pages?

I am a UX designer and am relatively new to SF/VF. I would like to see the default visual styles of VF pages. Is anyone aware of a visual style guide for VF pages? I get lots of results for CSS ...
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 ...
4
votes
2answers
53 views

Setting a default view on Apex Classes

Is there any mechanism to set the default view on this screen?
4
votes
0answers
2k views

Lightning Component not Scrolling in iphone on Salesforce1 App

I have created a lightning Component which implements "force:appHostable". Now I have added this component into Lightning Component Tab and add it into an App in Lightning Experience. This tab with ...
3
votes
1answer
2k views

How to prevent manual entry in ui:inputDate

I have used <ui:inputDate> for entering date as follows: <ui:inputDate aura:id="ValidFrom" label="Valid From" class="slds-input" labelClass="slds-form-element__label" value="{!v.ValidFrom}" ...
3
votes
4answers
985 views

How To Create a Walkthrough

When you go to a page for the first time in SF a bubble pops up offering to walk you through all of the items on the page. A colleague of mine said it was possible to create walk-throughs like this ...
3
votes
1answer
584 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 ...
3
votes
2answers
8k views

getting error as Destination URL not reset. The URL returned from login must be set in the SforceService

while creating the contact in SOAP UI using the enterprise/parter wsdl we are getting the error as : Destination URL not reset. The URL returned from login must be set in the SforceService Please ...
3
votes
1answer
4k views

ui:outputURL tag is not working as expecting

<table id="contactsTableId" class="slds-table slds-table--bordered slds-table--cell-buffer"> <thead> <tr> <aura:iteration items="{!...
3
votes
1answer
940 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 ...
3
votes
1answer
2k views

Issue with Lightning Component rendering of Select List

I have a page that gets the record type of an object and displays it in a picklist in a lightning component, but when the object gets rendered, only 2 options show up in the picklist. After ...
3
votes
0answers
267 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 ...
3
votes
0answers
166 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,
3
votes
2answers
46 views

adding a contact while creating an activity

This must not be a new idea. A salesperson starts to enter an Event, realizes their Contact isn't yet added to the CRM, and would like to add on the fly. Can we do this without canceling the entry ...
2
votes
3answers
14k 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. ...
2
votes
2answers
84 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 ...
2
votes
1answer
895 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 ...
2
votes
1answer
5k views

How to fix lightning:input from overlapping with element next to it when editing?

Here is the reproducible version of the problem I am facing: ExampleComponent.cmp <aura:component> <ltng:require styles="/resource/SLDS212/assets/styles/salesforce-lightning-design-...
2
votes
1answer
138 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 ...
2
votes
1answer
1k 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
1answer
2k 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/>...
2
votes
2answers
405 views

Issue while redirecting, it is going to related list but not detail

Issue while redirecting, it is going to related list but not detail. Component var navEvt = $A.get("e.force:navigateToSObject"); navEvt.setParams({ "recordId":...
2
votes
1answer
72 views

Remove Dynamic Color Lightning commponent

I have the below code to display the dynamic color of a list <aura:component controller="INTL_CalendarController" implements="forceCommunity:availableForAllPageTypes" access="global"> <...
2
votes
1answer
102 views

Is Lightning the way forward? [duplicate]

At this point, when starting with new implementations is it better to go with Lightning Framework for UI and better UX, or to continue with Visualforce based UIs?
2
votes
1answer
1k 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
528 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" /> ......
2
votes
1answer
132 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 ...
2
votes
2answers
351 views

Access Check Failed! on ui:spinner component event after Apex call

I am getting a very similar problem to this problem with the ui:spinner. I am also using a Summer 16 org. The warning message I get is the following: WARNING: Access Check Failed! Component....
2
votes
2answers
4k views

How to improve inputField alignment and width in Visualforce?

I am displaying inputFields in a pageBlockSection. Input fields do not seem to be aligned properly. I see fields of different sizes. They are only left aligned. Right side is varying. How to align ...
2
votes
0answers
114 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", ...
2
votes
2answers
799 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 ...
2
votes
1answer
89 views

ui:input* label property issue with late binding

Why don't <ui:inputText>, <ui:inputNumber>, and other tags' label attributes get updated for late bound attributes? (forgive me, not sure if late binding is the correct term). Supposed I ...
2
votes
0answers
100 views

Capitalization guidelines for Salesforce objects in managed package application UI

Can anyone suggest guidelines for how to capitalise references to Salesforce objects in a managed package application UI, in particular standard objects like Account, Contact etc.? I've read the ...
2
votes
0answers
424 views

Custom search results page in salesforce community

I am creating the Salesforce community with custom UI. There is search form in the header(its UI is customized) like: <form action="/<community name>/search/SmartSearch" method="get"> ...