Ektron 9.00
Sending Web Alert Emails to Subscribers
Prerequisite
Only members of the Administrator group or users assigned to the Folder User Admin role can work with Web Alerts.
You can set up an automatic email notification for site visitors that register (or subscribe) to updates about new or changed information. Whenever new or existing content is published, the subscriber receives an email with a link to the new or updated page.
This chapter describes the steps you need to set up the Web Alert feature.
NOTE: This task is typically done by a developer.
Subscribers are notified when content is first published or updated. If at least one subscription is assigned to the content or its folder, email is sent according the folder's Web Alert settings.
When Ektron is installed, the following directories and files are placed on your server to set up Microsoft Message Queuing and the Ektron Asynchronous Processor.
C:\Program Files\Ektron\CMS400versionnumber\EktronAsyncProcessor_Service\
C:\inetpub\wwwroot\siteroot\bin\EktronAsyncProcessorWS.dll
C:\inetpub\wwwroot\siteroot\Workarea\webservices\EktronAsyncProcessorWS.asmx
NOTE: If you need to move Web services file, use the Asynchronous Processor Location field in the Configuration > Setup screen to specify the new folder location.
The following image and list shows a typical Web Alerts server configuration.
You must create a message queue on the asynchronous machine and record its name. The message queue is specified in the exe.config
file for the service, and in the web.config
file for the Web Service interface.
web.config
file includes a key for the location of the asynchronous processor. This needs to be verified as working.NOTE: This procedure uses Microsoft Window 2008 R2. In some Windows versions, go to Control Panel > Programs and Features > Turn Windows features on or off then select Microsoft Message Queue (MSMQ) Server.
The rest of this procedure employs a wizard that saves several manual steps. If you have a problem using the wizard, or prefer to install Web Alerts manually so you can track the files being installed to your server, see Manually Setting Up the Message Queue and Asynchronous Processor.
The following screen appears.
C:\Program Files (x86)\Ektron\CMS400vxx\EktronAsyncProcessor_Service\Ektron.Services.EktronAsyncProcessor.exe.config
.ek_SMTP_EnableSsL
to False
.Use this procedure if you had a problem using the wizard, or if you want to know which files are being installed on your server.
NOTE: In some Windows versions, you access this screen by clicking Start > Computer > Manage.
msmq_web
.msmq_web
and select Properties.C:\Program Files\Ektron\CMS400vxx\EktronAsyncProcessor_Service\RegEktron.Services.EktronAsyncProcessor.bat
Ektron.Services.EktronAsyncProcessor.exe
file.C:\Windows\Microsoft.NET\Framework\v2.0.50727\installutil
“C:\program Files\Ektron\CMS400vxx\EktronAsyncProcessor_Service\Ektron.Services.EktronAsyncProcessor.exe
”C:\Program Files\Ektron\CMS400vxx\EktronAsyncProcessor_Service\Ektron.Services.EktronAsyncProcessor.exe.config
.[sitepath]subscriptions
directory and submit content that will trigger notifications. This action places a file inside that directory.A Web Alert email is made up of the following components, defined on the Folder properties Web Alerts tab. You must define at least 1 opt-out message, 1 unsubscribe message, and 1 “from” address to use the Web Alert feature. See Also: Assigning a Web Alert to a Folder or Content
NOTE: If you reached this screen while creating an eCommerce message, see Configuring eCommerce.
NOTE: To set or modify this information, you must have permission to edit the folder.
NOTE: The Summary can include variables that retrieve information about the content. See Including Variables in the Message.
The message can include variables that retrieve content information into the message text. The variables are surrounded by at signs (@). For example
The following content was recently updated: @AppContentLink@
The email text might read:
The following content was recently updated: The Effect of Coumadin on Cardiac Patients
Use the following variables in a Web Alert message.
NOTE: You must be logged in to see the changes.
An Opt-Out message appears as the first line of every email. It directs the reader to the Unsubscribe message at the bottom. Here is an example:
You have subscribed to receive alerts from the Ektron email alert system.
See below for removal instructions.
You can add variables to the Opt Out text. See Also: Including Variables in the Message
An Unsubscribe message lets an email recipient remove himself or herself from the subscription list. You can add variables to the Unsubscribe text. See Also: Including Variables in the Message
Create a subscription for each type of information site visitors might want to be notified about. For example, if your site sells electronics, create subscription for televisions, computers, and smart phones. Site visitors subscribe to areas of interest. Ektron and membership users can also sign up for subscriptions.
When you create a subscription, a new entry is created on the User Properties screen's Custom tab. By default, its name is Subscriptions, and its type is Category.
Subscriptions appear on the
The following graphic illustrates the relationship among the Subscriptions, Custom Properties, and the Site Visitor Registration screen's Custom tab.
By default, the label Subscriptions appears on the screen. To change it to something more helpful, such as Select Areas of Interest:
When you create a subscription, a version is created for every enabled language. You can edit the subscription name and Enabled value for any language, but cannot change the ID number.
After creating messages and subscriptions, identify the folders that include content that should trigger a Web Alert when the content is updated. For example, a new product announcement is placed in the Marketing folder.
Like other folder-level information in Ektron, Web Alert information is inherited from a parent folder. By default, all folders inherit Web Alert settings from the root (Content) folder. However, you can break inheritance and customize the settings for any folder or content item.
You can assign the following kinds of Web Alert information to a folder.
IMPORTANT: Web Alert emails are not generated for files that are dragged and dropped into Ektron and immediately published. To generate email for these files, you must manually publish them. Like HTML content, these files must reside in a folder for which the Web Alert feature is enabled.
Prerequisites
- You defined at least one opt-out message, unsubscribe message, and “from” address. See Also: Creating a Web Alert Email Message
- You created at least one subscription.
- You have edit permissions for the folder. See Also: Managing Folder and Content Permissions
To modify folder-level Web Alert information:
NOTE: If the content item is an Office document or a managed file, a link to that item appears within the email, not the item itself.
IMPORTANT: If you uncheck all subscriptions, you disable the Web Alert feature for this folder and all of its content, even if unique subscription information is assigned to content within the folder.
To set a Web Alert for a content item, break the inheritance from its folder. From then on, the content’s Web Alert settings are independent of the folder’s settings.
IMPORTANT: If all subscriptions are unchecked for a folder, the Web Alert feature is disabled for all content in the folder. This applies even if unique Web Alert information is assigned to content.
NOTE: The Web Alerts tab only appears if required messages, “from” email addresses, and at least one subscription are assigned to the content’s folder.
NOTE: - This setting only applies until the next time this content is published. When that happens, this box is automatically unchecked.
NOTE: - This setting only applies until the next time this content is published. When that happens, this box is automatically unchecked.
If you customize Web Alert settings for content and later decide to standardize the settings for all content in a folder, use the Restore Web Alert Inheritance checkbox on the folder properties Web Alerts tab. This action copies the folder's Web Alert settings to every content item in the folder, replacing any content-level settings.
To preview the email message, click Preview () on the Web Alerts tab.
After you set up a Web Alert, create a Web page that lets site visitors subscribe to areas of interest.
To place this form on a Web page, your developer inserts a Membership server controla server control uses API language to interact with the CMS and Framework UI to display the output. A server control can be dragged and dropped onto a Web form and then modified..
Any user who subscribes via the example screen becomes an Ektron membership user, and is automatically added to the All Members user group. See Also: Membership Users and Groups.
NOTE: The email address collected on the screen is used as the membership Username field.
What happens next depends on the Enable Verify email check box in the Application Setup screen (shown in the following image).
The email should direct the unverified user to a Web page that asks for confirmation of the person's interest in the subscription. (This step prevents people from being subscribed without their permission.) To create this page, your Web developer creates or updates a Web Form using the Membership server control. Set the control’s DisplayMode property to AccountActivate.
New users are activated when the subscriber confirms interest.
NOTE: Users can also be manually activated or removed via the View Not Verified Users screen. For more information, see Verifying a New Subscriber.
IMPORTANT: When using the Checkout server control on an eCommerce site, the Enable Verify Email setting must be unchecked. Otherwise, new users will receive an error message when they sign-up using this control. See Also: Using the Checkout Server Control
A person that signs up for a subscription but has not yet been verified appears on the View Not Verified Users screen at Workarea > Settings > Community Management > Memberships > Users not Verified. You can activate accounts by selecting users then clicking ActivateUsers. Alternatively, you can delete members by selecting and clicking Delete ().
NOTE: The ek_PageSize
setting in the web.config
file determines the maximum number of users that can appear on a page before adding another page with the following navigational links: Page 1 of 2 [First Page] [Previous Page] [Next Page] [Last Page]
To select all members, click the check box next to Username.
You can also change the way membership users are sorted, or use the Search button to find users that match your criteria (for example, users whose username includes example.com.)
By default, Ektron supplies a generic message that asks the subscriber to confirm the password and directs the person to your website's activateuser.aspx
page. To customize that message:
@appQueryLink@
variable in the message to create a link to the confirmation page. For example:Welcome to example.com. You registered to be notified of updates
to our site. Before we can do this, you need to activate your
account. To do so, please visit @appQueryLink@.
The @appQueryLink@
variable gets resolved as follows (one line):
http://sitepath/workarea /activateuser.aspx?uid=[username]&acc=[accountID]
For example (one line):
http://www.example.com/Workarea /activateuser.aspx?uid=john.edit@example.com&acc=ce5w84o936477
You can insert the following membership variables into the confirmation message.
You can set up other Web pages that let subscribers perform these actions:
To create these pages, place a Membership server controla server control uses API language to interact with the CMS and Framework UI to display the output. A server control can be dragged and dropped onto a Web form and then modified. on the page. Then use its DisplayMode property to determine the kind of screen you want to place. For example, to create a screen that lets the user reset a password, set the control’s DisplayMode property to ResetPassword. See Also: Membership server control
CMS users can subscribe to any subscription list. This is particularly useful on an intranet where, for example, employees are notified when job-related information is updated.
Another example is your internet site. The Marketing manager can sign up to be notified whenever Marketing content is added or updated. To do so, go to Settings > Users > Edit User > Custom tab.
See Also: Using eSync with Web Alerts