Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Online documentation help

jae_lee
Level 3
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
jae_lee
Correct answer by
Level 3
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
Vapsy
Employee
Employee

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

jae_lee
Level 3
Level 3

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

Vapsy
Employee
Employee

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

florentlb
Level 10
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.

jae_lee
Level 3
Level 3

Where under Web Applications can I find Register recipients?

 

 

Adhiyan
Employee
Employee

Hi Jae,

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

jae_lee
Correct answer by
Level 3
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