• Dipesh Patel 43
  • NEWBIE
  • 0 Points
  • Member since 2019

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
Hi,

I am trying to move custom component (on click javascript button) from classic to lightning. The current classic button exceute by
1, query [Select Id, custom_field__c from casechildline__c Where caseparentId__c =: varibableId AND custom_field__c = NULL];
2, set custom_field__c = 'Some value'; for return records
3, update return records

How to achieve through lightning components? Any sample code.

Thanks in advanced!
Hi,

I am trying to move custom component (on click javascript button) from classic to lightning. The current classic button exceute by
1, query [Select Id, custom_field__c from casechildline__c Where caseparentId__c =: varibableId AND custom_field__c = NULL];
2, set custom_field__c = 'Some value'; for return records
3, update return records

How to achieve through lightning components? Any sample code.

Thanks in advanced!