VERIFIED SOLUTION i

How to set Document Selector for a publication with two documents in EngageOne Designer


 
For a publication containing 2 documents, where it is required to use one document as an email attachment and the other document for the email body, below are the steps how to set it up in EngageOne Designer and EngageOne Server.

Steps:
1. Use the 'Show When' tab in the document properties in Designer to set the value of the interactive data field document selector to say 'Main'. This is for the 'Email Body' document. 
User-added image

2. Use the 'Show When' tab in the document properties in Designer to set the value of the interactive data field document selector to say 'attachment'. This is for the 'Email Attachment' document. 

User-added image

3. Export the template for EngageOne and import in EngageOne Admin. 

4. In EngageOne Admin > Delivery Management > Delivery Channels > Email Body, for the particular E-Messaging channel, set the Document Selector Value to 'Main' [which will be 'Email Body' document] and select the Document Selector XPath accordingly. 
User-added image

5. In EngageOne Admin > Delivery Management > Delivery Channels > Attachments, for the particular E-Messaging channel, set the Document Selector Value to 'attachment' [which will be 'Email Attachment' document] and select the Document Selector XPath accordingly. 
User-added image

6.After an immediate run, it should generate the 'Email Body' along with the 'Email Attachment'. 
 
UPDATED:  April 26, 2018