lightning's questions - English 1answer

2.891 lightning questions.

I am using SLDS Picklist in Aura Component, I am trying to close the picklist when user clicked outside the picklist. I am trying to bind a click event to document and call the action to close the ...

I have an attribute that I am rendering to a table inside an aura:iteration with the following code: <aura:attribute name="licenceassocparties" type="String[]" default="false" access="PRIVATE"/>...

I am aware of both .getLocalId() and .getGlobalId() for lightning:input it seems that there's also an id that connects the <label for> to the <input id>. I've found a scenario where this ...

I a not sure if this is possible but I am trying to fire a global action from a lightning component button click. Open to other solutions. I tried implementing it using the lightning:QuickActionApi. ...

I can't get value selected on lightning:radioGroup. It return undefined <lightning:radioGroup aura:id="test"name="testName" options="{! v.options }" required="true" onchange="{! c....

I am developing an custom layout lightning component and have placed one of the Lookup field with Look filter criteria on Layout, as soon as I click to edit that field i get bellow error message ...

In the javascript side, I am checking enddatetime >= startdatetime,but it's not working. How to handle it in Javascript side? <ui:inputDateTime aura:id="startTime" label="Start Time" class="field" ...

Is it possible to implement a custom lightning component for uploading files to AWS using the S3 Link package? If it is, please, provide me with the source or information which could teach me how to ...

Can we add lightning page in Active Site Home Page while setup sites? Please find image for more details. What about communities. is there any Salesforce documentation for this ?

I trying to handling DOM Element in Lightning component. because of aura:id need literal value, i can't use find().getElement() in <aura:iteration>. and i attempted to console command. like ...

I wanted to add a custom action 'Block' below the 'Edit' action in each row for the below related list. Its a standard component. Are there any configuration available?

I have following lightning component. sp.cmp <aura:component controller="Pledge_Mgmt_Controller"> <aura:attribute name="paymentList" type="Map[]" /> <div> <div ...

I am new to lightning. I have one requirement and I am not sure how to achieve it. any help is appreciated. Requirement is : we have to build custom lightning component, where in user will key in few ...

I am trying to disable button on a standard lightning component in Napili template. The lightning component is called ContactSupportForm and I want to disable the submit button on the load of that. I ...

Hi i want the error message to be displayed, i am getting value in response.getError() function, i want message argument in this function. Below is the snippet of how i'm doing, i am getting undefined ...

I am loading a JavaScript object between Lightning Components var model = {} model.user = {} model.caller = {} model.caller.name = 'Batman'; model.other = {} // etc And then into component ...

I have a custom object which is related to contact. i am getting the following detail page for the custom object i am not being able to understand at all where the new Opportunity and new Contact ...

I've been testing out the new inline edit feature for the lightning:datatable component in a Summer '18 sandbox, but I can't seem to work out how to hide the Save and Cancel buttons after I complete ...

can I disable autDestroy on lightning component. Currently in higer version api than 39 customComponent().autoDestroy(false) not working. I need storage dynamicly created lightning component. This ...

How is lightning:input designed to be used? Is it supposed to support field references? All the examples show value=string literals. With something like <lightning:input value="{!v.contact.Name}"...

I have a Detail page button (VF page) and controller for it. I used Pagereferenc method to take user to the record details page: However, it works fine in the Classic, but not in Lightning. ...

I have a custom lightning page which has two lightning components and 2 visualforce pages. In the lightning components whenever any changes being done I have used the force:refreshview event getting ...

I am using a custom button in classic to open the flow page with url /flow/runtime.apexp?flowDevName=Account_Handover&accountId={!Account.Id} I need to get this accountId in my visual flow, so I ...

I am trying to integrate paypal express checkout into my lightning community website. I included the following line in my lightning component to load the javascript <ltng:require scripts="https://...

I'm having difficulties, Here is the code and setup : <lightning:recordEditForm objectApiName="CustomObject__c"> <lightning:inputField aura:id="accCompId" fieldName="PAccount__c" onchange=...

How do I populate a <lightning:CheckboxGroup with a multi select picklist field? The <lightning:CheckboxGroup takes a string[] And the mulit select picklist field returns a string apple;...

I am implementing lightning:datatable with pagination and save all the selected records at once i am facing two issues: if I select row2,3,4 in the first ten records and click next it automatically ...

I am trying to save a record that a user creates using a form. I get a strange error description as "Undefined" which I do not understand. Below is my component, controller and helper class. The save ...

How could I enforce that one of two attributes is required in a lightning component? For example: <aura:event type="COMPONENT" description="UpdateRPGFlowGraphEvent"> <aura:attribute ...

I am getting a String value of 'true' from the <lightning:radioGroup when I expect to get a Boolean value of true Component <aura:component > <aura:attribute name="booleanOptions" type=...

I need to create a quick action in contact list view to execute a function and display an info alert message. it was not possible for me to find a way to do this in lightning component. https://...

I am hitting this known issue where edits in a Visualforce page once returned to the record are not reflecting in the UI in Lightning Experience. I can't refactor this into a Lightning Component ...

I am using an iframe containing a visualforce page in a Lightning component. The Lightning component is in a community. I am not able to access the visualforce page as I do not know which url to ...

I am new to Lightning. I have created Lightning component and a controller. Lightning component code: <aura:component > <ui:button press="{!c.doInit}"> <div class="testClass">...

In a lightning component, I am trying to use the values in 1 array to set the values for a field in a second array. But for whatever reason I always end up with the last value of my array as the field ...

How can i add Note which is standard object on Location object , As its not showing on related list .

Still finding my feet with LIghtning. When I invoke a controller's method, it fails but when I copy+paste the method into helper, it works fine. Is there any restriction on the JS controller not ...

Trying to read currently clicked source's title using event.getSource().get("{!v.title}") and set it to the Event attribute. But it is showing me below error. Action failed: c$...

I am trying to avoid hacking urls so I am using force:navigateToSObject. The only problem is what you cannot Cmd+click or Right click + "Open Link In new Tab" to navigate to the object in a new tab. ...

I know how to configure security model through OWD, Sharing Rules, Profiles and Roles in salesforce sandbox account but how to use Lightning Security LockerService instead of OWD, Sharing Rules...etc ...

Is it possible to set lightning component aura:id attribute dynamically while creating the component? Here is my code for the component creation: $A.createComponent( "c:...

How do I use a JavaScript object as an aura:attribute? Should I do it this way <aura:attribute name="jsObj" type="Object" default="{aValue: 5}"/> or another?

I want to insert a record of custom setting of type List through Lightninng component using form/any other input UI.In doing so through form and using UIInputText, when I am using following markup to ...

This has been answered for visualforce, apex, html etc, but couldn't find anything for within a lightning markup. <aura:attribute name="mode" type="String"/> <aura:attribute name="...

I have a lighting app record detail page (The one where you drag and drop). I've created a new Action to display on the highlights panel. In the SFDC Classic page layout, I've added the action to ...

I have an aura:attribute of type string[] and I want that user should be able to populate the values in that string array through app builder. For this I am using design:attributes as; Component: &...

I'm currently working on a DataTables in Lightning Design. I basically want to implement the Inline editing feature. I found it bit hard to implement this with real data within Apex:repeat. Can ...

The Lightning [developer guide][1] is not very helpful on how to use Design tokens: Tokens created in the defaultTokens bundle are automatically available in components in your namespace. Ok, ...

Since HTML tags are first class citizens in lightning is there a way to instantiate them as components in lightning? Something like: $A.createComponent( "html:div", { "...

In the account view, there is a list of tasks in the activity-tab. By default, we only see the task headline and type and who is assigned. Only by clicking on the task we see the task description. ...

Related tags

Hot questions

Language

Popular Tags