Hi All,
Regards,
DG
Solved! Go to Solution.
Views
Replies
Total Likes
Thanks Tobias,
It working....
But when I see the documentation for decryptString, it mentioned deprecated. Can we still use the same ?
https://experienceleague.adobe.com/developer/campaign-api/api/f-decryptString.html
Can we still go ahead and use the same ?
I am in using ACC v8, Adobe Managed
Regards,
DG
Views
Replies
Total Likes
Hi Dipendu,
you can create the web app like this:
Then add a context variable in the properties to store the decrypted recipient id:
The javascript step should have something like this to decode the recipient id and store it in the context.
encryptedRecipientId = String(request.getParameter("id"));
decryptedRecipientId = decryptString(encryptedRecipientId);
ctx.vars.recipientId = decryptedRecipientId;
Downstream you can then use the id from the ctx.vars.recipientId variable.
Cheers, Tobias
Views
Replies
Total Likes
Thanks Tobias,
It working....
But when I see the documentation for decryptString, it mentioned deprecated. Can we still use the same ?
https://experienceleague.adobe.com/developer/campaign-api/api/f-decryptString.html
Can we still go ahead and use the same ?
I am in using ACC v8, Adobe Managed
Regards,
DG
Views
Replies
Total Likes
The function has been declared as deprecated for a long time now and has not disappeared yet; I am still using it in multiple projects and the above code is from a v8 instance. The decryptPassword function cannot be used in web apps, so it is not an option to switch to that method.
I know this is mixed communication here
Views
Replies
Total Likes
Thanks a lot @Tobias_Lohmann
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies