Questions tagged [lightning-development]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
881 views

lightning:carousel error

I'm new to lightning and never used carousel component. My requirement is to display different images by querying from object level and upon clicking on the picture it will call another component and ...
0 votes
0 answers
41 views

GraphQL Semi join : Filter condition on semi join query gives error for 2 specific fields

const whereClause = `where: { Id: { inq: { Apttus_Config2__AssetLineItem__c : { and : [ { Apttus_Config2__AssetStatus__c : { eq : "Activated" } ...
1 vote
3 answers
2k views

LWC buttons are not visible in Salesforce mobile app

Is there a way to make LWC actions visible in mobile app? The LWC actions which are visible for desktop are not visible in mobile.
2 votes
1 answer
977 views

Lightning DataTable error message popover not working in Flow

I have a lightning component to allow inline edit on flow. Whenever some changes made on the data table I am validating it from js and adding the error message to the data table eventually. I am ...
0 votes
2 answers
140 views

Button Click not working

This is my LWC code I am trying button onclick function but it is not working (even alert is not working) and I had attached my piece of code here please let me know what is the correction. Html <...
1 vote
1 answer
301 views

Show field in aura component with condition

I would like to show a field (inputEmail) only if another field (emailCc) is not empty. and the show that part with a toggle button if the user needs to fill anything. cmp: <aura:attribute name=&...
3 votes
2 answers
1k views

LWC - Local Development Server

Any updates about the Local dev server which was supposed to be out in beta probably this month based on the recorded webinar session I saw: https://developer.salesforce.com/event/local-development-...
0 votes
1 answer
581 views

How should i use setTimeout in this js code in lightning component so that popup opens after 2 min? [duplicate]

const isCookie = getCookie('pre-trial-survey'); if(!isCookie && IS_GUEST) { setCookie('pre-trial-survey', false, 30); this.showPopup=true; window.setTimeout(function() { }, 120000);//...
0 votes
2 answers
1k views

lwc navigateMixin specify fields

In my LWC component js file I have this code: handleStudentSelected(event) { const defaultValues = encodeDefaultFieldValues({ Tutor__c: this.tutorId, Student__c: event....
0 votes
1 answer
444 views

On click of X symbol in lightning Component I want to set the Status of Case to Cancelled

I got stuck in one implementation. I have a requirement where Once the lightning Component opens in a new Tab. If we Click X symbol, I want to set the status of Case to Cancelled. I want to fire an ...
0 votes
0 answers
44 views

Migrate from Package base development to Org base development style

Please help me if you have any knowledge regarding the 2 development models right now that Salesforce offered : Org base development model and package development model. Right now 2 of our developers ...
2 votes
0 answers
845 views

Case Insensitive String comparison in lightning aura component

Is there a way to achieve Case Insensitive comparison for Strings in lightning aura components As per the Salesforce documentation the only expression available to compare is equals() There's no ...
1 vote
1 answer
3k views

LWC Datatable with mass edit functionality

Can custom data types be used to create an empty row for the lightning datadatable where values from the top row would copy to all rows below? Is this functionality achievable or should I use a ...
1 vote
1 answer
2k views

Allow a custom field to select multiple users in salesforce lightning

I created a custom object Goal and fields in it. one of the field Assigned_To__c is a lookup for users. I got a requirement to select multiple users and roles with the Assigned_To field. which will ...
1 vote
2 answers
48 views

Lightning and classic experience sharing in one development environment

In my team we are all working using a single development environment. So, when one needs to go to Salesforce Classic and one needs to work in Lightning Experience we are getting a little bit of ...
0 votes
2 answers
990 views

Sorry to interrupt null in Salesforce Lightning Component

I'm getting "Sorry to interrupt" null error after a button click action which stores the data into an object using Lightning Data Service. Though the data is getting inserted successfully but ...
0 votes
2 answers
3k views

How to remove convert option from lead status path?

I have written my own custom lead conversion by adding separate button and its working fine, but from lead status path button it is still working as default. I want to remove this "convert" option ...
0 votes
1 answer
2k views

Method does not exist or incorrect signature: void updatechildrec(List<Work_detail__c>, Map<Id,Work_detail__c>) from the type updatechidrecdsdup

trigger udpatewordetailrec on Work_detail__c (before update) { updatechidrecdsdup.updatechildrec(Trigger.New,Trigger.oldMap); } public class updatechidrecdsdup { public static void ...
2 votes
1 answer
2k views

Best IDE for Lightning Development? [closed]

I am currently using Eclipse Ide for Force.com for development. But i don't think it is best setup for Lightning? Can anyone suggest What is Best Combinataion of Editor , Ide for Lightning development?...