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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

vinay16
vinay16
Online

Badges

Badges
11

Accepted Solutions

Accepted Solutions
1

Likes Received

Likes Received
2

Posts

Posts
23

Discussions

Discussions
0

Questions

Questions
23

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by vinay16
Customize the badges you want to showcase on your profile
Re: Dynamic date in email body - Adobe Campaign 19-08-2022
Yes, I meant to ask how to get 2nd Thursday of every month using JS inside a delivery. I have found the solution and tested it as well. For anyone's reference, below can be used: <% var ordinal = 2, weekday = 'Thu'; var today = new Date(); var d = new Date(today.getUTCFullYear(), today.getUTCMonth()+1, 1); d.setUTCHours(0, 0, 0, 0); var dayofWeek = 4; var ORDINALCONST = 7 * ordinal + dayofWeek - d.getUTCDay() - (d.getUTCDay() <= dayofWeek ? 7 : 0); d.setUTCDate(d.getUTCDate() + ORDINALCONST); %>...

Views

59

Like

1

Replies

0
Re: Dynamic date in email body - Adobe Campaign 10-08-2022
HiThank you for reply. This will be lengthy and tricky solution. Isn't there any solution like getting current date? and then we can make necessary changes to manipulate result ?

Views

116

Likes

0

Replies

0
Dynamic date in email body - Adobe Campaign 08-08-2022
I'm trying to display dynamic date in email body. I was able to get dynamic date as per below -- <% function daysInMonth(today) { return new Date(today.getFullYear(), today.getMonth()+1, 0).getDate(); } var today = new Date(); %> <%= daysInMonth(today) %> <%= formatDate (today, "%Bl") %> I want to display the day before the 2nd Thursday of every month. I'm not sure how to do that in ACM. I was able to display this on webpage in a simple javascript. Can anyone please help me ? Thanks.

Views

148

Likes

0

Replies

4
Re: How to use if condition with Javascipt function ? - Adobe Campaign 08-08-2022
Thank you

Views

121

Likes

0

Replies

0
Re: How to use if condition with Javascipt function ? - Adobe Campaign 17-06-2022
Thank you for your reply again. I was not sure whether document. write works in ACM or not. Also, does indexOf works in ACM? I know, outside of ACM, indexOf, contain and includes works. I'm finding it difficult to test these 3 in ACM. So, can you please confirm?

Views

226

Likes

0

Replies

3
Re: How to use if condition with Javascipt function ? - Adobe Campaign 16-06-2022
Thank you for suggestion, Manoj. I will try this. Meanwhile, is there anyway to check whether a string is there in the variable. Like "includes" or "contain" methods of JavaScript ? This will improve the options for the future. Thanks,Vinay

Views

250

Likes

0

Replies

5
How to use if condition with Javascipt function ? - Adobe Campaign 15-06-2022
I'm trying to check whether ACM data field contains a particular string using if condition. However, that portion isn't working. I have used below snippet. Can anyone please tell me if there's any issue with the snippet? <% if ( (rtEvent.ctx.Consumer.PaymentMethod).includes("Direct Pay")) { %> Order ID - <%=rtEvent.ctx.Consumer.OrderId%><% } %> I have already checked value of rtEvent.ctx.Consumer.PaymentMethod -- it is having value 'Direct Pay' (including quotes). I can't use "==" for "if" condi...

Views

272

Likes

0

Replies

7
Re: How to send an email using external file - Adobe Campaign 29-03-2022
Thank you so much for detailed reply and explanation. I will definitely try this. My workflow already worked after making few changes though. I was playing with many conditions so I'm not sure what exactly I did but I have kept copy of that so that in the future, I can duplicate that one, if required. Also, I will keep your answer as an alternative way for future work. Thanks again.

Views

380

Likes

0

Replies

0
How to send an email using external file - Adobe Campaign 25-03-2022
Hi everyone,I'm trying to send an email to external email address using Adobe Campaign Classic. But it is failing on email delivery step. It says mismatch of nms:recipient and there are many other errors if I change configuration. - I have tried many combinations for this simple workflow. I just have data loading file (csv) and email delivery template -- simple workflow and send emails to external addresses that are not in database. I'm not able to find correct resources for doing so. Can you pl...

Views

411

Likes

0

Replies

2
Re: When executing a workflow, I get the following error - INT-150012 The HTTP query returned a '' type error (504). - Adobe Campaign 16-03-2022
Thank you so much for detailed reply. As rightly pointed by you, there was a network failure for few minutes that have caused this issue. I have checked today and the workflows are running perfectly fine without any issue now. I will add myself as supervisor so that I can get notification as suggested. Thanks,Vinay

Views

112

Likes

0

Replies

0