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

JamesAlio
Community profile JamesAlio Level 1
Job title here
Location here
1 BADGE
Level 1

Level 1

Learn more
Joined the community 23-12-2020 12:32:15 AM
Offline
Top badges earned by JamesAlio
Customize the badges you want to showcase on your profile
Re: How to pass parameter to customization block
Avatar
Validate 1
Level 1
JamesAlio
Level 1

Likes

0 likes

Total Posts

11 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
JamesAlio
- Adobe Campaign Classic
Thank you

Views

130

Likes

0

Replies

0
How to pass parameter to customization block
Avatar
Validate 1
Level 1
JamesAlio
Level 1

Likes

0 likes

Total Posts

11 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
JamesAlio
- Adobe Campaign Classic
Hello ,i'm working on a Html customization block which i have to call in many places and in each place i have to show a different texte.this is the code of my customization block : here the dynamic text im calling my block in an email template using this syntax : <%@ include view='myCustomBloc' %> my issue is that i want to pass my custom text as a parameter when i call my custom bloc in order to show the correct text according to the email template. Any help please ! Regardsdoes adobe campaig...

Views

158

Likes

0

Replies

2
Re: How to use Promise in javaScript activity
Avatar
Validate 1
Level 1
JamesAlio
Level 1

Likes

0 likes

Total Posts

11 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
JamesAlio
- Adobe Campaign Classic
Hello @Sukrity_Wadhwa no i still have the same problem. the Promise object is undefined in my Js Activity

Views

172

Likes

0

Replies

0
HttpClientRequest not working properly when using Keep Alive
Avatar
Validate 1
Level 1
JamesAlio
Level 1

Likes

0 likes

Total Posts

11 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
JamesAlio
- Adobe Campaign Classic
Hello,i used the example in the doc (Keep Alive example) https://docs.adobe.com/content/help/en/campaign-classic/technicalresources/api/c-HttpClientRequest.htmlto implement it in my real case.i have an array with 50 json object that i want to insert in a DB using an external API , this is my code : var apiRequest = new HttpClientRequest("www.myAPI.com"); apiRequest.method = "POST"; // open the connection with my api apiRequest.connect(); // loop through my array to insert each element. 50 calls ...

Views

173

Likes

0

Replies

0
How to use Promise in javaScript activity
Avatar
Validate 1
Level 1
JamesAlio
Level 1

Likes

0 likes

Total Posts

11 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
JamesAlio
- Adobe Campaign Classic
Hello,i want to use the following code in a javascript activity but im getting an error : var myPromise = new Promise(function(myResolve, myReject) { setTimeout(function() { myResolve("I love You !!"); }, 3000); }); myPromise.then(function(value) { logInfo('Helllo Promise : '+value); }); this is the error that i get : 02/04/2021 16:02:11 js7 JST-310000 ligne 2 : Promise is not defined. do you have any solution please ?Thanks in advance.

Views

265

Likes

0

Replies

5
Re: sqlGetInt queryDef Equivalent
Avatar
Validate 1
Level 1
JamesAlio
Level 1

Likes

0 likes

Total Posts

11 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
JamesAlio
- Adobe Campaign Classic
Thank you so much

Views

171

Likes

0

Replies

0
sqlGetInt queryDef Equivalent
Avatar
Validate 1
Level 1
JamesAlio
Level 1

Likes

0 likes

Total Posts

11 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
JamesAlio
- Adobe Campaign Classic
Hello,im using this native query and it works fine but i want to know how i can do the Something using queryDef.this is my native SQL: var email = NLWS.xtkSession.FormatDataPolicy("lowerCase", email.trim()); var firstName = NLWS.xtkSession.FormatDataPolicy("lowerCase", firstName); var lastName = NLWS.xtkSession.FormatDataPolicy("lowerCase", lastName); var sql ="SELECT R0.iRecipientId FROM NmsRecipient R0 JOIN XtkFolder F1 ON (F1.iFolderId = R0.iFolderId) WHERE LOWER(R0.sFirstName)='"+firstName+"...

Views

204

Likes

0

Replies

2
How to call HttpClientRequest in batch mode
Avatar
Validate 1
Level 1
JamesAlio
Level 1

Likes

0 likes

Total Posts

11 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
JamesAlio
- Adobe Campaign Classic
Hello, I'm working on a workflow where I have to call an external API using HttpClientRequest and all work fine.The API that I call uses pagination so I have to call the API to get results for each page. I have 10 pages so I have to make 10 calls. I'm wondering if there is a way to make only one call to get the result instead of 10 calls.this is my current code : var requestUrl = "https://www.muapiurl.com?";// 10 callsfor (var i = 1; i <= 10; i++) {var requestParam = "page="+i;var url = requestU...

Views

278

Likes

0

Replies

1
Re: How to create an adobe campaign List using a json arr...
Avatar
Validate 1
Level 1
JamesAlio
Level 1

Likes

0 likes

Total Posts

11 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
JamesAlio
- Adobe Campaign Classic
okay , can you please show me how i can create the table or just give me a documentation link that shows how to. im beginner in ACC i start working on it since 1 month but i m a web developper already. Thanks

Views

382

Likes

0

Replies

0
Re: How to create an adobe campaign List using a json arr...
Avatar
Validate 1
Level 1
JamesAlio
Level 1

Likes

0 likes

Total Posts

11 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
JamesAlio
- Adobe Campaign Classic
Hello @_Manoj_Kumar ,Thank you so much for your response it's very clear.i still have one more question because in your response you assume that the list is already created ? there is any why to create the list (table) during the workflow execution i mean using my js code before start persisting the data? Thanks in advance.

Views

399

Likes

0

Replies

0
How to create an adobe campaign List using a json array of objects in a workflow
Avatar
Validate 1
Level 1
JamesAlio
Level 1

Likes

0 likes

Total Posts

11 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
JamesAlio
- Adobe Campaign Classic
Hello,i have a workflow where i create a json array using javascript activity and i want to create a new adobe campaign list (using js code) and add to it all the data in my json array using "javascipt acitivity" or "update list" activity.can you please show me how i can achieve this operation in my workflow. this is the code of my Js activity : var arrayOfObjects = [{ "id": 28, "Title": "Sweden" }, { "id": 56, "Title": "USA" }, { "id": 89, "Title": "England" }];vars.arrayOfObjects = JSON.string...

Views

421

Likes

0

Replies

5
Likes given to