Highlighted

ACS Javascript reference

jonasn92134656

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

Highlighted

asish_kumarp599

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.

Highlighted

jonasn92134656

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).

Highlighted

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

Highlighted

jonasn92134656

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.

Highlighted

robayzma

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

Highlighted

sachinc92185943

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