Online documentation help
- March 16, 2017
- 8 replies
- 3042 views
Hi,
Can anyone point me out to where in Adobe' Campaign's online documentation that the following out-of-the-box solution can be found?:
I believe the following, including the image, was excerpted from Adobe Campaign's online documentation but I can't seem to locate it.
"
"In 'send confirmation' JS you can find code for sending confirmation email and adding recipient to subscription:
// Send confirmation
nms.delivery.QueueNotification("confirmation",
<delivery>
<targets>
<deliveryTarget>
<targetPart type='query' exclusion='false' ignoreDeleteStatus='false'>
<where>
<condition expr={'@id ='+ ctx.recipient.@id}/>
</where>
</targetPart>
</deliveryTarget>
</targets>
</delivery>)
and adding to subscription:
// Subscribe recipient
delete ctx.recipient.visitor
var recipient=ctx.recipient
recipient.@_key="@id"
delete recipient.@blackList_init
delete recipient.@xtkschema
nms.subscription.Subscribe(ctx.vars.serviceName, recipient, false)"





