세일즈포스3 LWC Lifecycle Hooks 참고: https://developer.salesforce.com/docs/platform/lwc/guide/reference-lifecycle-hooks.html Lifecycle Hooks | Lightning Web Components Developer Guide | Salesforce Developers Lifecycle Hooks A lifecycle hook is a callback method triggered at a specific phase of a component instance’s lifecycle. constructor() Called when the component is created. This hook flows from parent to child, which means .. 2023. 10. 30. 세일즈포스 실습 2(Lightning Component, Quick Action, Apex) Lightning Component Quick Action Subject Record 페이지에서 Task 추가 버튼을 누르면 뜸 task__c는 타입이라는 필수 필드를 둠 오프라인 vs 온라인 vs 선택x 중 택 1 Quick Action은 Object Manager에서 추가할 수 있음 Task 추가 typeValue가 바뀔 때 화면이 조건에 따라 같이 바뀜, select label과 option은 controller에서 지정해줌 fnInit : function(component, event){ var options = [ {label: '온라인', value: '온라인'}, {label: '오프라인', value: '오프라인'}, {label: '선택x', value: '선택x'} ]; componen.. 2023. 10. 27. Salesforce 실습해보기 1(Lightning Component/Aura) -주제: 목표 관리 시스템 -목표: Visualforce, Apex class, Lightening Component를 실습해보기 -레코드 페이지 및 앱 페이지를 개발로 커스터마이즈 -Developer Edition org 하나 받아서 실습 진행 -표준 연습을 위해 slds 사용 *코드는 아래 주소에 올려두었습니다 https://github.com/gagle1231/MyApp.git 주요 Object: Subject__c , Task__c, Todo__c Subject: 큰 목표 ex) 토익 950점 달성 Task: 세부 목표 ex) 900+ 인강 완강 To do: 세부적으로 할 일 ex) 1차시 강의 다 듣기, 1차시 과제 하고 단어 복습 Subject Record Page 아래 화면은 3개의 Ligh.. 2023. 10. 18. 이전 1 다음