Loading

Open Custom Links or Custom Buttons in the Same Window

Дата публикации: Oct 13, 2022
Описание

Custom links and buttons always open the target content within a new window. The HYPERLINK function can now accept an optional third parameter to control where content is opened. You can do this by creating a custom text-based formula field that leverages the HYPERLINK function to perform the requested functionality.

Решение
Parameters for opening links and buttons

The HYPERLINK takes the following parameters: HYPERLINK(url, friendly_name [, target]). Available options for the third parameter are:
  • _blank - Opens in a new window.
  • _self - Opens in the same frame as it was clicked.
  • _parent - Opens in the parent frameset.
  • _top - Opens in the full body of the window.

Example HYPERLINK
 
HYPERLINK("http://www.yahoo.com","Yahoo!","_top" )
Номер статьи базы знаний

000385504

 
Загрузка
Salesforce Help | Article