Expand my Community achievements bar.

We are excited to introduce our latest innovation to enhance the Adobe Campaign user experience — the Adobe Campaign v8 Web User Interface!
SOLVED

Online documentation help

Avatar

Level 3

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)"

1 Accepted Solution

Avatar

Correct answer by
Level 3

I found where the code resides. It's not in the documentation but bundled with the web app as Vipul suggested:

 

 

Bundled inside the Send Confirmation script activity:

 

 

Thank you all.

Jae

View solution in original post

8 Replies

Avatar

Employee Advisor

Hi Jae,

The code you have shown here has been shared by a community member and seems to be his own development.

There is no documentation which showcases this code.

Regards,

Vipul

Avatar

Level 3

What about the image, was this his development as well, or can it be found in the documentation?:

Avatar

Employee Advisor

Jae Lee wrote...

What about the image, was this his development as well, or can it be found in the documentation?:

 

 

 

Hi Jae,

The gentleman is using the latest build of Adobe Campaign and it is possible that either this webapp comes cundles with it or he created it himself.

My suggestion will be to get in touch with him on direct message and ask for the origin.

Regards,

Vipul

Avatar

Level 10

Hi Jae,

To confirm what Vipul said: The screenshot and code you showed are indeed available out-of-the-box in the application. By default under Resources > Online > Web applications > Register recipients.

However it is not detailed in the documentation.

Hope this helps,

Florent.

Avatar

Level 3

Where under Web Applications can I find Register recipients?

 

 

Avatar

Employee

Hi Jae,

It's already present in the screenshot you have provided . I have highlighted the webApp named register recipient .

Avatar

Correct answer by
Level 3

I found where the code resides. It's not in the documentation but bundled with the web app as Vipul suggested:

 

 

Bundled inside the Send Confirmation script activity:

 

 

Thank you all.

Jae