0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

オブジェクト項目の数式を使ってVisualforceページのリンクを作る

Posted at

やり方

  1. オブジェクトマネージャからカスタム数式項目を作成
  2. 数式の戻り値のデータ型:テキストを設定
  3. 数式にHYPERLINK関数を用いてリンクページを設定する
HYPERLINK("/apex/VISUALFORCE_NAME?id=" + Id , "Download", "_self")

上記の例では自身のオブジェクトのId項目を引数に与えている。
HYPERLINK関数についてはこちらの公式ヘルプを参照。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?