전체 글
-
[LWC] js 파일에서 apex method 호출 시 JSON 형식으로 매개변수 전달하기 - How to pass parameters in JSON formatLWC 2024. 7. 6. 22:41
1. import apexMethod //jsimport updateRecord from "@salesforce/apex/freeTestLwcCmp.updateRecord"; 2. JSON 형식으로 전달할 매개변수 값 세팅 //jslet updateData = { recordId : this.recordId, templateStatus : '사용가능', mainObjLabel : '계약', mainObjApi : 'Contract', }; 3. 메서드 호출시 매개변수 값 전달 - JSON.stringify() //jsupdateRecord({updateData : JSON.stringify(updateData)}) ..
-
웹훅(Webhook) 개념 및 활용Education 2024. 7. 6. 22:18
웹훅(Webhook)이란?웹페이지 or 웹앱에서 발생하는 특정 행동(이벤트)들을 커스텀 Callback으로 변환해 주는 방법이러한 행동 정보들을 실시간으로 제공하는데 사용HTTP 기반의 웹(Web) 특징과 훅(Hook) 기능을 합친 용어웹 서비스의 이벤트 데이터를 전달하는 HTTP 기반 콜백 함수하나의 앱/웹이 다른 어플리케이션으로 앱 관련 이벤트 정보를 실시간으로 제공하기 위한 방법웹페이지 or 웹앱에서 발생하는 특정 행동(이벤트)들을 커스텀 Callback으로 변환해 주는 방법데이터가 변경되었을 때 실시간으로 알림을 받을 수 있는 기능Web Callback , HTTP PUST API로도 불린다. WebHook 동작 방식 일반적인 API 호출 -▶ 클라이언트가 서버를 호출하는 Polling 방..
-
[Salesforce Certified platform Developer1] Dump 노트4Certification/Platform Developer 2024. 7. 6. 22:01
1. A developer executes the following query in Apex to retrieve a list of contacts for each account: List accounts = [Select ID, Name, (Select ID, Name from Contacts) from Account] ; Which two exceptions may occur when it executes? (Choose two.)A. CPU limit exception due to the complexity of the query.B. SOQL query row limit exception due to the number of contacts.C. SOQL query limit exception d..
-
[Salesforce Certified platform Developer1] Dump 노트3Certification/Platform Developer 2024. 4. 29. 18:15
1. Which three tools can deploy metadata to production? (Choose three.)A. Change Set from Developer OrgB. Force.com IDEC. Data LoaderD. Change Set from SandboxE. Metadata API ADE 2. A developer needs to display all of the available fields for an object. In which two ways can the developer retrieve the available fields if the variable myObject represents the name of the object? (Choose two.)A. U..
-
[Salesforce Certified Platform Developer1] Dump 노트2Certification/Platform Developer 2024. 4. 28. 22:11
1. Which two declarative process automation features can be directly invoked when a field value changes on a record? (Choose two.)A. Cloud Flow Designer flowsB. Process Builder processesC. Validation rulesD. Workflow rules BD 2. Which feature allows a developer to create test records for use in test classes?A. DocumentsB. WebServiceTestsC. HttpCalloutMocksD. Static Resources D 3. A developer w..
-
[Salesforce Certified Platform Developer1] Dump 노트1Certification/Platform Developer 2024. 4. 27. 21:56
1. Which two operations can be performed using a formula field? (Choose two.)A. Displaying the last four digits of an encrypted Social Security numberB. Triggering a Process BuilderC. Displaying an Image based on the Opportunity AmountD. Calculating a score on a Lead based on the information from another field C,D 2. Which three web technologies can be integrated into a Visualforce page? (Choos..
-
Apex Tests Api 모의 응답(Mock) 생성 - implement HttpCalloutMockApex 2024. 4. 27. 21:35
1. implements HttpCalloutMock ( 모의 응답 Class 생성 )@isTestimplements HttpCalloutMockglobal HttpResponse respond(){ ... } @isTestglobal class zz_Clvs_MDE_Test_ResponseDocumentCancel implements HttpCalloutMock{ global HttpResponse respond(HttpRequest request){ System.debug('@@@@ 문서 서명요청취소 Response 생성 @@@@ ' + request); Integer resStatusCode = 201; String resBody = '{..