Add modifications to an Experience Targeting activity through Target APIs | Community
Skip to main content
June 11, 2024
Question

Add modifications to an Experience Targeting activity through Target APIs

  • June 11, 2024
  • 1 reply
  • 1064 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

alexbishop
Adobe Employee
Adobe Employee
June 12, 2024

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

June 12, 2024

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?