LoginSignup
0
0

email templateのまとめ

Last updated at Posted at 2023-01-10

まとめページに戻る
まとめA~M

Please check this article.

Using Images in Emails, Email Templates, and Enhanced Letterheads
https://help.salesforce.com/s/articleView?id=sf.email_images.htm&type=5

制限

テキストベースの電子メール署名はこの差し込み項目で機能しますが、この差し込み項目が HTML では使えない

アイデアに上がっています。
Signature Merge Field Support for HTML {{{sender.signature}}}
https://ideas.salesforce.com/s/idea/a0B8W00000Gdh0vUAB/signature-merge-field-support-for-html-sendersignature

この中でカスタムフィールドを作って対応する方法が紹介されています。

I applied the following solution to setup HTML based signatures and it works well for me

Create a new text (richtext) field on the user object (User_signature__c)
Copy the html formatted signature to the newly created text field from user details page
Go to My settings and under Settings-->Emails-->My Email settings under default signature paste {{{Sender.User_Signature__c}}}

image.png

アイデアが採用:Email Signature Images as attachments

  1. Yes you can make a custom subject with the fields associated to the Object, Sender or Recipient

  2. {{{Opportunity.OwnerFullName}}} works for Lightning Email Template

  3. {{{Opportunity.Name}}} within the Email Template highlight the word you want hyperlinked select the Link icon then paste {{{Opportunity.Link}}}

image.png

マージフィールドで数式は使えない例

テンプレートを選択する

image.png

ケースと BCC アドレス フィールドをマージする

ケースのマージが有効になると、メール アクションで BCC オプションが消え、ページ アクションで BCC アドレス フィールドを追加する必要がありますが、このオプションがどのようにリンクされているかがフィールドとしてのみ表示されます。

ただし、Merge Case がアクティブで、BCC アドレスが電子メール アクションに追加されていない場合、CC の例として表示されます。

image.png

マージケースの例:
image.png

BCC field is not included in the merge process.

In order to add BCC recipients when merging cases, you can follow these steps:

  1. Create a custom field on the case object to store the BCC email address.
  2. In the email action, add this custom field to the "BCC Address" field.
  3. In the merge case process, add the custom BCC field to the merge mapping.
  4. Make sure that the users have access to the BCC field when merging cases.

「関連先レコード」の選択欄にメールテンプレートで取得するオブジェクトが候補にありません。

該当のオブジェクトで「活動を許可」が有効になってますか?
image.png

Some sections of this template are locked to prevent changes

Please check this article.

https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000FRGpeSAH

Was able to get the letterhead to work with templates by loading image with url.
URLで画像をロードすることにより、レターヘッドをテンプレートで機能させることができました。

Recipient.salesforce error core.email.template.TemplateRenderingException: We don't recognize the field prefix Recipient. The email template has one merge field {{{Recipient.FirstName}}}

サポートされていないので、従来の電子メール テンプレートまたはフロー コア アクション: 電子メールの送信を使用する必要があると思います。

It's not supported, so I think you'll have to use classic email templates or Flow Core Action: Send Email.

Use Lightning Email Templates in Email Alerts
https://ideas.salesforce.com/s/idea/a0B8W00000GdhQpUAJ/use-lightning-email-templates-in-email-alerts

Flow Core Action: Send Email
https://help.salesforce.com/s/articleView?id=sf.flow_ref_elements_actions_sendemail.htm&type=5

タグ? Attribute "data-ms-editor" on element is not allowed, or has an invalid value

image.png

I found the issue. There was some code in the html source. I deleted it and now it works.

問題が見つかりました。 HTMLソースにコードが入っていました。それを削除しましたが、今は機能します。

image.png

looks like somebody had a similar issue as you (found here), try creating a new template and copy/paste the content you are trying to add as plain text (Ctrl+Shift+V).

誰かがあなたと同様の問題を抱えているようです(ここで見つかりました)。新しいテンプレートを作成し、追加しようとしているコンテンツをプレーンテキスト(Ctrl+Shift+V)としてコピーアンドペーストしてみてください。

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