Salesforce/Development (12) 썸네일형 리스트형 String.isEmpty() & String.isBlank() & String.isNotEmpty() & String.isNotBlank() 차이점 String.isEmpty() & String.isBlank() & String.isNotEmpty() & String.isNotBlank() 4가지의 차이점에 대해서 예제를 통해 알아 보겠습니다. // 예제 1 String text = ''; System.debug('String.isEmpty(text) : ' + String.isEmpty(text)); System.debug('String.isBlank(text) : ' + String.isBlank(text)); System.debug('String.isNotEmpty(text) : ' + String.isNotEmpty(text)); System.debug('String.isNotBlank(text) : ' + String.isNotBlank(t.. 세일즈포스 사용자 정의 알림 (Salesforce Custom Notification) 설정 및 구현 세일즈포스 릴리즈 Winter 21`이 되면서 Apex에서 사용자 정의 알림 보내기가 이전보다 간단해졌습니다. 이번 시간에는 사용자 정의 알림 보내는 방법을 설명합니다. 사용자 정의 알림은 무엇일까요? 사용자 정의 알림은 Salesforce 오른쪽 상단 모서리에 있는 작은 벨에서 연결할 수 있는 짧은 메시지와 함께 사용자에게 알림을 보내 Salesforce 내부에 정보를 전달하는 방법입니다. 1. 설정 > 알림 빌더 > 사용자 정의 알림 메뉴를 선택합니다. 2. 새로 만들기를 클릭하여 새 사용자 정의 알림 유형을 만듭니다. 사용자 정의 알림 이름과 API 이름을 입력하고, 지원되는 채널을 용도에 맞게 선택하고 저장합니다. 3. 등록된 알림 목록이 보입니다. 이제 APEX와 프로세스 빌더 등에서 해당 알림.. Salesforce Standard / Custom Object Mass Delete 기능 구현 표준 및 사용자 정의 오브젝트 탭 목록에서 여러 건을 한 번에 삭제하기 위해서는 Visualforce와 Apex Class로 개발이 필요합니다. 여기서는 Lotto__c 라는 Custom Object를 예제로 사용하였습니다. MassDeleteExtension.apxc public with sharing class MassDeleteExtension { ApexPages.StandardSetController setCon; public String error { get; set; } public PageReference originalUrl { get; set; } public MassDeleteExtension(ApexPages.StandardSetController controller) { setCo.. Custom Label Parameter Custom Label에서 파라미터를 사용하여 변수를 지정하여 사용 할 수 있습니다. Label name: MyTestLabel Label value: Thank you, {0}, for your feedback. List parameters = new List(); parameters.add('John'); String label = Label.MyTestLabel; String value = String.format(label, parameters); You can do it in one line like this as well: String.format(Label.MyTestLabel, new String[]{'John'}); String.format(Label.MyTestLabel, new Lis.. 이전 1 2 다음