My requirement is :
1. to create an external campaign in Target( Not through AEM) -- Done by using saveCampaign API provided by Target
2. Fetching the newly created campaign in AEM and creating corresponding nodes in JCR. -- Done by consuming viewCampaign API and subsequently craeting nodes with the appropriate properties.
3. Now I can see the campaign created in JCR and I could create offers inside it.
4. Now I want this updated campaign to be synched back with the one that was created in Target in step 1. ( I tried integrating this campaign with Target by updating properties in the campaign through AEM. -- as shown in the screenshot pasted below.)
However in target the campaign is not yet updated to include the offer that I created in step 3.(the campaign is not modified).
I have observed that the campaign created via AEM is in activated state however the one that I created programmatically is in deactivated state, could that be a reason the campaign is not getting updated?
Any suggestions in this regards would be a great help.
Thanks in advance.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
Apologies for the delay in responding. I checked on this with the product engineering team and currently this workflow is not supported. In case you feel this workflow is beneficial for other users also, I'd request you to raise an enhancement request. More details on it are present here.
Thanks
Nikhil
Views
Replies
Total Likes
asn_177 wrote...
My requirement is :
1. to create an external campaign in Target( Not through AEM) -- Done by using saveCampaign API provided by Target
2. Fetching the newly created campaign in AEM and creating corresponding nodes in JCR. -- Done by consuming viewCampaign API and subsequently craeting nodes with the appropriate properties.
3. Now I can see the campaign created in JCR and I could create offers inside it.
4. Now I want this updated campaign to be synched back with the one that was created in Target in step 1. ( I tried integrating this campaign with Target by updating properties in the campaign through AEM. -- as shown in the screenshot pasted below.)
However in target the campaign is not yet updated to include the offer that I created in step 3.(the campaign is not modified).
I have observed that the campaign created via AEM is in activated state however the one that I created programmatically is in deactivated state, could that be a reason the campaign is not getting updated?
Any suggestions in this regards would be a great help.
Thanks in advance.
Attaching the image
Views
Replies
Total Likes
Any particular reason why you are creating the Campaign using the API and want it create offers in AEM? Have you referred to this page which talks about creating campaigns and offers in AEM ?
Thanks
Nikhil
Views
Replies
Total Likes
Nikhil, Thanks for the reply.
I have craeted the campaign through AEM as suggested by you.
However there could be an environment where Target is integrated with more than one AEM like systems.
idea is in such a set up a campaign created from an external system could be brought in AEM and modified and synched back.
So essentially target would hold latest campaign data and other peripheral systems like AEM will go on using / modifying it.
is such use case possible?
Thanks in advance for your help.
Views
Replies
Total Likes
Hi,
Apologies for the delay in responding. I checked on this with the product engineering team and currently this workflow is not supported. In case you feel this workflow is beneficial for other users also, I'd request you to raise an enhancement request. More details on it are present here.
Thanks
Nikhil
Views
Replies
Total Likes
Thanks for letting me know. Let me check on if and how this use can be achieved and revert.
Thanks
Nikhil
Views
Replies
Total Likes
That would be a great help Nikhil.
Thanks in advance.
Views
Replies
Total Likes
Views
Like
Replies
Views
Like
Replies