Salesforce 39

[세일즈포스] Static SOQL VS Dynamic SOQL

Dynamic SOQL 사용하는 이유 SOQL 동적 쿼리는 런타임에 Apex 코드가 포함된 문자열로 SOQL 쿼리 생성을 참조한다. 쿼리 프로세스 속도를 높이고 서비스를 개선하는 데 유용합니다. SOQL vs SOSL SOQL SOSL Full Name Salesforce Object Query Language Salesforce Object Search Language Used In: List Views, Reports, Apex (Global, Sidebar, Advanced) Search, Apex Indexing Happens: 동기적 - Synchronously (Can have Custom Indexes or Standard Indexes) Happens Asynchronously. Usual..

Salesforce 2023.02.12

[Hands-on Challenge] Create an Apex class that returns both contacts and leads based on a parameter - Salesforce

https://trailhead.salesforce.com/ko/content/learn/modules/apex_database/apex_database_sosl 매개 변수와 일치하는 이름 또는 성을 가진 연락처와 리드를 모두 반환하는 클래스 Create an Apex class that returns both contacts and leads based on a parameter. To pass this challenge, create an Apex class that returns both contacts and leads that have first or last name matching the incoming parameter. The Apex class must be called ContactA..

Salesforce 2023.02.12

[세일즈포스] What is SOSL?( SOSL 사용법 및 예제, SOQL과 SOSL 차이)

SOSL 쿼리 작성하기 Apex 기본 및 데이터베이스 💡SOSL 시작하기 SOSL(Salesforce Object Search Language)은 레코드에서 텍스트 검색을 수행하는 데 사용되는 Salesforce 검색 언어입니다 예)'SFDC'라는 단어가 포함된 필드가 있는 계정 및 연락처를 검색하는 SOSL List searchList = [FIND 'SFDC' IN ALL FIELDS RETURNING Account(Name), Contact(FirstName,LastName)]; 💡SOQL과 SOSL의 차이점 공통점은 SOQL과 마찬가지로 조직의 레코드에서 특정 정보를 검색할 수 있음! SOSL 여러 개체에서 필드를 검색 사 단어일치를 기반으로 필드 일치 예) SOSL에서 'Digital'을 검색하..

Salesforce 2023.02.12

[Hands-on Challenge] 성과 우편번호를 입력하고 그에 해당하는 조건 반환 - Create an Apex class that returns contacts based on incoming parameters - Salesforce

[Hands-on Challenge] - Salesforce Create an Apex class that returns contacts based on incoming parameters. https://trailhead.salesforce.com/ko/content/learn/modules/apex_database/apex_database_soql Apex 기본 및 데이터베이스 Apex를 사용하여 Salesforce에서 비즈니스 로직을 추가하고 데이터를 조작해 보세요. trailhead.salesforce.com For this challenge, you will need to create a class that has a method accepting two strings. The method se..

Salesforce 2023.02.10

[Hands-on Challenge] Account 계정에 이름 삽입하고 오류 있으면 잡아내기 Create a method for inserting accounts - Salesforce

Create a method for inserting accounts. Account 계정에 이름 삽입하고 오류 있으면 잡아내기 https://trailhead.salesforce.com/ko/content/learn/modules/apex_database/apex_database_dml To pass this challenge, create an Apex class that inserts a new account named after an incoming parameter. If the account is successfully inserted, the method should return the account record. If a DML exception occurs, the method shoul..

Salesforce 2023.02.10

[세일즈포스] What is SOQL?( SOQL 사용법 및 예제)

💡 SOQL 쿼리란? SOQL은 Salesforce Object Query Language의 약자! SOQL을 사용해 조직의 데이터베이스에 저장되어 있는 정보를 읽을 수 있다. 세일즈포스는 SOQL을 이용해서 SQL의 기능을 한다. SOQL의 구문은 SQL(Structured Query Language)과 유사하지만 그렇다고 SOQL이 SQL은 아니다. 사용할 때 주의! 단일 sObject에도 사용할 수 있긴하지만 System.QueryException: List has no rows for assignment to SObject 이 나타날 것이다. 쿼리가 실행될 때마다 단일 sObject가 반환된다는 것을 보장할 수 없는 경우 쿼리를 sObject 목록에 할당해야 함! Player__c player =..

Salesforce 2023.02.10

[Hands-on Challenge] Create an Apex class with a method that returns a list of strings

https://trailhead.salesforce.com/content/learn/modules/apex_database/apex_database_intro Hands-on Challenge Create an Apex class with a method that returns a list of strings Create an Apex class with a method that returns a list of formatted strings. The length of the list is determined by an integer parameter. You can also use an array if you prefer, but these instructions assume you’re using a..

Salesforce 2023.02.10

[APEX란?] APEX는 무엇이고 어떻게 사용하나요?

https://trailhead.salesforce.com/ko/content/learn/modules/apex_database/apex_database_intro Get Started with Apex Apex 기본 및 데이터베이스 Apex를 사용하여 Salesforce에서 비즈니스 로직을 추가하고 데이터를 조작해 보세요. trailhead.salesforce.com Apex는 무엇인가요? Apex는 Java와 유사한 구문을 사용하고 데이터베이스 저장 프로시저와 같이 작동하는 프로그래밍 언어입니다. Apex를 통해 개발자는 버튼 클릭, 관련 레코드 업데이트 및 Visualforce 페이지와 같은 시스템 이벤트에 비즈니스 논리를 추가할 수 있습니다 즉 객체 지향 언어로 자바랑 비슷하긴 하지만 람다, 제네..

Salesforce 2023.02.10