1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【Salesforce】画面フロー内で画像を表示させる3つの方法とその違い

Last updated at Posted at 2024-11-28

結論から言うと、環境移行の観点から静的リソースを使用した①か②がオススメです。
「A01_sample」という名前でpng画像を静的リソースに保存済みの前提です。

①表示画像 - 静的リソース

静的リソースに保存したファイル名をそのまま入力すると自動で表示してくれる。
image.png

②表示テキスト - 静的リソース

タグを設定するテキスト変数を用意する
image.png

画面に表示する。表示テキスト形式なのでリンクを設定することも可能。
image.png

このとき、絶対パスを指定しても一応機能するが、環境移行時に余計な手間がかかるので、
基本的に相対パスを指定するようにする。
image.png

③表示テキスト - 直接貼り付けるパターン

image.png

静的リソースを使用しないパターン。
この場合フロー保存時に 画像が「ファイル」に保存される。
これも環境移行時に面倒なので、あまりオススメできない。
image.png


先日担当した実務では、リンクの設定が必須要件だったので②を採用しました。

1
1
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
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?