Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Lightning Experience is the new salesforce platform ecosystem comprising Lightning Experience: Desktop app, Lightning App Builder and Lightning Design System

0
votes
0answers
10 views

How can I change a VF page URL in the Lightning Experience via javascript

I have a React app that runs with as a Visualforce tab in the Salesforce both classic and lightning version. The app router works well in the classic, but it does not work in Lightning Experience. ...
1
vote
1answer
31 views

Multiline toast message

I want to be able to make a toast message have two lines of information: When I look in the documentation, I don't see anything that specifies how to add details to the message, the way we see toast ...
1
vote
0answers
18 views

lightning:recordViewForm throwing error if update records fetched from server

I have a use case in which I have to display Opportunity fields(stored in custom metadata type) using lightning:recordViewForm. On initial load I do API call which returns Opportunity Id and some ...
0
votes
0answers
8 views

salesforcelighting issue

responses text goes blank during ajax request: const xmlHttp = new XMLHttpRequest(); const sid = getCookie("sid"); xmlHttp.open("GET", url, true); xmlHttp.setRequestHeader("Authorization", "Bearer " +...
0
votes
0answers
18 views

Related list you're trying to view isn't in the layout. Please get in touch with your administrator

I have a VF Page for Account that has the related list (Cases) added in the Vf page code. When I login in classic and click on account record, go to Cases related list and click on New case button - ...
0
votes
1answer
23 views

How to update the only modified records in aura:iteration using index

Is there any way to update only modified records in the list that is iterated through aura:iteration. I am trying to get index at row level using event.currentTarget. But event.currentTarget is ...
2
votes
1answer
21 views

Application Event Returning null in Production but works in Sandbox

Ok, this has been driving me nuts for the past couple of hours and I'm at my wits end. I created a custom application event in a sandbox and deployed it to production. In the sandbox I can call it all ...
0
votes
0answers
9 views

Can we open a visualforce page in a new window or tab in visaulforce page in lightning experience? [duplicate]

In Classic we use window.open() to open a window in new window/tab. But window.open() open page with classic URL(say https://.visual.force.com/apex/VFpage). Is this valid in Lightning experience. I ...
0
votes
1answer
20 views

Is this url “https://sfIntace.visual.force.com/apex/VFpage” is Lightning or classic

I am new to Salesfore Lightning experience. I open vf page from tab in Lightning experience it open with some lightning URL. But when I open page from all visualforce pages screen, it show url like ...
0
votes
0answers
19 views

Restrict picklist values fetched in lightning component depending on record type [duplicate]

I have a lightning component which displays picklist values in lightning:input. I am using the following apex code to query picklist values and put it in the map @AuraEnabled public static List<...
0
votes
2answers
22 views

Append files to the first upload in <lightning:input type=“file”>

I am using the following code in my lightning component to upload multiple files <lightning:input aura:id="fileId" onchange="{!c.handleUploadFinished}" type="file" name="file" label="Upload ...
0
votes
0answers
10 views

Compact layout overides my Lightning component css

I have an important issue with the Winter 19 Release. I have a lightning component inserted inside the Page Layout using a Visualforce with LightningOut. However, when I change to the new Display ...
0
votes
1answer
32 views

For multi-file upload same file being uploaded twice

I am using the following to upload multiple files in Salesforce custom lightning component. http://sfdcmonkey.com/2017/09/25/file-upload-lightning-component I my component, I have the following code ...
1
vote
0answers
12 views

Set auto-CC in Reply-All Lightning Component

Is it possible to set email to CC in default Reply-All Lightning Component in the Case? screenshot
1
vote
1answer
25 views

Look Field to Open specific Record Type Create Record Page Layout [closed]

Is there any way to Open Specific Record Type page layout from Lookup field New Record Creation "+ New Record" option in Lightning Experience? Thanks, Lalit
1
vote
0answers
14 views

Profile Subtab Apps in Lightning Experience

Does anybody know how to use Subtab App in lightning Experience on Chatter Profile ?
0
votes
1answer
25 views

Calculate the difference between 2 dates and display the value in a field dynamically

I have a requirement in which I have to calculate the difference between the start date and end date and display the difference between these dates in third field. I Started writing the component but ...
0
votes
0answers
30 views

SFDC Monkey Custom Lookup Pill not displaying properly

I am trying to use SFDC Monkey custom look component. it's working fine, but when i select record from result it's not displaying selected pill properly. SFDC Monkey Custom LookUp Mark up <aura:...
3
votes
0answers
28 views

Visualforce navigation tab not showing as highlighted in Lightning Experience

The managed app being created has two VisualForce pages with tabs that work fine. One tab is a "list page" of custom objects, which can be clicked on for more detail. The click navigates to one three ...
0
votes
2answers
48 views

How to get source of lightning component

I have 2 quick Action buttons, which call same lightning components. How should I know on component initialization that which Quick Action triggered lighting component?
0
votes
2answers
39 views

need to call force:createRecord from lightning component used in visual force page

I am try to call lightning component from VF Page and trying to call force:createRecord from lightning component. but getting below error message: This page has an error. You might just need to ...
0
votes
1answer
33 views

Calling Flow from Lightning Quick Action

I'm trying to call a flow from a lightning action on the opportunity object. The flow is called from a button in classic, but buttons do not appear in lightning. A URL hack of that button allows me to ...
0
votes
0answers
6 views

Visualforce publisher API actions not working in Lighting experience

We are using Salesforce Javascript Publisher API in Vf page it is working fine in classsic console app.Now we migrating this to Lightning Experience same functionality not working like applying email ...
0
votes
1answer
22 views

How to use same external object to display different related list in the same Parent Object

I have the following requirements. -> In the case object (this is a salesforce object) I have to create a related list of Transfer Transactions. I achieved this. And the related object is an external ...
0
votes
1answer
38 views

Iteration of Child Lightning Component

I am building a lightning component for an app home page and want to render a list of records. I have created a parent component that iterates over a list of children components. The parent component ...
3
votes
1answer
27 views

Lightning App/Cmp - URL Query Param Vulnerabilities

I was wondering if you guys have an idea of vulnerabilities for URL params when used in lightning. I've tried Cross-Site Request Forgery against the app and its been safe. We also have a URL ...
2
votes
2answers
68 views

Lazy Loading for Lightning Components

Need some advise. Following is the code for lightning app, where all components are included. I am running out of various governor limits when they execute together. Hence, I am planning to make their ...
3
votes
1answer
20 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 ...
0
votes
1answer
24 views

How to maintain lightning experience for mobile devices?

Is their any way to maintain lightning experience for mobile devices? currently on mobile devices Salesforce1 version being getting rendered. I tried by disabling below option but then for mobile ...
0
votes
0answers
33 views

namespace issue in Lightning Component and Apex

I am writing a lighting apps, which contains various customer objects and fields. Currently i a working on development environment without namespace and I have created un-managed package and deployed ...
0
votes
0answers
20 views

i am getting a trouble converting a list button from classic to lightning. can anyone help me?

{!REQUIRESCRIPT("/soap/ajax/28.0/connection.js")} {!REQUIRESCRIPT("/soap/ajax/28.0/apex.js")} //Get account id var accFlag = "{!Account.Dummy_Private_Flag__c}"; var accId= "{!Account.Id}"; var ...
0
votes
1answer
44 views

Why I use Split() function have Error in lightning component like this?

var selectedField = component.get("v.selectedField"); var resultArray = selectedField.split(','); when I use split method display this error,who could tell me why? Error: Uncaught Action failed: [...
4
votes
0answers
32 views

New Salesforce BUG Winter '19: Some Report Charts do not render on Homepage anymore

We have created some reports using cumulative line charts. They did run and render fine in Summer '18. Now in Winter '19 the Report Charts (Standard Salesforce Lightning Components) are blank. It ...
1
vote
1answer
47 views

For lightning:input can I set my own Id attribute?

I am using aXe tool to do accessibility testing and it is giving me a red flag because it doesn't like the current value in the id attribute, that is set to "input-1". Question is how, if possible do ...
0
votes
2answers
37 views

Does Lightning:navigation does not work in a component which is created in a Visualforce Page?

I have a VF page where i am creating a lightning component(createComponent and App using ltng:outApp). In this lightning component i am trying to use lightning:navigation. Also tried using e.force:...
0
votes
0answers
14 views

New Case Button Override in SF1

I have overridden a lightning component for new case button, it works fine for Lightning desktop, if i try to view it in SF1 mobile app, new case button itself missing in the list view. What may be ...
0
votes
0answers
33 views

Error using aura:iteration

I am using an attribute of type SObject[] aura:attribute name="testDetails" type="SObject[]" access="global" This page has an error. You might just need to refresh it. Aura.loadComponent(): Failed ...
0
votes
1answer
45 views

How to display image in a lightning component

My files are stored in 'files' under App launcher. I have a Rich text box field 'description' in a object wherein i enter text and images. Here, the images are entered as tags. the 'src' attribute ...
0
votes
1answer
24 views

How to add a Flow button to a Lightning Highlights Panel?

We have created a flow and a Flow action button. We'd like to add the button to the Lightning Highlights Panel on a case detail page. However, despite adding the button to the page layout in the ...
1
vote
1answer
39 views

Source of “Update Case” Quick Action in Lightning Experience

I am struggling to understand what a particular Action (or is it an Action?) is. It appears next to the Post, Poll, Ask a Question for Case object in the Lightning Experience and its label is Update ...
0
votes
1answer
24 views

How to retrieve Lightning Record Page / Flexi Page information

How to retrieve the Assignments By App, Record Type, and Profile details of a lightning Page. Currently I'm able to retrieve all other information but not this information.
0
votes
1answer
25 views

Salesforce Classic Notes and Attachment in Lightning

We have Notes and Attachment related list on Account, we can see list of attachments in Classic however same user if he logs in to lightning experience cannot view Notes and Attachments records in the ...
0
votes
1answer
24 views

Dynamically update Lightning path (Chevron)

My Lightning/Salesforce Path was displaying the Chevron based on the Case Pick list field which has 15 pick list options. Every Case is unique and doesn't require all the 15 options, how can I make my ...
0
votes
0answers
19 views

Add custom/standard button to list view of external object

I'm trying to add a New Button to a list view on salesforce. Looks simple right? I'm able to do it in any list view with Salesforce Objects, but can't do it on External objects. We've overridden the ...
0
votes
1answer
30 views

How to create a custom search component using lightning [closed]

I have been struggling trying to create a custom component for searching through objects using lightning. I have been on trailhead and the only reference to such is the Lightning Communities: Create a ...
0
votes
1answer
34 views

get apex controller value in lightning component controller

I have created apex controller which is returning List<sObject> as apex controller: @AuraEnabled public static List<TimeSheet__c> getDetailTimeSpendInWeek_ctrl(string selectedDate){ ...
0
votes
1answer
31 views

Detect whether Visualforce Page is Loading in Classic or Lightning Or Sf1 [duplicate]

Currently, I am using below tag to detect whether VF Page is embedded in lightning or Classic or Mobile devices. Below the line of code return values as Theme3, Theme4t, Theme4u etc. These values can ...
0
votes
1answer
21 views

How can I update the flexi page without going to record page > edit page

I have accidentally added a modal dialog (lightning component) into my lightning flexi page which I can't close (Actually, I don't know how to close it) So I find it hard to click the setup button > ...
0
votes
1answer
27 views

Why I can't override deactivate order button into lightning component

I am trying to override the deactivate order button into a lightning component. However, it seems that it doesn't have this option: I am a bit confused about this since we are definitely in ...
0
votes
2answers
45 views

Redirect to perticular record related of a record in Lightning

We have a visualforce page on opportunity which is redirecting the URL as below /02i?rlid=RelatedAssetList&id=001800000.... i.e redirect to Asset related list of an accountId mentioned. This ...