AEM <--> Adobe Campaign Standard Implementation (Error while linking email)

gabrieleg615679

19-11-2019

Hi All,

When I try to link to AEM from Adobe Campaign standard I receive this error. I tried to use admin or campaign-user, checked the privileges,  checked the "Default Agent (publish)" but I didn't find any solution.

RST-360011 An error has occurred - please contact your administrator.

RST-360011 An error has occurred - please contact your administrator.

404 http error: 'Response is not a valid JSON:<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

<html><head>

<title>404 Not Found</title>

</head><body>

<h1>Not Found</h1>

<p>The requested URL was not found on this server.</p>

</body></html>

' for the url '/api/content/sites/campaigns.json?query=SELECT%20*%20FROM%20page%20WHERE%20%5Bchild%5D.%5Bcq%3AacLinks%5D%20IS%20NULL%20ORDER%20BY%20%5Bcq%3AlastModified%5D%20DESC&limit=30&filter.rt=mcm%2Fcampaign%2Fcomponents%2Fnewsletter%2Cmcm%2Fcampaign%2Fcomponents%2Fcampaign_newsletterpage%2Cmcm%2Fneolane%2Fcomponents%2Fnewsletter&showAllProperties=true'.

XTK-170006 Unable to parse expression 'GetAEMContentList($(labelFilter) , $(approvedFilter) , $(linkedFilter) , $(_order) , $(_lineCount) , $(_lineStart))'.

XTK-170006 Unable to parse expression 'GetAEMContentList($(labelFilter) , $(approvedFilter) , $(linkedFilter) , $(_order) , $(_lineCount) , $(_lineStart))'.

If I follow the url I get this answer.

{

   "entities":[

      {

         "links":[

            {

               "rel":[

                  "self"

               ],

               "href":"*******************:4502/api/content/sites/campaigns/we-retail/master/sample-campaign-demo-cap/campagna-acs-base.json"

            },

            {

               "rel":[

                  "content"

               ],

               "href":"*******************:4502/content/campaigns/we-retail/master/sample-campaign-demo-cap/campagna-acs-base.html"

            }

         ],

         "class":[

            "content/page"

         ],

         "properties":{

            "cq:lastReplicatedBy":"admin",

            "cq:lastReplicationAction":"Activate",

            "cq:targetEngine":"cq_campaign",

            "acMapping":"mapRecipient",

            "cq:designPath":"/libs/settings/wcm/designs/default",

            "acTemplateLabel":"Send via email",

            "cq:acApproved":true,

            "dc:title":"Campagna ACS Base",

            "cq:lastModified":"2019-11-18T17:17:35.186Z",

            "name":"campagna-acs-base",

            "cq:lastModifiedBy":"admin",

            "cq:lastReplicated":"2019-11-19T08:54:00.993Z",

            "acTemplateId":"mail",

            "teaserPageType":"newsletter",

            "cq:template":"/libs/mcm/campaign/templates/ac-email-acs"

         }

      }

   ],

   "links":[

      {

         "rel":[

            "self"

         ],

         "href":"*******************:4502/api/content/sites/campaigns.json?limit=30&showAllProperties=true&filter.rt=mcm/campaign/components/newsletter,mcm/campaign/components/campaign_newsletterpage,mcm/neolane/components/newsletter&query=SELECT%20*%20FROM%20page%20WHERE%20[child].[cq:acLinks]%20IS%20NULL%20ORDER%20BY%20[cq:lastModified]%20DESC"

      },

      {

         "rel":[

            "parent"

         ],

         "href":"*******************:4502/api/content/sites.json"

      }

   ],

   "class":[

      "core/searchresults"

   ],

   "properties":{

      "cq:lastReplicationAction":"Activate",

      "cq:lastReplicatedBy":"admin",

      "cq:allowedTemplates":[

         "/libs/cq/personalization/templates/.*",

         "/libs/mcm/templates/brand",

         "/apps/.*/templates/newsletter.*",

         ".*/designimporter/templates/.*",

         "/libs/commerce/templates/promotion",

         "/libs/commerce/templates/voucher",

         "/apps/.*/templates/.*newsletter.*",

         "/libs/mcm/campaign/templates/ac-email.*"

      ],

      "dc:title":"Campaigns",

      "name":"campaigns",

      "cq:lastReplicated":"2019-11-07T15:02:19.703Z",

      "srn:paging":{

         "total":1,

         "offset":0,

         "limit":30

      }

   }

}

Accepted Solutions (1)

Accepted Solutions (1)

Answers (4)

Answers (4)

gabrieleg615679

19-11-2019

On the server field when I insert the 4502 port I receive this message

RST-360011 An error has occurred - please contact your administrator.

RST-360011 An error has occurred - please contact your administrator.

-60

XTK-170006 Unable to parse expression 'GetAEMContentList($(labelFilter) , $(approvedFilter) , $(linkedFilter) , $(_order) , $(_lineCount) , $(_lineStart))'.

XTK-170006 Unable to parse expression 'GetAEMContentList($(labelFilter) , $(approvedFilter) , $(linkedFilter) , $(_order) , $(_lineCount) , $(_lineStart))'.

gabrieleg615679

19-11-2019

Hi skk44926872​,

thank you for answering, I got the result at "LINKING MAIL TEMPLATE" Step 3". I get the result once I click the AEM icon.

I tried with admin and campaign remote, with and without the port 4502.

Cloud services on AEM campaign folder are well configured.

Schermata 2019-11-19 alle 17.13.45.png