ACS Javascript reference

Avatar

Avatar
Validate 1
Level 3
jonasn92134656
Level 3

Likes

28 likes

Total Posts

38 posts

Correct reply

8 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Validate 1
Level 3
jonasn92134656
Level 3

Likes

28 likes

Total Posts

38 posts

Correct reply

8 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 25
Boost 10
View profile
jonasn92134656
Level 3

14-01-2019

Hi,

In ACS it is possible to use Javascript within '<%' tags in pretty much the same way as for ACC in a lot of places. There are examples in the documentation where this is used in content blocks for instance, and numerous references to it on these forums. I can't seem to find any reference in the official documentation to it though - is there a complete JS-reference for ACS, similar to  the one for ACC (Adobe Campaign Classic - API Documentation )? Any documentation at all?

Regards,

Jonas

Replies

Avatar

Avatar
Validate 1
Level 4
asish_kumarp599
Level 4

Likes

37 likes

Total Posts

62 posts

Correct reply

8 solutions
Top badges earned
Validate 1
Shape 1
Boost 5
Boost 3
Boost 25
View profile

Avatar
Validate 1
Level 4
asish_kumarp599
Level 4

Likes

37 likes

Total Posts

62 posts

Correct reply

8 solutions
Top badges earned
Validate 1
Shape 1
Boost 5
Boost 3
Boost 25
View profile
asish_kumarp599
Level 4

15-01-2019

There is no JS Activity in ACS to use Workflows, so I don't think there is much we can do with javascript other than using it in content blocks.

Avatar

Avatar
Validate 1
Level 3
jonasn92134656
Level 3

Likes

28 likes

Total Posts

38 posts

Correct reply

8 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Validate 1
Level 3
jonasn92134656
Level 3

Likes

28 likes

Total Posts

38 posts

Correct reply

8 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 25
Boost 10
View profile
jonasn92134656
Level 3

22-01-2019

If it's useable in content blocks, shouldn't this at least be documented? It is also useable in landing pages, also not documented.

Documentation seems to be lacking in other regards as well, I don't see the ability to access workflow context described anywhere, although it can be done (using $(vars/@parameterName) as in Classic).

Avatar

Avatar
Ignite 3
Employee
user2420563
Employee

Likes

13 likes

Total Posts

22 posts

Correct reply

2 solutions
Top badges earned
Ignite 3
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile

Avatar
Ignite 3
Employee
user2420563
Employee

Likes

13 likes

Total Posts

22 posts

Correct reply

2 solutions
Top badges earned
Ignite 3
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
user2420563
Employee

23-01-2019

Hi Jonas,

Using JS is not allowed in ACS, neither in workflows, landing pages, content blocks.

What you are referring to might be possible in the product, but will not be supported and can lead to issues/errors when upgrading to a new version.  For that reason, you cannot find any documentation on this.

Alice

Avatar

Avatar
Validate 1
Level 3
jonasn92134656
Level 3

Likes

28 likes

Total Posts

38 posts

Correct reply

8 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Validate 1
Level 3
jonasn92134656
Level 3

Likes

28 likes

Total Posts

38 posts

Correct reply

8 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 25
Boost 10
View profile
jonasn92134656
Level 3

23-01-2019

Hi Alice,

Where in the documentation is it stated that it is not allowed?

In the documentation for content blocks (https://helpx.adobe.com/se/campaign/standard/designing/using/adding-a-content-block.html) JS is used without any indication that it wouldn't be allowed. There are also posts in this forum by Adobe staff where they refer to using JS as a solution to different issues.

Avatar

Avatar
Validate 10
Level 3
robayzma
Level 3

Likes

13 likes

Total Posts

53 posts

Correct reply

2 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 1
View profile

Avatar
Validate 10
Level 3
robayzma
Level 3

Likes

13 likes

Total Posts

53 posts

Correct reply

2 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 1
View profile
robayzma
Level 3

15-07-2019

Hi Alice,

I don't think this is true. Also JavaScript support will be added in near future or at least this is what i have been informed of.

Kind regards

Robert

Avatar

Avatar
Validate 1
Level 1
sachinc92185943
Level 1

Likes

3 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Give Back
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 1
sachinc92185943
Level 1

Likes

3 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Give Back
Boost 3
Boost 1
Applaud 5
View profile
sachinc92185943
Level 1

23-07-2019

Hi,

Can someone answer that, is there any possibilities to use the JS activity/support for some customization in ACS with Adobe's help?

As, there are some JS activities are running in some technical workflows in ACS so likewise, can we use with Adobe's help to do the customization in future?

Thanks,

Sachin C

Avatar

Avatar
Affirm 100
MVP
shelly-goel
MVP

Likes

249 likes

Total Posts

410 posts

Correct reply

107 solutions
Top badges earned
Affirm 100
Give Back 25
Ignite 3
Give Back 10
Validate 1
View profile

Avatar
Affirm 100
MVP
shelly-goel
MVP

Likes

249 likes

Total Posts

410 posts

Correct reply

107 solutions
Top badges earned
Affirm 100
Give Back 25
Ignite 3
Give Back 10
Validate 1
View profile
shelly-goel
MVP

26-10-2020

@robayzmaIs JavaScript activity now available in ACS?