Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

CampaignProxy Documentation

Avatar

Avatar
Boost 1
Level 2
jenniferc201807
Level 2

Likes

2 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 2
jenniferc201807
Level 2

Likes

2 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
jenniferc201807
Level 2

13-07-2018

Hi,

I have been looking for documentation on how to use the CampaignProxy Interface in AEM to connect to Adobe Campaign.

CampaignProxy ("The Adobe AEM Quickstart and Web Application.")

I saw an interface from the same package used in a workflow to publish content to AC, but I haven't found more doc on the subject.

com.adobe.cq.mcm.campaign.NewsletterManager is used in /etc/workflow/scripts/campaign/approve.ecma

Thanks!

Replies

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

13-07-2018

Not all API reference documentation has a corresponding task-based article.

What exactly do you want to do?

Avatar

Avatar
Boost 1
Level 2
jenniferc201807
Level 2

Likes

2 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 2
jenniferc201807
Level 2

Likes

2 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
jenniferc201807
Level 2

13-07-2018

I've been ask to initiate an email proof send (out of Adobe Campaign) via AEM.

I thought I would create a workflow for doing that, and I found out there is a web service from Adobe Campaign that I can use for that task:

Web service calls

I have been looking ways to call those functions from AEM, and I thought the CampaignProxy would help me to do such a thing.

Any feedback is very much appreciated!

Avatar

Avatar
Boost 1
Level 2
jenniferc201807
Level 2

Likes

2 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 2
jenniferc201807
Level 2

Likes

2 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
jenniferc201807
Level 2

24-08-2018

I'm trying to use the method from an AEM workflow, like this:

var cpPx = sling.getService(Packages.com.adobe.cq.mcm.campaign.CampaignProxy);

cpPx.get("nms:delivery#Submit", map, credentials, response);

I get errors, so I think I might need help with the syntax please of the remoteFunction (The remote function (including AC namespace + extension))

I'm adding here different ways I've test it and the error messages I'm getting back.

Using:

"nms:delivery#Submit":

Wrapped java.lang.IllegalStateException: unsupported protocol: 'nms'

"nmsdelivery#Submit"

UnknownHostException: myhost.path.comnmsDelivery

"nmsdelivery:Submit"

Wrapped java.lang.IllegalStateException: unsupported protocol: 'nmsdelivery'

"urn:nms:delivery#SubmitDelivery"

Wrapped java.lang.IllegalArgumentException: Invalid uri 'urn:nms:delivery#SubmitDelivery': escaped relative path not valid

"xtk:jobInterface|nms:delivery#Submit"

Invalid uri 'xtk:jobInterface|nms:delivery#Submit': incorrect path

Any suggestions would be much appreciated!