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

Which code do I use?

Avatar

Avatar
Validate 10
Level 2
jae_lee
Level 2

Likes

10 likes

Total Posts

43 posts

Correct Reply

2 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile

Avatar
Validate 10
Level 2
jae_lee
Level 2

Likes

10 likes

Total Posts

43 posts

Correct Reply

2 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile
jae_lee
Level 2

10-03-2017

Hi,

In the Adobe documentation, under Use Cases>Double Opt-in:

It states:

 

"Step 2 - Creating confirmation messages


Confirmation messages are sent via a dedicated delivery template referenced at the subscription service level.

  1. Create a delivery template for sending the subscription confirmation messages.

  2. Insert the confirmation link into the message content: this link lets you access the Web form to record subscription confirmation.

    s_ncs_admin_survey_double-opt-in_sample_1B.png

     

  3. The syntax of the link to the subscription confirmation form looks like this:

    <a href="http://SERVER/webApp/INTERNAL_FORM_NAME?&id=<%=escapeUrl(recipient.cryptedId)%>">

 

 

As verified by their example:

 

s_ncs_admin_survey_double-opt-in_sample_3.png

 

Yet, in my Web App, I am given this code:

 

 

...which displays this code:

 

http://bostonscientific-stage.neolane.net/webApp/APP12 

id=<%= escapeUrl(cryptString(recipient.id)) %>

 

So which code do I use? 

 

The one given in the Documentation: 

<a href="http://SERVER/webApp/INTERNAL_FORM_NAME?&id=<%=escapeUrl(recipient.cryptedId)%>">

 

...or the one given to me by the Web App:

 

http://bostonscientific-stage.neolane.net/webApp/APP12 

id=<%= escapeUrl(cryptString(recipient.id)) %>

 

Notice the difference between the two:

 

Documentation:  

&id=<%=escapeUrl(recipient.cryptedId)%>">

 

..and the Web App:

id=<%= escapeUrl(cryptString(recipient.id)) %>

 

Which one do I use? (Documentation example code or the actual Web App code?)

I spoke with two different tech support representative at Adobe and they each gave me different answers.

 

Thank you,

Jae

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
Employee
Vapsy
Employee

Likes

369 likes

Total Posts

726 posts

Correct Reply

342 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Validate 1
Employee
Vapsy
Employee

Likes

369 likes

Total Posts

726 posts

Correct Reply

342 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 250
View profile
Vapsy
Employee

11-03-2017

Hi Jae,

You can use any of the two. They both will return the same result.

recipient.encryptedId is an attribute of recipient schema which contains the recipientId in encrypted format.

On the other hand cryptString(recipient.id) will do the encryption on runtime.

Feel free to use any of the two.

Regards,

Vipul

Answers (5)

Answers (5)

Avatar

Avatar
Boost 3
Level 2
subhayanb
Level 2

Likes

4 likes

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Boost 3
Boost 1
View profile

Avatar
Boost 3
Level 2
subhayanb
Level 2

Likes

4 likes

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Boost 3
Boost 1
View profile
subhayanb
Level 2

31-01-2018

Hi Andrew

You will need different encryption  and a key that you can share with the third party . The encryption function for the crypt string are internal to adobe and it would not be possible for the third part to decrypt the cryptId.

Thanks

Subh

Avatar

Avatar
Validate 10
Level 2
jae_lee
Level 2

Likes

10 likes

Total Posts

43 posts

Correct Reply

2 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile

Avatar
Validate 10
Level 2
jae_lee
Level 2

Likes

10 likes

Total Posts

43 posts

Correct Reply

2 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile
jae_lee
Level 2

13-03-2017

Thank you Vipul. Much appreciated.

Jae

Avatar

Avatar
Validate 1
Level 2
andrewd10864294
Level 2

Likes

5 likes

Total Posts

7 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 2
andrewd10864294
Level 2

Likes

5 likes

Total Posts

7 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
andrewd10864294
Level 2

30-01-2018

Hi Vipul,

Would it be possible to use this functionality to send to a third party site?

We are sending a customers account number to a partner site in order to redeem a promotion, but if we use the escapeURL and crypt string the partner site may need the key to decypher. Is this possible or do we need to use soemthing else to encrypt the account number?

Thanks

Andrew

Avatar

Avatar
Validate 1
Employee
Vapsy
Employee

Likes

369 likes

Total Posts

726 posts

Correct Reply

342 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Validate 1
Employee
Vapsy
Employee

Likes

369 likes

Total Posts

726 posts

Correct Reply

342 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 250
View profile
Vapsy
Employee

28-12-2017

Hi Priyanka,

Both these functions are internal to Adobe and you will not be able to view the code for them.

Regards,
Vipul

Avatar

Avatar
Level 1
Priyanka_Priyan
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
Priyanka_Priyan
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
Priyanka_Priyan
Level 1

28-12-2017

Hi Vipul,

Thanks for the above information.

If possible, can you let us know where we can we find the definitions of functions- escapeUrl and cryptString in Adobe Campaign.

Thanks,

Priyanka