[Salesforce] When outputLink is clicked in Visualforce, it opens in a new tab

Display in new tab when outputLink is clicked in Visualforce

<apex:outputLink value="{!URLFOR('/' + targetObject.Id)}" target="_blank" id="TargetObjectId">{!targetObject.Name}</apex:outputLink>

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です