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


Trending

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

Hi,

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?

Thanks.

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

Hi,

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!

Read/Write/Create
etc/workflows

Read
libs/cq/ui/rte
libs/cq/ui/widgets
libs/cq/core/content/projects.html
/libs/cq/workflow
libs/cq/taskmanagement
/libs/granite/ui
libs/wcm/core/content
libs/cq/linkchecker/resources

libs/wcm/workflow

libs/wcm/notifications

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 com.day.cq.search 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] cq5.mil.navy.history.util.impl.filters.LoggingFilter 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] com.day.cq.search.impl.builder.QueryImpl executing query (URL):
path=%2fcontent%2fdam%2fnhhc%2four-collections%2fphotography&property=jcr%3acontent%2fmetadata%2fdam%3aPhysicalheightindpi&property.value=96&type=dam%3aAsset
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] com.day.cq.search.impl.builder.QueryImpl 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] com.day.cq.search.impl.builder.QueryImpl 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] com.day.cq.search.impl.builder.QueryImpl 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] com.day.cq.search.impl.builder.QueryImpl >> 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] com.day.cq.search.impl.builder.QueryImpl 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] cq5.mil.navy.history.util.impl.filters.LoggingFilter 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] com.day.cq.search.impl.builder.QueryImpl executing query (URL):
path=%2fcontent%2fdam%2fnhhc%2four-collections%2fphotography&property=jcr%3acontent%2fmetadata%2fdam%3aPhysicalheightindpi&property.value=96&type=dam%3aAsset
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] com.day.cq.search.impl.builder.QueryImpl 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] com.day.cq.search.impl.builder.QueryImpl 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] com.day.cq.search.impl.builder.QueryImpl 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] com.day.cq.search.impl.builder.QueryImpl >> 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] com.day.cq.search.impl.builder.QueryImpl 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

.Hi,

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(s.tl) 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="
s.linkTrackVars='prop1,eVar1,events';
s.linkTrackEvents='event1';
s.prop2=s.eVar2='m1';
s.events='event1';
s.tl(this,'e','c1');
">C1</a>

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: https://marketing.adobe.com/resources/help/en_US/mobile/android/acquisition.html 

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

Hello,

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]
[ERROR]   The project com.cq:UI:1.0-SNAPSHOT (C:\dir\cq5\UI\pom.xml) has 2 errors
[ERROR]     Unresolveable build extension: Plugin com.day.jcr.vault:content-package-maven-plugin:0.0.20 or one of its dependencies could not be resolved: Could not find artifact com.day.jcr.vault:content-package-maven-plugin:jar:0.0.20 in adobe (http://repo.adobe.com/nexus/content/groups/public/) -> [He
[ERROR]     Unknown packaging: content-package @ line 19, column 13
[ERROR]
[ERROR]   The project com.cq:config:1.0-SNAPSHOT (C:\dir\cq5\Config\pom.xml) has 2 errors
[ERROR]     Unresolveable build extension: Plugin com.day.jcr.vault:content-package-maven-plugin:0.0.20 or one of its dependencies could not be resolved: Could not find artifact com.day.jcr.vault:content-package-maven-plugin:jar:0.0.20 in adobe (http://repo.adobe.com/nexus/content/groups/public/) -> [He
[ERROR]     Unknown packaging: content-package @ line 15, column 13
[ERROR]
[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]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

 

02:18 PM
Video Reporting is Not Reporting Time Accurately

Hi,

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

Adam

 

 

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 :
   
@Activate
    protected void activate(ComponentContext context) {
    try{
            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()
                    .get(ASSET_LOCK_PROPNAME_UPDATE), ASSET_LOCK_PROPNAME_DEFAULT);
            if (session != null && session.isLive()) {
                    session.save();
           }
        } catch (RepositoryException e) {
            if(LOG.isErrorEnabled()){
                LOG.error("Error Occured in activate method of Property Removed Listener class:" + e.getMessage());
            }
        }catch (Exception e) {
            if(LOG.isErrorEnabled()){
                LOG.error("Error Occured in activate method of Property Removed Listener class:"+e.getMessage());
            }
        }

    }


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


 
Questions:
* 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 Manager...do we really need session object ?. I was expecting if we should logout from session there.

 

Regards,
D

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., http://www.prometheusreg.com/california/mountain-view-apartments

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
Till 

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.

-JF

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 :-)

Regards

Alex

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,


David

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

According to http://docs.adobe.com/docs/en/aem/6-0/administer/operations/page-authoring/rich-text-editor.html 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: 

http://docs.adobe.com/content/docs/en/cq/current/developing/developmenttools/how-to-build-aem-projects-using-apache-maven.html

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

https://repo.adobe.com/nexus/content/groups/public/org/apache/maven/plugins/maven-metadata.xml

 

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

Can anyone please help me with this?

 

Thanks,

tnguyen

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" https://marketing.adobe.com/resources/help/en_US/social/c_gs.html which could work for my website http://www.pozdravunchik.ru I think. To read more about the tool Rahsing suggested to digg https://marketing.adobe.com/resources/help/en_US/social/ which is doesn't work for me. Is that a correct link?

Thanks,

Anton.

 

 

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 http://helpx.adobe.com/aem-forms/6/configuring-document-services.html). 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* [127.0.0.1 [1418223576999] GET /home/users/a/ares_technical_user.ks.json HTTP/1.1] com.adobe.granite.security.user.internal.servlets.KeyStoreManagingServlet 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(KeyStoreServiceImpl.java:603)    

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

Cheers
Alex

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

Hi

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

Hello,

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"
host.name="***"
group.makeDnPath=B"false"
user.baseDN="ou\=people,dc\=***,dc\=com"
group.objectclass=["groupOfUniqueNames"]
user.objectclass=["person","**","**"]
host.noCertCheck=B"false"
user.makeDnPath=B"false"
bind.dn="uid\=***,ou\=***,ou\=***,dc\=***,dc\=com"
group.baseDN="ou\=groups,o\=example,dc\=com"
group.extraFilter=""
user.extraFilter=""
host.port=I"389"
bind.password="***"
group.nameAttribute="cn"
host.ssl=B"false"
provider.name="***"
host.tls=B"false"
user.idAttribute="uid"
group.memberAttribute="uniquemember"

ExternalLoginModuleFactory 
jaas.controlFlag="SUFFICIENT"
jaas.ranking=I"50"
sync.handlerName="***"
jaas.realmName=""
idp.name="***"

DefaultSyncHandler
group.pathPrefix=""
group.expirationTime="1d"
user.membershipExpTime="1h"
user.pathPrefix=""
user.propertyMapping=["rep:email\=mail","rep:fullName\=cn","profile/email\=mail","profile/familyName\=sn","profile/givenName\=gn"]
handler.name="qaldapsync"
user.autoMembership=[""]
user.expirationTime="1h"
group.propertyMapping=["description\=description","rep:email\=mail","rep:fullname\=cn"]
user.membershipNestingDepth=I"0"
group.autoMembership=[""]

 

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

Hello,

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.

Thanks,

Ridder  

07:51 AM
Exclude Internet Explorer

Hello,

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,

Ivan

02:32 AM
Geolocation OOTB component

Hi,

 

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.

 

Thanks,

Nikunj

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.