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

SorenDahk
SorenDahk
Online

Badges

Badges
13

Accepted Solutions

Accepted Solutions
3

Likes Received

Likes Received
3

Posts

Posts
30

Discussions

Discussions
0

Questions

Questions
30

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by SorenDahk
Customize the badges you want to showcase on your profile
Re: JS activity: Array of objects to use in Alert activity - Adobe Campaign 20-07-2022
Hi @Marcel_Szimonisz!  Makes sense, works as you suggest here! 

Views

90

Likes

0

Replies

0
Re: JS activity: Array of objects to use in Alert activity - Adobe Campaign 20-07-2022
I did what you suggested here, which works fine for this use-case. Thank you!

Views

91

Likes

0

Replies

0
Re: JS activity: Array of objects to use in Alert activity - Adobe Campaign 14-07-2022
Hi @Marcel_Szimonisz. Thank you very much for taking your time to provide some feedback here! So i tried this: vars.mirrorUrlArray = JSON.stringify(mirrorUrls);But that throws this error: "14/07/2022 15:53:19 JST-310000 Error while compiling script 'PWKF5147/js' line 36: String.prototype.toJSON called on incompatible XML."

Views

122

Likes

0

Replies

2
Re: JS activity: Array of objects to use in Alert activity - Adobe Campaign 13-07-2022
So I can do something like this, but that is kind of a very bad and non-scalable nor flexible solution: vars.url1; vars.url2; vars.url3; vars.url4; vars.url5; vars.url6; vars.name1; vars.name2; vars.name3; vars.name4; vars.name5; vars.name6; var index = 1; for each (var item in mirrorUrls){ switch (index){ case 1: vars.url1 = item.url; vars.name1 = item.name; break; case 2: vars.url2 = item.url; vars.name2 = item.name; break; case 3: vars.url3 = item.url; vars.name3 = item.name; break; case 4: v...

Views

136

Likes

0

Replies

0
Re: Can we store instance variable into an array? - Adobe Campaign Standard 13-07-2022
Hi! I am just fiddling with a similar issue. Could you please elaborate upon how you would go about regenerating the array? And how do you reference items in an array in a delivery for instance?

Views

60

Likes

0

Replies

0
JS activity: Array of objects to use in Alert activity - Adobe Campaign 12-07-2022
Hi all! I am working on a JS activity that will fetch the mirror page of specific deliveries. I have now succesfully queried the given deliveries and stored them in a JS array containing objects. Now comes the part where I want to access these objects in a delivery, but I am not sure how to convert the array into meaningful data to reference from a delivery. I tried to simply do: vars.myArray = Array[object]. but this does not work, it seems like the "vars.xx" is not ablle to just convert the js...

Views

149

Likes

0

Replies

7
Re: Use dynamic variables in JS query def? - Adobe Campaign 12-07-2022
@Amine_Abedour - That's it! Thank you so much

Views

69

Likes

0

Replies

0
Use dynamic variables in JS query def? - Adobe Campaign 11-07-2022
Hi all! I am attempting to build a way to access the most recent mirrorUrl of the latest sent email from a defined array of emails. This is to display to internal stakeholders so that we can always see the latest version that was sent on a daily basis. For that I am fiddling with JS to fetch that mirrorUrl from an array of deliveryCodes. I am struggling with using the variables from my array inside the queryDef itself - Not sure if it is possible or just me who is just getting blind towards that...

Views

88

Likes

0

Replies

2
Re: "Personalization fields" How to reference them in deliveries? - Adobe Campaign 15-06-2022
Hi Craig. Yes - Unfortunately it does not really help. I am not talking about recipient related fields such as "firstname" or "lastname" I am talking about the specific feature in ACC called "personalization fields" which is not the same as inserting <%=recipient.firstname%> The documentation does not mention anything about this feature. It only talks about personalisation blocks. Please refer to the image attached for reference

Views

83

Likes

0

Replies

1
"Personalization fields" How to reference them in deliveries? - Adobe Campaign 15-06-2022
Hi all! I want to create global data points for business critical data that can be controlled at 1 place and referenced by all deliveries (easy enough) However, I am looking for the optimal way to achieve this. I found a feature called "personalization fields" just under "Personalization blocks" which seems to be a simple way to store global "key=value" attributes which is basically what I am looking for. Now comes the question. How do I reference these in a delivery??? I know I can achieve the ...

Views

88

Likes

0

Replies

3
Likes given to
Likes from