LoginSignup
0
0

More than 1 year has passed since last update.

メールテンプレートが使用されている箇所を探す

Posted at

テンプレート自体はSOQLで検索できるけど、使われている場所は分からないですね。

select Subject from EmailTemplate

EmailTemplateオブジェクト

アイデアにあがっていますね。
Search Email Templates

以下で有償のツールが紹介されています。

これら考えるとSOQLでなくて メタデータを検索すればできるのかもしれません。
https://developer.salesforce.com/forums/?id=9062I000000DKuwQAG

Satrang Metadata Search

試してはないですが、何やらURL hackがあるようです。
How to determine where an email template is being used?

URL hack the "show dependencies" button available for example on Apex classes.
Apex クラスなどで使用できる [依存関係を表示] ボタンを URL ハックします。

https://instance.salesforce.com/packaging/dependencyPage.apexp?id=... - you can paste class id, page id, email template id... Good for initial reconnaissance. Probably you can achieve similar results while building a fake changeset and clicking show/add dependencies. It's not a 100% solution though.
https://instance.salesforce.com/packaging/dependencyPage.apexp?id=... - クラス ID、ページ ID、メール テンプレート ID を貼り付けることができます... 最初の偵察に適しています。おそらく、偽の変更セットを構築し、依存関係の表示/追加をクリックすると、同様の結果を得ることができます。ただし、100% の解決策ではありません。

また、無償らしいツールも紹介されていました。

happysoup.io

もうひとつ方法が紹介されていました。

Salesforce: find email template associated to which email alerts

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