Online documentation help

Avatar

Avatar

jae_lee

Avatar

jae_lee

jae_lee

16-03-2017

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

jae_lee

Avatar

jae_lee

jae_lee

17-03-2017

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

Answers (7)

Answers (7)

Avatar

Avatar

jae_lee

Avatar

jae_lee

jae_lee

17-03-2017

Great! Thank you!

Jae

Avatar

Avatar

Adhiyan

Employee

Avatar

Adhiyan

Employee

Adhiyan
Employee

17-03-2017

Hi Jae,

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

Avatar

Avatar

jae_lee

Avatar

jae_lee

jae_lee

17-03-2017

Where under Web Applications can I find Register recipients?

 

 

Avatar

Avatar

florentlb

Total Posts

1.1K

Likes

234

Correct Answer

239

Avatar

florentlb

Total Posts

1.1K

Likes

234

Correct Answer

239
florentlb

17-03-2017

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

Avatar

Vapsy

Employee

Avatar

Vapsy

Employee

Vapsy
Employee

16-03-2017

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

Avatar

jae_lee

Avatar

jae_lee

jae_lee

16-03-2017

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

Avatar

Avatar

Vapsy

Employee

Avatar

Vapsy

Employee

Vapsy
Employee

16-03-2017

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