未加星标

Sending Your First Email: Part 3

字体大小 | |
[前端(javascript) 所属分类 前端(javascript) | 发布者 店小二04 | 时间 2018 | 作者 红领巾 ] 0人收藏点击收藏

Day 7

25 Days of Sitecore EXM !

Sending Your First Email Continued

Day 7 brings us Part 3 of the mini-series in the 25 Days of Sitecore EXM . Sending Your First Email which is designed to be a short, step by step guide for creating your first Sitecore Email Experience Manager message. Today we’re focusing on editing our Hello EXM World message in EXM using the EXM Experience Editor.

Let’s start off by bringing our message back up! If you recall from yesterday’s post, we walked through how to dig the message out of the Draft’s folder in EXM. Go ahead and click on our message and then click on the Message tab.

EXM Experience Editor Slowness

After clicking on the Message tab when editing a message in EXM, it’s possible that it takes a few seconds (or longer) for the message preview to actually show. This is because it’s the first time that Sitecore has loaded the libraries needed to support Experience Editor and it might take a bit longer. If this happens to you, try refreshing the page. Once it works, it works fast. Message Tab In Detail

The Message tab has quite a bit going on in a small amount of space. Let’s explore each item on the tab. The numbers in the lists below match the purple tags in the screenshot.


Sending Your First Email: Part 3
Message Controls

The message controls show up on all tabs.

1. Root Manager Switcher

The Root Manager Switcher allows the author to swap between root managers if there are more than 1.

2. Language Selector

If your Sitecore instance is configured with multiple languages, this allows you to select the language you want to edit the message item in.

3. Email Campaign Actions
Sending Your First Email: Part 3

This is a small menu that reveals the duplicate email campaign action.

Variants 4. Message Variant Bar

The Message Variant bar shows any variants that might be in the message. Variants are used when wanting to do A/B Testing within EXM Messages. You can specify multiple variants in the same email message that can have different content in each variant. During dispatch, if multiple variants are being used, you have the option to set up the A/B testing rules for dispatch.

Clicking the plus button in the Message Variant Bar will add a variant to the EXM message.


Sending Your First Email: Part 3
Message Details Function Bar 5. Duplicate Variant

This button, when clicked will duplicate the current variant message and create a new variant using the same content.

6. Edit Message Body

Clicking the Edit Message Body button will open up the message for editing. This mode opens the EXM Experience Editor window.

7. Preview Message as Specific Contact

This action allows the author to view the message in preview mode as a specific recipient that is in the Included Recipients list.


Sending Your First Email: Part 3
8. Message Details Options Menu
Sending Your First Email: Part 3

Most of the options in this drop down are easy to understand their function. There is a cool option here, where you can ADD buttons to the Message Details bar by selecting the star next to a function. This adds a button to the bar as a quick action.

Additionally, the Insert token action is special. When a text field is selected (like the Subject Line ) and this action is clicked, it opens up a list of Token personalization options that can be selected. Tokens are replaced during dispatch with data from the Recipients xDB Contact facet. Tokens can be used ANYWHERE in a message (including the Message Body).

Tokens are formatted and look like this: $tokenname$. So for example, as shown below in the Insert Token selection box, choosing Firstname will add $firstname$ token to the selected field.


Sending Your First Email: Part 3

Token Personalization Is Extendable

A Developer can extend and add custom tokens for use in EXM Token Personalization. Doing so is a rather involved process, however Sitecore does have really great documentation on how to create custom tokens . 9. Subject Line

Hello! This is the actual Subject line that Recipients receiving this email will read. Go ahead and put in an interesting subject line. For the purposes of this example, we’re going to put in the following:

Hello $firstname$! Welcome to Emails by EXM!

Token Reformatting

When using a token in the Subject line, the $$’s are removed. So our Subject, after copying in our subject line above, $firstname$ is reformatted to look like Firstname . 10. Message Body

The message body is the actual preview of the message being sent. This box is just a preview. Clicking ANYWHERE in the message body will open up the EXM Experience Editor .


Sending Your First Email: Part 3

Editing the message is identical to the editing the experience of a page item in Sitecore. You have the same options, like personalizations, placeholders, and components. Components have data sources. Rich text boxes will open up the Rich Text Editor.

Save The Message Often

When making big changes, like swapping out or adding components to the message, make sure to save the message often to ensure that the presentation information is always up to date. Using the save icon in the top left, is the easiest way to save.

Feel free to spend some time working in the Experience Editor editing the Sample Newsletter email template. Add a picture. Links, etc, to get an idea on how the editor works. Once you have your test message changes complete, click the Save and Close button.

11. Alternative Text

Not all email clients are capable of rendering HTML content. In those cases, the client looks for the alternative text message text that it can render. This field is a TEXT/ASCII field only. An example would include text readers.

Save Your Work!

Don’t forget to hit the big blue Save button once you are done editing your message. This allows you to leave EXM and do something else. and then come back where you left off. Which we’ll do tomorrow!

Anatomy of an Email Message

When editing a message in Sitecore Email Experience Manager, changes are actually being saved to a Sitecore item, just like editing any other Sitecore item. There are specific parts to an email message to know about. As the image below shows, this is the tree structure for our Hello EXM World message.


Sending Your First Email: Part 3
1. Message Item This is the primary Message Item representing an EXM Email Message. The Item ID of this item is the Guid ID used whenever thi

本文前端(javascript)相关术语:javascript是什么意思 javascript下载 javascript权威指南 javascript基础教程 javascript 正则表达式 javascript设计模式 javascript高级程序设计 精通javascript javascript教程

分页:12
转载请注明
本文标题:Sending Your First Email: Part 3
本站链接:https://www.codesec.net/view/620827.html


1.凡CodeSecTeam转载的文章,均出自其它媒体或其他官网介绍,目的在于传递更多的信息,并不代表本站赞同其观点和其真实性负责;
2.转载的文章仅代表原创作者观点,与本站无关。其原创性以及文中陈述文字和内容未经本站证实,本站对该文以及其中全部或者部分内容、文字的真实性、完整性、及时性,不作出任何保证或承若;
3.如本站转载稿涉及版权等问题,请作者及时联系本站,我们会及时处理。
登录后可拥有收藏文章、关注作者等权限...
技术大类 技术大类 | 前端(javascript) | 评论(0) | 阅读(11)