Expand my Community achievements bar.

SOLVED

Which JavaScript Version Does Adobe Campaign Classic v8 Support?

Avatar

Level 1

Hello! I’m fairly new to Adobe Campaign and want to start incorporating more JavaScript into my workflow. Could anyone clarify which JavaScript version Adobe Campaign Classic v8 supports? I’m using ChatGPT to help me learn JavaScript, but it often generates scripts that aren’t compatible with ACv8.

according to chatgpt it uses JavaScript 1.7 or 1.8 (ES3/ES5)

 

I’d appreciate any guidance. Thank you!

1 Accepted Solution

Avatar

Correct answer by
Level 4

You're not gonna be in a lot of luck - it uses a heavily customized version of JS 1.8.5 (Spidermonkey) and I rarely find GPT generated scripts to be super helpful as it tends to want to constantly use newer functions/methods etc.

There's a super helpful custom agent that was fed all of the classic documentation which I find extremely helpful with clarifying xml structures etc:
https://chatgpt.com/g/g-CO57XL6WQ-acc-gpt 
(Edit: ty @Marcel_Szimonisz for putting that one together!)

View solution in original post

2 Replies

Avatar

Community Advisor

Hi @JCLo1,

 

What I have experienced in some projects is that array methods sometimes can be limited, string methods also and object methods sometimes give problems. 

 

I share with you API documentation that applies to V7 and V8: Adobe Campaign - API Documentation

 

Regards,

Celia

Avatar

Correct answer by
Level 4

You're not gonna be in a lot of luck - it uses a heavily customized version of JS 1.8.5 (Spidermonkey) and I rarely find GPT generated scripts to be super helpful as it tends to want to constantly use newer functions/methods etc.

There's a super helpful custom agent that was fed all of the classic documentation which I find extremely helpful with clarifying xml structures etc:
https://chatgpt.com/g/g-CO57XL6WQ-acc-gpt 
(Edit: ty @Marcel_Szimonisz for putting that one together!)