Github Desktop Install
https://desktop.github.com/download

kinkun's blog
資格試験勉強
合格体験記情報収集
【第184回】 Salesforce 認定 AI スペシャリスト 資格試験 合格体験記
https://note.com/nobuyukiwatanabe/n/n08ac6aee98a4
Salesforce 認定 AIスペシャリストに合格したよ
https://sf.forum.circlace.com/articles/1063432301242589184
Salesforce認定AIスペシャリスト試験の対策講座
https://note.com/salesforce777/n/n3163e81ca0ef
【受験体験記】「Salesforce 認定 AI スペシャリスト」に合格しました
https://quanz.co.jp/blog/salesforce/3322
JSENCODE
백슬래시 () 등의 이스케이프 문자를 아포스트로피 (‘) 등의 안전하지 않은 JavaScript 문자의 전에 삽입해, JavaScript 로 사용하는 텍스트 캐릭터 라인이나 편지 병합 항목치를 encode 합니다.
페이지를 로드할 때 JavaScript가 실행되고 경고가 표시됩니다.
<script>var ret = "foo";alert('xss');//";</script>
이 경우 JavaScript가 실행되지 않도록 JSENCODE 함수를 사용하십시오.
<script>var ret = "{!JSENCODE($CurrentPage.parameters.retURL)}";</script>
JSENCODE
Encode text strings and merge field values for use in JavaScript by inserting an escape character, such as a backslash (), before unsafe JavaScript characters, such as an apostrophe (‘).
The JavaScript runs when the page loads and displays the alert.
<script>var ret = "foo";alert('xss');//";</script>
In this case, use the JSENCODE function to prevent JavaScript from being executed. Example
<script>var ret = "{!JSENCODE($CurrentPage.parameters.retURL)}";</script>
Visualforce에서 outputLink를 누르면 새 탭으로 표시
<apex:outputLink value="{!URLFOR('/' + targetObject.Id)}" target="_blank" id="TargetObjectId">{!targetObject.Name}</apex:outputLink>
Display in new tab when outputLink is clicked in Visualforce
<apex:outputLink value="{!URLFOR('/' + targetObject.Id)}" target="_blank" id="TargetObjectId">{!targetObject.Name}</apex:outputLink>
CANNOT_EXECUTE_FLOW_TRIGGER
테스트 클래스 런타임에 오류 세부 사항
System.DmlException: Insert failed. First exception on row 0; first error:
CANNOT_EXECUTE_FLOW_TRIGGER,
Campaign Create, Member Status Auto Set 처리 실패로 인해 이 레코드를 저장할 수 없습니다.
Salesforce 시스템 관리자에게 다음 세부 정보를 보고하십시오.
Salesforce에는 삭제 기준과 일치하는 레코드가 없습니다.
Salesforce에는 삭제 기준과 일치하는 레코드가 없습니다. : []
대응안의 하나는 이하입니다.
@isTest(SeeAllData=true)
※경우에 따라서 효과가 있다.
CANNOT_EXECUTE_FLOW_TRIGGER
Error details when executing test class
System.DmlException: Insert failed. First exception on row 0; first error:
CANNOT_EXECUTE_FLOW_TRIGGER,
This record cannot be saved due to a failure in the "Campaign Create, Member Status Auto Set" process.
Please report the following details to your Salesforce system administrator:
Salesforce has no records that match the deletion criteria.
Salesforce has no records that match the deletion criteria. : []
One of the solutions is as follows:
@isTest(SeeAllData=true)
※May be effective in some cases.
Using the super Keyword
The super keyword can be used by classes that are extended from virtual or abstract classes. By using super, you can override constructors and methods from the parent class.
parent class:
public virtual class SuperClass {
public String mySalutation;
public String myFirstName;
public String myLastName;
public SuperClass() {
mySalutation = 'Mr.';
myFirstName = 'Carl';
myLastName = 'Vonderburg';
}
public SuperClass(String salutation, String firstName, String lastName) {
mySalutation = salutation;
myFirstName = firstName;
myLastName = lastName;
}
public virtual void printName() {
System.debug('My name is ' + mySalutation + myLastName);
}
public virtual String getFirstName() {
return myFirstName;
}
}
extended class :
public class Subclass extends Superclass {
public override void printName() {
super.printName();
System.debug('But you can call me ' + super.getFirstName());
}
}
extended result:
The expected output when calling Subclass.printName is My name is Mr. Vonderburg. But you can call me Carl.
XServerでWordPress復帰

➡

➡

➡
