Adobe Marketing Cloud Community

Welcome to the community for the Adobe Marketing Cloud. It's your place to learn about our suite of digital experience solutions, talk with other customers, exchange examples, share experiences and get help from the Adobe experts.

Meet the team behind the Marketing Cloud community, or learn more about the community.

Select a community:

marketing reports and analytics, ad hoc analysis, data workbench, data connectors, data warehouse, tag management, report builder

profile management, dynamic tag management, contextual activation, mobile services, asset sharing, solution collaboration, user management and security, third party integration

social management, display management, search management, audience management, performance management, retail optimization, integrated analytics

management and governance, listening and moderation, publishing and ads, application builder, social analytics, social campaigns

AB testing, multivariate testing, rules based targeting, geotargeting, recommendations, automated personalization


07:43 PM
SlingPostProcessor is not invoked when copy/pasting a page


In order to assign unique IDs to our custom forms, we have implemented a SlingPostProcessor, similar to the one used by the OOTB forms.

However, recently we have noticed that some of our forms have the ID of the form they are copy/pasted from.

It turns out, when we copy and paste a page in Touch UI, it sends a POST request to http://localhost:4502/bin/wcmcommand and our SlingPostProcessor is not invoked at all.

How can handle cases like this as well?

PS: Why the default built-in forms use IDs, rather than paths, for unique identification of forms? Why not just use paths?


05:52 PM
Set s.pageName using direct call - DTM

Hi, when I trigger an s.t call using a direct call rule to set a specific pagename I'm getting two server calls from the same page, one from the regular library and one from the direct call. How can I just set the pageName variable using the direct call so that when the rest of the tool runs I only track 1 page view but with the correct pagename? I'm thinking we can just leverage the custom script on the direct call rule to set s.pageName="XYZ"; and have it solved, but its not working.

03:49 PM
Contact information


Looking for contact information for a senior staff member at Adobe customer service (license management). Thank you. Willi Ehreiser - Director at The Washington Post. 

12:44 PM
workflow notifications are not getting cleared in AEM 6.0

Created a custom workflow and made a custom group as approver. When workflow is appreoved/rejected, status is showing is completed but still the current workitem is exist in the notifications of approvers group. When workflow is approved by admin, notification is getting cleared.

As per my understanding issue is with permissions as i am using the same model. Tried with admin and custom group as approvers seperately. Admin approver is clearing the notification status

Below are the custom group permissions. Quick response is greatly appreciated!





12:05 PM
QueryBuilder returning 0 results

I have a servlet extended from SlingAllMethodsServlet that is using QueryBuilder to search for images in a path in our repository. When I execute the servlet, QueryBuilder returns 0 results, but when I run the same query from the querydebug.html provided by CQ it returns the expected results.

I've set the log level for to DEBUG in an attempt to find my error but I'm seeing the same output in the logger for both query attempts (except that the servlet request returns 0 results). Here is the log output from the servlet call:

18.12.2014 11:49:49.130 *INFO* [0:0:0:0:0:0:0:1 [1418921389129] GET /libs/cq/search/content/createAssetPages HTTP/1.1] request for /libs/cq/search/content/createAssetPages, with selector null
18.12.2014 11:49:49.132 *DEBUG* [0:0:0:0:0:0:0:1 [1418921389129] GET /libs/cq/search/content/createAssetPages HTTP/1.1] executing query (URL):
18.12.2014 11:49:49.133 *DEBUG* [0:0:0:0:0:0:0:1 [1418921389129] GET /libs/cq/search/content/createAssetPages HTTP/1.1] executing query (predicate tree):
ROOT=group: [
    {path=path: path=/content/dam/nhhc/our-collections/photography}
    {property=property: value=96, property=jcr:content/metadata/dam:Physicalheightindpi}
    {type=type: type=dam:Asset}
18.12.2014 11:49:49.133 *DEBUG* [0:0:0:0:0:0:0:1 [1418921389129] GET /libs/cq/search/content/createAssetPages HTTP/1.1] xpath query: /jcr:root/content/dam/nhhc/our-collections/photography//element(*, dam:Asset)[jcr:content/metadata/@dam:Physicalheightindpi = '96']
18.12.2014 11:49:49.155 *DEBUG* [0:0:0:0:0:0:0:1 [1418921389129] GET /libs/cq/search/content/createAssetPages HTTP/1.1] xpath query took 22 ms
18.12.2014 11:49:49.164 *DEBUG* [0:0:0:0:0:0:0:1 [1418921389129] GET /libs/cq/search/content/createAssetPages HTTP/1.1] >> xpath query returned 0 results (counted)
18.12.2014 11:49:49.165 *DEBUG* [0:0:0:0:0:0:0:1 [1418921389129] GET /libs/cq/search/content/createAssetPages HTTP/1.1] entire query execution took 32 ms

And here is the output from querydebug.html:

18.12.2014 11:49:56.611 *INFO* [0:0:0:0:0:0:0:1 [1418921396611] GET /libs/cq/search/content/querydebug.html HTTP/1.1] request for /libs/cq/search/content/querydebug, with selector null
18.12.2014 11:49:56.614 *DEBUG* [0:0:0:0:0:0:0:1 [1418921396611] GET /libs/cq/search/content/querydebug.html HTTP/1.1] executing query (URL):
18.12.2014 11:49:56.614 *DEBUG* [0:0:0:0:0:0:0:1 [1418921396611] GET /libs/cq/search/content/querydebug.html HTTP/1.1] executing query (predicate tree):
ROOT=group: [
    {path=path: path=/content/dam/nhhc/our-collections/photography}
    {property=property: value=96, property=jcr:content/metadata/dam:Physicalheightindpi}
    {type=type: type=dam:Asset}
18.12.2014 11:49:56.615 *DEBUG* [0:0:0:0:0:0:0:1 [1418921396611] GET /libs/cq/search/content/querydebug.html HTTP/1.1] xpath query: /jcr:root/content/dam/nhhc/our-collections/photography//element(*, dam:Asset)[jcr:content/metadata/@dam:Physicalheightindpi = '96']
18.12.2014 11:49:56.623 *DEBUG* [0:0:0:0:0:0:0:1 [1418921396611] GET /libs/cq/search/content/querydebug.html HTTP/1.1] xpath query took 9 ms
18.12.2014 11:49:56.657 *DEBUG* [0:0:0:0:0:0:0:1 [1418921396611] GET /libs/cq/search/content/querydebug.html HTTP/1.1] >> xpath query returned 206 results (counted)
18.12.2014 11:49:56.659 *DEBUG* [0:0:0:0:0:0:0:1 [1418921396611] GET /libs/cq/search/content/querydebug.html HTTP/1.1] entire query execution took 45 ms

Here is the code that's running the query in the servlet:

            Map<String,String> parms = new HashMap<String,String>();

            parms.put("type", "dam:Asset" );

            parms.put( "path", "/content/dam/nhhc/our-collections/photography" );

            // This search is only for low-res images so use the DPI value to keep from returning high-res images

            parms.put( "property", "jcr:content/metadata/dam:Physicalheightindpi" );

            parms.put(  "property.value", "96" );

            if( nodeName != null && !nodeName.isEmpty() ) {

                parms.put(  "nodename", nodeName );


            Query query = builder.createQuery( PredicateGroup.create( parms ), session );

As far as I can tell, the queries are identical so I have no clue as to why my servlet query returns no results. Any suggestions on what I may be doing wrong would be greatly appreciated!



07:36 AM
Help in Omniture with Bloodhound


I am using Omniture and want to integrate bloodhound.

Could you please help me to do this in android and iPhone respectively?

Please share some coding instructions as well with step by step.

05:57 AM
Granite HTTP Cache Filter docs

Since AEM 6.0 there is "Granite HTTP Cache - Core Bundle" which I guess can work as an outer cache.
Unfortunately I cannot find any documentation on this topic. Does anybody know more about this or can share some link/details ?

Moreover Is HTTP Cache Filter production ready and officially supported ?

11:16 PM
Getting status 0/cancelled in network's tab upon link tracking event but working fine with Ctrl+Click on link

I am trying to implement link tracking( but end up getting status 0/ cancelled in the network's tab upon click event. But getting status 200 if try to press Ctrl+ left mouse click.

See below the code

<a href="VisitorAPI.html" onclick="

Check out the image attached for status message.

10:26 PM
Mobile App Acquisition - race condition in Android

I've implemented Mobile App Acquisition as instructed here: 

I've run into the situation where sometimes the InstallEvent request fails to pick up any of the campaign information. It is always coming through, this is apparent because I save that info when the INSTALL_REFERRER Intent is received and then add it to a custom tracking even that happens later. Instead those attributes get automatically tacked on to whatever request happens next (usually a track page) and then not processed by the server. Taking my device and repeatedly clicking on the link, installing, opening, and uninstalling the app shows that the InstallEvent request fails to pick up that campaign info about a quarter of the time. That's a lot of misattributed clicks, so I'm very interested in some way to prevent this. 

03:17 PM
Maven builds breaking due to content-package-maven-plugin


Recently, our project builds have started to break. Realized this when I was setting up the project on a new machine (no existing .m2 folder). It fails with the below error. Has anything changed recently? How should I go about fixing this? I tried mapping to 0.0.23 version of content-package-maven-plugin, but get a similar error.

Please advice.

[ERROR] The build could not read 2 projects -> [Help 1]
[ERROR]   The project com.cq:UI:1.0-SNAPSHOT (C:\dir\cq5\UI\pom.xml) has 2 errors
[ERROR]     Unresolveable build extension: Plugin or one of its dependencies could not be resolved: Could not find artifact in adobe ( -> [He
[ERROR]     Unknown packaging: content-package @ line 19, column 13
[ERROR]   The project com.cq:config:1.0-SNAPSHOT (C:\dir\cq5\Config\pom.xml) has 2 errors
[ERROR]     Unresolveable build extension: Plugin or one of its dependencies could not be resolved: Could not find artifact in adobe ( -> [He
[ERROR]     Unknown packaging: content-package @ line 15, column 13
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1]
[ERROR] [Help 2]


02:18 PM
Video Reporting is Not Reporting Time Accurately


I am currently tracking video plays on an internal video player that plays site-hosted videos.  I have set up the following variables for tracking video:

  • Prop 5- Video Name


  • Evar 5- Video Name (Expire: Visit)
  • Evar 6- Video Segment (Expire: Hit)
  • Evar 7- Video Time (counts the seconds the video plays, fires after user changes page or video reaches 100%) (Expire: Hit)
  • Evar 8- Content Type (video) (Expire: Hit)


  • Event 4- Video Start (Counter)
  • Event 5- Video Time (which is mapped in Tealium to Evar 7) (Counter)
  • Event 6- Video 100% Complete (Counter)
  • Events 7-9- Video 25-75% Complete (Counter)

Additionally, I enabled video reporting in the report suite manager with the following configuration

Conversion Variables:

  • Video- Evar 5 (Video Name)
  • Content Type- Evar 8 (content type)

Success Events

  • Video Time- Custom Event 5 (Video Time)
  • Video Views- Custom Event 4 (Video Start)
  • Video Completes- Custom Event 6 (Video 100% Complete)

The tags and events appear to correctly fire (specifically eVar7 and event5) and all of these variables in their individual report stage produce the desire output, but the Video Overview report shows Total Time on Video as the number of Video Starts and Avg Time on Video as 1 second.  The only odd report output is on the eVar5 (Video Name) report, which correctly counts the number of video starts/plays, but outputs the total time in the same 1 second increments.

Any insight onto where my configuration is off would be welcome. I've been working with developers and the tags are firing- and everything else seems correct except for time logging.

Thank you




02:12 PM
Question Regarding Session in Event Listener
Hi All,
I have a question regarding event listener. We have a event listener which listen to delete node event and perform some activity say "send email".
While code review i found this, although this code is working fine i am not convinced with the session being handled here :
    protected void activate(ComponentContext context) {
            final String path="/content/dam/";
           Session session = repository.loginAdministrative(repository.getDefaultWorkspace());
            observationManager = session.getWorkspace().getObservationManager();
            observationManager.addEventListener(this, Event.PROPERTY_REMOVED, path, true, null, null, true);
            checkOutProperty = OsgiUtil.toString(context.getProperties()
            if (session != null && session.isLive()) {
        } catch (RepositoryException e) {
                LOG.error("Error Occured in activate method of Property Removed Listener class:" + e.getMessage());
        }catch (Exception e) {
                LOG.error("Error Occured in activate method of Property Removed Listener class:"+e.getMessage());


    protected void deactivate(ComponentContext componentContext) {
        try {
            if (observationManager != null) {
        } catch (RepositoryException e) {
                LOG.error("Error Occured " + e);
        } catch (Exception e) {

* Best practice would be to create session object private to this class and should be logout in deactivate method ?
* Once an event is added in Observation we really need session object ?. I was expecting if we should logout from session there.



01:04 PM
Target Standard Test suddenly causing our page to go black

I didn't change anything but suddenly today my Target Standard experience targeting tests are broken.  I.e.,

Any suggestions? 

Thank you!

11:24 AM
How can I convert a PM6.5 file opened in PM7 to PDF -please help

Hi. .I'm new posting here so I really hope that I'm on the right forum!

I have PM 6.5 files made a couple of years ago on an old (and now crashed computor). 

Have installed the PM 7 trial on my new computor (Windows 8) and was happy when I could open my old PM6.5 files.. I now need to convert them to PDF files but cant't do it. I only get a message that says that I have to install Post Script drivers. Don't understand what PS drivers I have to install...! I can't save the PM files av PDF' either. I have also a trial version of Indesign hoping that I would be able to open the PM6.5 files there but it can't be done in the new version and I can't find an older version CS2 - CS6 to download. 

Now I have been reading and testing  but haven't been able to solve my problem. Is there anyone that would be so kind to help me out with this? 

Many thanks in advance!

01:56 PM
Marketing Channels -> CIDs into speaking names

Hi guys,

i try to get CIDs into speaking names for Marketing Channels. My idea is using Processing Rules or DTM to get CID and write a speaking name into a eVar. We have 30+ different CIDs counting up. Any other idea or comment on this?

Kind regards

10:24 AM
more orders than carts

When I view products reports and output metrics for unique visitors, carts, and orders - a handful of my products have more Orders than Carts.  

For example, Product X shows that there were 46 Carts and 70 Orders.

Any ideas how is this possible as it is not possible to order a product on our website without initiating a Cart.


09:11 AM
AEM_FRM_001_006:resourceResolver is Null

If the FormsService.renderPDFForm("crx:///content/xyz.xdp",...) is called with an xdp stored within the repository (using the crx://.... path), the FormsService retrieves that xdp from the repository using a ResourceResolver inherited from the context of the current request. This works fine, if we are in a servlet request context.

But if the call takes place in a different context, i.e. some arbitrary service (in my case a sling health check service), there is no ResourceResolver. This leads to the error   AEM_FRM_001_006:resourceResolver is Null which occures within the com.adobe.forms.aem.impl.RepositoryServiceImpl.

Other rendering services like the OutputService.generatePdfOutput(...) can be called not only by a string parameter to define a path of an xdp but also by a Document object containing the xdp. This allows the repository access to happen outside the rendering service and so the ResourceResolver can be handled under control of the calling programm.

The FormsService.renderPdfForm does not offer such a variant. Also it does not offer any possibility to hand in a ResourceResolver (at least as far I can see). 

Is there a possibility to somehow put an ResourceResolver into the FormsService?

Or is there a possibility to avoid the need of an ResourceResolver (but still be able to use xdp's stored within the repository)?

Aa allways, any help is appreciated :-)



01:26 PM
Missing posts after technical difficulties

Last week the forum reported technical difficulties. Now its up and running again, but it seems that there are numerous posts lost. Will they be restored?

01:09 PM
AAM Uniques Compared to Analytics Unique Visitors

For some traits, I'm seeing that the unique visitor volume in Audience Manager is as low as 50% of the volume that we're seeing in Adobe Analytics. Is that normal or does that seem to low? I know that AAM doesn't accept visitors with 3rd party cookies, so I'm sure the discrepancy varies by industry.


Are there any other reasons besides tagging mistakes and 3rd party cookies as to why there would be a discrepancy? 


Thanks in advance,


03:35 AM
AEM 6.0 spell checking in Touch-optimized UI for editors

According to spell checking is not supported. However our customer will not be happy with this. Is there any way to support spell checking? No one wants a public website with spelling errors...

09:46 PM
Failed to resolve Adobe's artifact from the public repository for developing new AEM's package

Hi guys,

I'm going to develop a AEM's UI package project from the official development site:

However, the build was failed because the link below is not found:


So i think the Adobe's public repository is being down or have a problem in it.

Can anyone please help me with this?




04:51 PM
Geo targeting - multiple zip codes

When using zip codes to geo target, do I just use a comma in-between each one?

04:10 AM
Getting new audience by promoting my website

Hello everyone,


Okay, reading the forum I found "Getting Started with Social" which could work for my website I think. To read more about the tool Rahsing suggested to digg which is doesn't work for me. Is that a correct link?





10:46 AM
How to include ARES certificate in a package

We are building a solution where an AEM Forms based render service has to be deployed over several stages (dev, test, integration, acceptance, production). The deployment has to be automatted. The AEM package mechanism is the base to accomplish that. We are generating packages within our maven build process as it is common practice in the AEM world. This works fine so far.

But how to handle the ARES cerificates? The certificate has to be associated to a user. So we created a technical user, gave him the keystore with certificate (as described in Then we created an eclipse content structure based on that content (something like jcr_root/home/users/a/ares_technical_user/....) This content we included in our build job and it worked fine as long as we worked with clones of the development AEM where we originally created the user. But when importing the package on a different AEM instance (a basic publish node), the user was not recreated full functioning. In the "Edit User Settings" dialog the entry "Manage Keystore" is missing and the log shows an exception:

*ERROR* [ [1418223576999] GET /home/users/a/ares_technical_user.ks.json HTTP/1.1] Unable to retrieve the truststore's aliases.
java.lang.SecurityException: com.adobe.granite.crypto.CryptoException: Cannot convert byte data
        at com.adobe.granite.keystore.internal.KeyStoreServiceImpl.extractStorePassword(    

When trying to applyUsageRights with that user, the exception is nearly the same. The keystore does not survive the deployment. It seems, that the different instance is not able to decrypt the keystore content (which i guess is a meaningful security feature).

So what is the recommended way to automatically deploy an ARES certificate? Has someone done that in a project?

Any help is appreciated


09:52 AM
Importing XFA form into AEM, change event hander doesn't fire


I have an XFA form with a change event handler on a field.  When the form is rendered as a PDF and opened in Reader, the change event handler works fine.

However, when importing the XFA into AEM forms, adding the field to the AEM form works, but the change event doesn't fire when it is supposed to.  I had a change listener setup on a drop-down list.  I tried the simple case of a javascript pop-up on any change, but no luck.

Are change events supported this way in AEM?  Is there documentation describing what type of event handling is supported?

Thank you

07:00 AM
Design architecture for page translation

I want to design an architecure illustration below:

As a result there are some questions waiting for me:

a)How to collect these pages message to generate XML file(Because i find the page of part block reference to other template);

b)How to merge multi-page to one XML file

c)If parse XML okey, how to store target translated file message for target page (In other word, maybe some translated message need to store special somewhere, right?)


Above of all, i am new to AEM and ensure the architecture correctly, so that each process walk on a right way.

Anyone expert could help gvie constructive suggestion? Thanks a lot in advance.


02:37 PM
Question about creating Display Ad Campaign/Flashboxes

Hi there,

I've set up a few MVT / landing page testing campaigns but haven't set up a Display Ad Campaign in T&T before and I had a few questions..
Our client is interested in essentially doing MVT testing within banner ads. We would test ad elements such as: color, image, headline, CTA, copy.

Is this possible and is this considered a Flash campaign or a Display Ad Campaign?
What is the difference between a Flash campaign and a Display Ad Campaign?
Would this type of campaign use mBoxes or Flashboxes?

I will likely have more questions pending your response. Thanks for your help!

03:54 AM
Button moved after tagadmin.xml overriding


To add additional functionality in tagadmin panel we override file "/libs/cq/tagging/content/tagadmin.xml" and move it  to "/apps/cq/tagging/content"(AEM6 with SP1 installed).

Everything work fine, but tagadmin button moved from the end to the beginning.

Can we place tagadmin button on the original location?

07:16 AM
How to authenticate user against directory via LDAP in CQ 6

The Problem: We have CQ integrated with the external portal, the portal sends user information i.e. username and authorization token (passsword) in the request headers, this request is for the CQ Publish instance AEM version 6.0. We have to validate the user against client provided LDAP. How we can achieve this ?

Things tried so far : Followed the AEM 6 Docs to configure and connect to LDAP. Next tried login with the directory provided user in CQ, CQ tries to connect and query the user via LDAP request (provided in the config) and fetches and creates the corresponding user in crx, so that the user details are cached and LDAP requests are not fired for the same user when he/she tries to login again. However this user created in CQ has no information for the password i.e no password fetched in ldap request and updated in crx. So the authentication to CQ fails. In short after adding configuration CQ connects directories via LDAP, fetches user details, but doesn't fetches password of that user and this causes authentication to be failed.

Looking for best way to do this. Any alternative approaches are welcome. See below configurations added.

LdapIdentityProvider searchTimeout="60s""***"




01:22 AM
Target Premium: Creating an activity for a carousel


I'm trying to create an activity from a carousel, where the variation would be to show the items of the carousel in a different order.  How can this be done with Target Premium?  I would think that in the visual editor, when you try to edit the HTML, you would see the source under the div, but you don't.  I'm really hitting a wall here, so any help will be greatly appreciated.



07:51 AM
Exclude Internet Explorer


does anybody know how can I exclude Internet explorer traffic from a test? I have tried a few things with no success. My latest attempt was to create an expression target which excludes IE Traffic and then use it in a segment. The expression target is this 

return (user.browser.indexOf('MSIE') == -1);

This means users that do not contain "MSIE". So this should work, however I keep getting considered in my demo test.

I would appreciate any hint.

Thank you,


02:32 AM
Geolocation OOTB component



How do i fetch user's location (ie latitude and longitude) inside my jsp?

I have added goelocation component inside client context and used "CQ_Analytics.ClientContextMgr.clientcontext.geolocation.longitude" command to fetch the data, but this passes a null value.




01:15 PM
Not able to automate report delivery with CSV attachment.

I cannot create scheduled reports with data as email attachment.

Even when I select the option, I get only the notification. I have to go and manually download the report.


How to make the attachments work.