since ‎04-01-2016
‎10-12-2019
sandeepk7656774
Level 3
Content Fragments Models - Manage via workflow vs code package
Avatar

sandeepk7656774

sandeepk7656774
- Adobe Experience Manager
Hi All,As part of headless capability, AEM provides Content Fragment Models. We can directly send Content Fragment Models from author to publish instances via workflow, or we could deploy as a code package (which builds crx package based on maven build)Wanted to check, what is standard practice followed for managing content fragment models. Please share your experiences.Thanks,Sandeep

Views

590

Likes

0

Replies

0
Query Builder OOTB Servlet multiple paths and properties
Avatar

sandeepk7656774

sandeepk7656774
- Adobe Experience Manager
Hi All,I am able to search with in a path for multiple properties with OR condition group predicate (Search with path if prop1 or prop2 exists)http://localhost:4502/bin/querybuilder.json?path=/content/app/path&group.p.or=true&group.1_property=color&group.1_property.operation=exists&group.2_property=font&group.2_property.operation=exists&p.hits=full&p.limit=-1But the correct syntax is not known for multiple paths and properties (Search with path1 or path2 if prop1 or prop2 exists). Reference docu...

Views

1.2K

Like

1

Replies

2
Content Fragment Models - Customization and Intelligence
Avatar

sandeepk7656774

sandeepk7656774
- Adobe Experience Manager
We have Content Fragment Models which are used to create content. This then is exposed as JSON to UI layer. Some Models are shared across many components. We have some fields which are text-fields (though those are not Content Author friendly), we plan to change them to dropdown. But as model is shared across many components, it would be required to have all the values as part of dropdown.We were looking for setting default value based on component, restrict number of values based on components....

Views

807

Like

1

Replies

1
Content Fragment Models - Enumeration Type Display Name
Avatar

sandeepk7656774

sandeepk7656774
- Adobe Experience Manager
Content Fragment Model editor has different types of Data Types. Enumeration is one of the type. This just gives one option to provide options via comma separated values. Same value is used as "Display" and "Value" of the drop down.Is there a way to supply both display, value separately for Enumeration data type? This can help content authors provide better values.Thanks,Sandeep

Views

642

Likes

0

Replies

1
JSESSIONID cookie generation, security
Avatar

sandeepk7656774

sandeepk7656774
- Adobe Experience Manager
We have AEM deployed on JBoss server. Referring to existing forum links we got information that every JSP script should have following directive to avoid JSESSIONID cookie generation<%@page session="false">I was able to reproduce this behavior on a local non-server based AEM installation on geometrixx sample site (where removing above directive from jsp generated JSESSIONID cookie, adding didn't generate).But on our application on AEM running on JBoss, we had a template with sightly, not includi...

Views

1.4K

Like

1

Replies

3
AEM POST servlet vs separate service layer
Avatar

sandeepk7656774

sandeepk7656774
- Adobe Experience Manager
Hi All,We were determining using AEM POST Servlet vs a separate service layer outside AEM. We know that POST requests to AEM would not be cached at dispatcher and would load AEM server. And here at our organization AEM server is used mainly from content perspective, things are cached at dispatcher and CDN, lowering number of hits to AEM server.If you have done similar evaluation or have some observations regarding AEM POST servlets vs a seperate service layer. Please share your inputs.Regards,Sa...

Views

543

Likes

0

Replies

0
Re: Correct way to read OSGi configuration
Avatar

sandeepk7656774

sandeepk7656774
- Adobe Experience Manager
Thanks Arun, this example is nice, but uses ConfigurationAdmin API. I was looking for example using R6 annotations way of reading OSGi configuration.Regards,Sandeep

Views

2.1K

Likes

0

Replies

0
Re: Correct way to read OSGi configuration
Avatar

sandeepk7656774

sandeepk7656774
- Adobe Experience Manager
Thanks smacdonald2008​. Is there a way to read non-custom OSGi configuration e.g. Day CQ Mail Service etc in our code? Using ConfigurationAdmin we could directly get configurationconfigurationAdmin.getConfiguration("PID of OOTB config");Annotations seem to be working fine for custom application specific configuration (we have custom sling:Osgi config and corresponding java class), but for OOTB configurations there is already a mapping Java class in OOTB bundle, but not sure how we can use in cus...

Views

2.1K

Likes

0

Replies

0
Correct way to read OSGi configuration
Avatar

sandeepk7656774

sandeepk7656774
- Adobe Experience Manager
Hi All,It looks like there are 2 ways to read OSGi configurationsConfigurationAdmin API way (Apache Felix - Apache Felix Configuration Admin Service)By using Service, Implementation and ConfigurationPolicy annotation (Reading OSGi Configuration Values for Adobe Experience Manager 6.3)Which one is correct way? What are advantages of one over another?Regards,Sandeep

Views

4.2K

Like

1

Replies

6
Re: Sling Model Exporters - Override node name
Avatar

sandeepk7656774

sandeepk7656774
- Adobe Experience Manager
Thanks JörgIt seems the AEM Core Components has Page Model implementation. This has a methodprivate Map getChildModels(@Nonnull SlingHttpServletRequest slingRequest, @Nonnull Class modelClass) { Map itemWrappers = new LinkedHashMap<>(); for (final Resource child : slingModelFilter.filterChildResources(request.getResource().getChildren())) { itemWrappers.put(child.getName(), modelFactory.getModelFromWrappedRequest(slingRequest, child, modelClass)); } return itemWrappers;}We can tweak this to cha...

Views

830

Likes

0

Replies

0
Sling Model Exporters - Override node name
Avatar

sandeepk7656774

sandeepk7656774
- Adobe Experience Manager
Hi All,We are trying to determine if there is a way to override the node name while exposing the model JSON. The properties for JSON can be controlled by exporter but not the node name itself. For example following is page structurepage jcr:content parsys component (node has its properties) component_xxx (node has its properties) component_yyy (node has its properties)Component has its exporter implemented. Now when we try to get data as page.model.json we get the node names in response as compo...

Views

1.3K

Likes

0

Replies

3
Re: Show experience only once
Avatar

sandeepk7656774

sandeepk7656774
- Adobe Target
Thanks @snaomi0705. This is working fine when we are associating condition with goal metric (Once goal metric is achieved for that user, user not shown that activity at all again).I think for just view of experience without attaching goal metric there is no OOTB way to show experience once per user. There is an option to add metric as "Viewed an mbox" but our activity is associated with Global Mbox (Can't use that as there are many activities associated with global mbox, if it was a custom mbox,...

Views

800

Likes

0

Replies

0
Show experience only once
Avatar

sandeepk7656774

sandeepk7656774
- Adobe Target
Hi All,We have a scenario, where we want to show experience only once to user, until and unless user cleared all cookies etc. One way to handle this is manually through code, by storing a flag in localStorage or something like that and then suppressing experience (By writing custom code). Is there a way to configure this using OOTB configurations?Regards,Sandeep

Views

1.1K

Like

1

Replies

2
Re: AEM project archetype use of it.launcher and it.tests in project structure
Avatar

sandeepk7656774

sandeepk7656774
- Adobe Experience Manager
Hello smacdonald2008​,Thank you for your response. The way you shared is one way to test the Model classes (inside core folder). it.launcher and it.tests folders are still not clear, what is the use in project structure and when they are run.Regards,Sandeep

Views

1.5K

Likes

0

Replies

1
AEM project archetype use of it.launcher and it.tests in project structure
Avatar

sandeepk7656774

sandeepk7656774
- Adobe Experience Manager
As per reference link, it.launcher and it.tests are related to server side unit tests. When we are running maven command (mvn clean install -PautoInstallPackage), it just runs the jUnit tests inside core bundle. I tried to search for logs of AEM, don't find any of log statements from server side unit tests in logs. What is the use of it.launcher and it.tests folders and when are these tests run on server (Do we need to have some extra configuration for these), these don't seem to be running whil...

Views

2.0K

Like

1

Replies

3
Re: we-retail-journal sample implementation package
Avatar

sandeepk7656774

sandeepk7656774
- Adobe Experience Manager
Got information from Github repo (we-retail-journel reference package · Issue #9 · Adobe-Marketing-Cloud/Summit2018 · GitHub ). The package is not public yet. We would have to wait till June/July for Adobe to release this it seems.

Views

753

Likes

0

Replies

0
we-retail-journal sample implementation package
Avatar

sandeepk7656774

sandeepk7656774
- Adobe Experience Manager
I was trying to follow the deep dive tutorial reference, I was trying to see where is we-retail-journal package. Can't find it in search. I think the demo shows how we are able to edit React Application within AEM. If there is a place where we can download the package from, please share.Thanks,Sandeep

Views

1.3K

Likes

0

Replies

2
SPA Editor in AEM 6.4
Avatar

sandeepk7656774

sandeepk7656774
- Adobe Experience Manager
In Adobe Customer Success meeting and New Capabilities link, there is talk of Single Page Application Editor. During the Adobe Customer Success AEM 6.4 preview meeting, we couldn't get the answer to the questions related to SPA Editor. We were advised to post questions to helpx forum.Discussion points areDoes SPA editor supports editing content for a multi route application? (In AEM 6.4 preview meeting a page was shown but multiple page routing was not shown)Where can we get the sample applicati...

Views

1.3K

Likes

2

Replies

0
Re: Querybuilder vs Traversal for a certain path
Avatar

sandeepk7656774

sandeepk7656774
- Adobe Experience Manager
Thanks smacdonald2008 for response.Is there a recommendation for the limit that Adobe recommends e.g. upto 500 nodes Traversal is better, more than that use indexes and queries.

Views

1.2K

Likes

0

Replies

1
Querybuilder vs Traversal for a certain path
Avatar

sandeepk7656774

sandeepk7656774
- Adobe Experience Manager
Based on best practices​ following is a quote from the reference linkIn case of scenario where we have a definite path to lookup (e.g. /content/geometrixx/home/, under home say we have 500 pages). We can follow following approachesQuery builder with path parameter is going to look up only that path (e.g. http://localhost:4502/bin/querybuilder.json?p.hits=full&property=jcr%3atitle&property.value=Triangle&path=/content/geometrixx/home). This can provide additional features like orderBy and conditi...

Views

1.4K

Like

1

Replies

3
Tags functionality use on publish instance
Avatar

sandeepk7656774

sandeepk7656774
- Adobe Experience Manager
As per the reference documentation on tags, the tags should be activated on publish instance. I just did some quick tests to understand more on thisAssign tag to DAM Asset, Activate asset (Not pop-up shown to user to activate tags). But publish instance metadata node has "cq:tags" property with required value)Assign tag to Page, Activate asset (Pop-up shown to user to activate rags). But publish instance has jcr:content node of page updated with "cq:tags" property.The tags are not present on pub...

Views

750

Like

1

Replies

1
Re: JSON Exporter not working on contentfragment
Avatar

sandeepk7656774

sandeepk7656774
- Adobe Experience Manager
It seems the screenshots in documentation have been given from we.retail sandbox component. The documentation doesn't mentions about the sandbox content fragment component. After installing we.retail sandbox component the model selector is working fine. Not sure why "General" Content Fragment components don't work with "model" selector. May be the model exporter functionality is not implemented for those yet.

Views

932

Likes

0

Replies

0
Re: Structured content fragment use in main page
Avatar

sandeepk7656774

sandeepk7656774
- Adobe Experience Manager
It seems the screenshots in documentation have been given from we.retail sandbox component. The documentation doesn't mentions about the sandbox content fragment component. After installing we.retail sandbox component the dialog is coming as shown in documentation.

Views

712

Likes

0

Replies

0
JSON Exporter not working on contentfragment
Avatar

sandeepk7656774

sandeepk7656774
- Adobe Experience Manager
Hi All,Trying to follow the JSON exporter documentation, but model selector is not working on content fragment.http://localhost:4502/content/we-retail/us/en/experience/arctic-surfing-in-lofoten.model.json (This is working fine), but if we try to access the URL till content fragment node, that is giving error. This URLhttp://localhost:4502/content/we-retail/us/en/experience/arctic-surfing-in-lofoten/jcr:content/root/responsivegrid/content_fragment.model.json gives following errorInvalid recursion...

Views

1.5K

Likes

0

Replies

1
Structured content fragment use in main page
Avatar

sandeepk7656774

sandeepk7656774
- Adobe Experience Manager
This reference link explains about the use of Structured content in pages. The reference documentation gives following screenshot for using Content Fragment and mentions "Add any Elements to be displayed or leave empty to show all elements."But when we are checking on WCM Core components ver 1.1.0 on local we see following (its not allowing to select multiple elements)Is this an issue with documentation or configuration?Thanks,Sandeep

Views

801

Likes

0

Replies

1
Re: Content as a service vs Sling Model Exporters vs others for exposing JSON from AEM
Avatar

sandeepk7656774

sandeepk7656774
- Adobe Experience Manager
Seems like the Caas feature is overridden by Sling Model Exporter. Below is the quote from reference link Adobe is probably trying to reuse feature provided by Sling instead of reinventing the wheel, also focusing on providing headless capabilities to cater to different channels/type of apps. I guess the future would be headless capabilities to support SPA etc.

Views

1.3K

Like

1

Replies

0
Re: ContextHub APIs vs localStorage API for manipulation
Avatar

sandeepk7656774

sandeepk7656774
- Adobe Experience Manager
Yes edubey​It doesn't seems to be working for 6.3 We Retail. I just double checked in 6.1, 6.2 Geomatrixx outdoors website, its working there. Thanks,Sandeep

Views

1.3K

Likes

0

Replies

0
Re: ContextHub APIs vs localStorage API for manipulation
Avatar

sandeepk7656774

sandeepk7656774
- Adobe Experience Manager
There are listeners which are attached to Client Context or Context Hub APIs which are triggered when we use these APIs. This will not happen in case of localStorage APIs.

Views

1.3K

Likes

0

Replies

0
Content as a service vs Sling Model Exporters vs others for exposing JSON from AEM
Avatar

sandeepk7656774

sandeepk7656774
- Adobe Experience Manager
Hi All,There can be many ways to expose content from AEM as JSONManipulate/filter infinity.json to provide required JSONWrite a custom servlet, which reads JCR and exposes required JSONContent as a service - new feature being provided in AEM 6.3. There doesn't seems to b much official (Develop/Administer/Author) documentation on this. Is there a role of Content Fragments and Experience Fragments (not sure of difference between 2 yet)Sling Model Exporters - Provided by Sling.Any other?Has anyone ...

Views

2.4K

Like

1

Replies

2
Single Page Application in AEM
Avatar

sandeepk7656774

sandeepk7656774
- Adobe Experience Manager
Hi All,Official documentation has a link, talking about Single Page Applications. This reference talks about Angular 1.x integration. This explains that for each route change controller can pull in template partial from server. This takes care of multi-page routing also.Now with new SPA frameworks in market - Angular4, ReactJS, VueJS etc, how do SPA fits in AEM. AEM traditionally has a separate content pages. Few points to discuss, if someone has any inputs, experience on these, please shareHow ...

Views

1.1K

Likes

0

Replies

0