Expand my Community achievements bar.

Add modifications to an Experience Targeting activity through Target APIs

Avatar

Level 1

Hello. I have to create an Experience Targeting activity that involves applying different modifications to many pages depending on the audience. In all cases, what I have to do is to insert a specific Experience Fragment (imported from AEM) to the HTML element pointed by certain selector. I know I can do it manually, but the pages, audiences and Experience Fragments involved are so many that I'd like to be able to automate the task by using Target APIs. Is this somehow possible? I checked the API docs, but couldn't find anything related to adding modifications.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

2 Replies

Avatar

Employee Advisor

With the manual process, is that something you would do via the Form Composer or the Visual Editor workflow? If it's the Form Composer then I'd expect you could achieve this with the Create XT Activity API

Avatar

Level 1

I normally do it with the Visual Editor, selecting the element to be replaced and then doing right click + Replace Content/Experience Fragment. Is it possible to implement that behavior with the API?