Questions tagged [lightning]

This tag is for questions related to the "Lightning Experience" which comprises a number of elements around a new User Interface on the Salesforce Platform. While it can still be used in a server side MVC environment, it is primarily a MV UI where the Controller is JavaScript based operating from the user's browser. Lightning "Pages" are single page applications.

2,175 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
1answer
3k views

Lightning OnClick Not Working Within aura:iteration

I've been unable to get onclick actions to work in my organization when the onclick element is within an html <aura:iteration> tag. The onclick action works when I put the <a> tag or <...
0
votes
1answer
1k views

Lightning Visual Force Page URL redirecting to Classic Visual force page URL

I have an formula field with HYPERLINK to an VF Page below is the Formula Field code IF (TEXT(<fld name>) == 'something', HYPERLINK('/apex/page-name?param1=5&id='+Id, MY BUTTON IMAGE,'...
0
votes
3answers
94 views

Problem with attributes lightning

Hi i have two attributes in lightning component which is of type ID[]. In one attribute i am setting id's and in another attribute i am pushing these values, which i want to use later. In a method i ...
0
votes
1answer
498 views

How to Export Data from a Custom Object by using custom vf page

I have written a code to export records from a particular page by using javascript. <button class="slds-button slds-button--neutral slds-button--small" onclick="exportTrademarkTable('Export.csv')"&...
0
votes
2answers
2k views

Lightning Input Field Date validation

I have a <lightning:inputField aura:id="table-cell" fieldName="Date_of_trx__c" variant="label-hidden" id="{!indx}"/> And i need to make validation on it, to accept maximum date of "...
0
votes
1answer
746 views

Lightning component - pre populate problem

I created a lightning component for creating a new record using a form. The lightning component is used in 3 different objects (Account, Opportunity and custom object). In this form, I have this pre ...
0
votes
3answers
3k views

upload images with lightning:inputRichText

I'm not sure if I am just completely missing something or no one asks this question but I can't find a solution to this. I have a requirement to be able to upload images into the body of a rich text ...
-1
votes
2answers
39 views

Add object name in Lightning component

I have created a lightning component which displays records based on searching a text (through custom search). This gives me the list of records along with the field names which I have mentioned in ...
-1
votes
1answer
28 views

When checkbox is True,Date field is Editable && if checkbox is False, Date field is Hide/Readonly in aura controller

Hi pls find my requirement , When checkbox is True ,then Date field should be Visible if not then Date field should be Readonly /Invisible pls find my analysis below : In Page layout, Date field is ...
-1
votes
1answer
15 views

dynamic visualforce input field data-required text box for a radio field

I have a visualforce page in with lightning styling and want to fix an issue in it. There is a radio button that I need to conditionally make required.So when New is chosen the input field should be ...
-1
votes
1answer
46 views

How to clear the value from input text in lightning component?

I have a custom lightning component that creates a new Task record. I use Ui:inputtext for Description standard field in Task . I want to clear it's values if the user clicks save. <ui:...
-1
votes
1answer
548 views

Save multiple RecordEditForm in lighting component

I am trying to create a lighting component to save multiple records using a single click. So, I am using lighting recordEditForm in aura:iterate. Here is code but I cannot save the data. <aura:...
-1
votes
1answer
67 views

Not able to uninstall Managed Package because of community

I have a managed package (Chargent Anywhere) which consist a lightning component named "Chargent_Payment_Central". I have a community in my org and that community is not using "...
-1
votes
1answer
1k views

In IE11 lightning component is not loading. Error(Component class instance initialization error [Expected identifier, string or number])

In IE, a lightning component is not loading. Getting error like "Component class instance initialization error [Expected identifier, string or number]" I checked all attributes and not found issue ...
-1
votes
1answer
525 views

setCallback is not getting called from helper method lightning

I am implementing a Jquery range slider in salesforce lightning. The issue happening is setCallback is not being called in helper method If i am calling the below line out of the stop jquery ...
-1
votes
1answer
1k views

Print a div as PDF in lightning

I am trying to print a PDF on a Lightning page using the jsPDF library. A first problem is that when wanting to execute the following code, it tells me that the 'save' function is not defined. var ...
-1
votes
1answer
1k views

Getting “Uncaught Action failed” with “not defined” error in Salesforce Lightning

Here is the error Uncaught Action failed: c:BusinessEventEdit2$controller$showAlloc [tlist is not defined] Lightning Component <button class="slds-button slds-button--icon-more slds-m-left--...
-1
votes
1answer
363 views

Pass attribute from tab

how i can pass attribute from tab? i have this situation: <div id="tabId" class="slds" > <lightning:tab label="labelName"> <c:component1 /> <c:component1 />...
-1
votes
1answer
61 views

How to set Action Icon as a button in VF SLDS?

Is it possible to set an Action Icon to be a button? In my VF SLDS page, I am returning a list of records. For each record, I am showing an icon. I would like when for a specific record, the icon is ...
-1
votes
2answers
2k views

Create a tree view or heirarchy in lightning component

Any idea on how to create or display a tree or hierarchy structure of record in an object. For example > Usa > San Antonio > San Francisco > New York > Australia > ...
-2
votes
1answer
31 views

How to call VF page from Lightning component picklist?

Here is my scenario, I have created a lightning component with pick-list values. I have pick-list values as Preview of Record,download Record. When i select Download Record, i want to down the record ...
-2
votes
1answer
95 views

Redirect to Opportunity on save of task on the lead

The requirement is whenever a new task is created on the lead. The lead should get converted into Account/Contact/Opportunity and I am able to convert it using standard LeadConvert class But after the ...
-2
votes
1answer
67 views

how to add a blank row to contact list in lightning

<aura:attribute name="contacts" type="Contact[]"/> <aura:handler name="init" value="{!this}" action="{!c.doInit}" /> <ul class="list-group"> <aura:iteration items="{!v....
-2
votes
1answer
79 views

Lightning Visualforce Page Error on Lead Object

I try to edit lead in Lightning visualforce page, when i click save i get error like below. The URL in Lightning also changes to a long weird URL. Any recommendation? Review the errors on this page....
-3
votes
2answers
142 views

Salesforce AppCloud - Where is WAVE?

During dreamforce Salesforce has announced "app cloud". Part of app cloud are the following technologies: FORCE HEROKU ENTERPRISE LIGHTNING THUNDER One technology plattform is missing: WAVE. ...

1
40 41 42 43
44