Explore product-specific spaces to ask questions, share insights, and learn best practices.
Recently active
We have created a feature that needs access to each asset's subassets. But our subassets are not showing up in publish. We do not have a publish option on the subassets folder. Treeactivation does not seem to be working either. And when we ran the subassets through the ActivationModel workflow, they each have an indicator that makes it appear as if they are published, yet they still do not show up in Publish - they all throw 404's. Is this a bug or is there a way to make subassets available on Publish?
If I duplicate an Event Forwarding property, what is actually copied?Are the extensions / extension configurations copied?including secrets / access tokensAre all rules and data elements copied? -Ty
Hi all,I'm having a weird issue when trying GraphQL query in my AEM application. In my query I want to filter with the brand which is a tag field. The URL according to AEM documentation need to be encoded:But when I encoded the url like this, it just return no item.localhost:4502/graphql/execute.json/contentfragment/get-central-content-list%3Busecase%3Dmyhighlights%3Bbrand%3Dauto%3Acaas%2Fmetadata%2Fbrand%2Fbmw When I only remove the encoding from the brand filter, then it works: localhost:4502/graphql/execute.json/contentfragment/get-central-content-list%3Busecase%3Dmyhighlights%3Bbrand%3Dauto:caas/metadata/brand/bmw I wonder why graphQl behaves like that, should the parameter value not be encoded? I'm using AEM 6.5Thank you
Hi Everyone, We constructed CF models and CFs using a headless architecture approach, delivering content to FE via GraphQL endpoints. Do we still adhere to the AEM project structure in this case? since we just utilized the dispatcher module.Please recommend recommended practices for maintaining the headless approach's code base. <!-- <module>all</module> <module>core</module> <module>ui.frontend</module> <module>ui.apps</module> <module>ui.apps.structure</module> <module>ui.config</module> <module>ui.content</module> <module>it.tests</module>--> <module>dispatcher</module> <!--<module>ui.tests</module>--> Thanks,Durga Kavali @ EstebanBustamante arunpatidardaniel-strmecki
Hi Experts,I got a website & I simply want to show an offer content [basically just a simple text msg] on it.AEP side I got offer & activity in well shape which I can execute via postman api call for certain profile. Everything just works fine.Challenge is on Launch side when event is getting sent while offer evaluation on home page, my decision received event gets trigger but I have no clue how can I retrieve offer contents via custom code. ?I found one , but its for web image & for web image it doesn't work unfortunately.event.decisions.forEach(function(payload) {payload.items.forEach(function(item) {console.log(">>>>> Offer Decisioning Web SDK Response", item);document.getElementById("brandhero").src=item.data.deliveryURL;});});I have no clue if my offer extraction is working well. NO way to verify/debug.
Hi, How I can write unit test case for sling servlet which have sql query code. I have tried to write unit test but that is not working kindly look below is the sling servlet code and unit test code share what's wrong I am doing# Servletimport java.io.IOException;import java.util.Iterator;import java.util.Objects;import javax.servlet.Servlet;import org.apache.sling.api.SlingHttpServletRequest;import org.apache.sling.api.SlingHttpServletResponse;import org.apache.sling.api.resource.Resource;import org.apache.sling.api.resource.ResourceResolver;import org.apache.sling.api.servlets.HttpConstants;import org.apache.sling.api.servlets.SlingAllMethodsServlet;import org.json.JSONArray;import org.json.JSONException;import org.json.JSONObject;import org.osgi.framework.Constants;import org.osgi.service.component.annotations.Component;import org.slf4j.Logger;import org.slf4j.LoggerFactory;import com.day.cq.wcm.api.Page;@8220494(service = Servlet.class, property = { Constants.SERVICE_DESC
Hi Community, Is it possible to update multiple fields in a single update activity? If so, how can it be done?
I got requirement that to filter un-used assets present in dam-> I have written servlet and triggered SQL-2 Query to fetch all assets from dam, I am getting the all dam assets. My Code to fetch the assets RowIterator rowIterator = queryResult.getRows(); while (rowIterator.hasNext()) { Row row = rowIterator.nextRow(); //Here i am getting all the DAM assets LOG.info("---assets--->"+row.toString()); Now i need to filter the assets that are not used in whole project.
Hi, We are using OOTB TeasersCacheServiceImpl to do personalisation in AEM 6.4.4.0. When we activate content we don't see variants updated on Publishers. The content get's replicated to Publishers, but the actual TeasersCacheServiceImpl that serves content to TargetedManagerImpl does not serve updated variants. We have verified and it's not due to Dispatcher. We are facing issues whereby, when we activate new content, com.day.cq.personalization.impl.TeasersCacheServiceImpl does not flush it's internalteaserCacheMap withinprotected Map<String, TeaserCache> teaserCacheMap = new HashMap(); public void handleChange(ResourceChange resourceChange) { //does not get invoked. The issue is consistent. Since it's in memory map, restarting server resolves the issue. But, we can't restart our Prod server time every we modify content. Unfortunately, API's to flush this map are not public and we can't invoke it from our code. Kindly advice if anyone has faced similar
Can someone advice me the way/commands to stop the workflow using the program/inbuilt API?
Have a client who has hundreds of campaigns and they want to be able to Disable ALL of them easily, and then only turn on a handful during particular weather events. Can anyone help. We thought maybe we could reset a value in a table using a Stored Proc - want to make sure it is the right table (first of all). I have heard discussions about writing a custom Technical Workflow to do this but I never knew how that ended.
Hello everyone,I’ve searched the forum for solutions but haven’t found anything, so I’m taking the liberty of asking the question in case someone else has experienced this. I have workflows that fail randomly on various activities. It can range from a simple query to a basic exclusion activity without any technical parameters.In short, my workflows can fail at any time and at any activity. The problem is that I don’t get any error messages in the logs, so I don’t know how to proceed. I have already restarted the entire instance and all the services to no avail.No network issues detected. Do you have any suggestions I could explore?We’re planning to perform a PostgreSQL update today, but I doubt it will resolve the issue. This issue affects all the workflows in my marketing instance.
Hi team,I would like to remove the test profile metrics from the reporting dashboard. For example, before launching the journey, I tested some audience segments (test audience) outside of test mode. Now, I want to exclude all metrics related to these test profiles, such as opens, clicks, etc. Is it possible to exclude test profiles by setting a specific date range or applying any condition to filter out these profiles? Alternatively, can I exclude specific segments from the reports?Note: Those all the profile was test profile
<sly data-sly-use.product="**.**.**.**.**.models.product"> <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "Product", "name": "${product.name }", <sly data-sly-test="${product.getReviewSummary != 0 && product.getReviewCount != 0}"> "aggregateRating": { "ratingValue": "${product.getReviewSummary }", "reviewCount": "${product.getReviewCount }" }</sly> } </script></sly> output:<script type="application/ld+json"> {"@context": "http://schema.org","@type": "Product","name": "jean",<sly data-sly-test="">"aggregateRating": {"ratingValue": "4.0","reviewCount": "2"}</sly>}</script>issue is in output <sly data-sly-test=""> tag is getting in json how to avoid it.
I'm trying to set up Conversion Lead campaigns for our company, but the issue is we can't seem to connect the conversion back to Facebook. We confirmed that Marketo is tracking the LeadID that Facebook creates when a lead is submitted, but we don't know how to have that push back to Facebook when they become a sale. When searching for Marketo within the partner section of Facebook's setup process, it directs you to LeadsBridge. We also saw that Zapier is something that we could potentially use. (Both Shown Below)Has anyone had experience setting this feedback loop up for Facebook and know how to make it work? Any advice is very much appreciated! Thank you so much for your time.
For one whole day, I have read and re-read and browsed through the links given in the community and posting this partly becuase I am unclear and partly because some links posted are irrelevant Q1) Why does my definition of New Visitor will NOTgive correct numbers when I try to get New Visitors for any date range, lets say, last week, last day, Jan 5 to Feb 10 etc. Please refer the screenshot for discrepency in numbers and also for my segment definition of New Visitor Q2) What would be the correct definition of the segment New Visitors and why ?
I have method with arguments in Sling model. while calling that method from HTL facing below issue in Log for passing parameters. please advise SlingRequestProcessorImpl service: Uncaught SlingExceptionorg.apache.sling.scripting.sightly.SightlyException: org.apache.sling.api.SlingException: Cannot get DefaultSlingScript: org.apache.sling.scripting.sightly.SightlyException: org.apache.sling.api.scripting.ScriptEvaluationException: ${cfmGenModel.createContentFragment @ '//content//dam//my-cfm', 'popup-fragment', '//conf//consumer-bau//settings//dam//cfm//models//bau-model-popup'}: mismatched input ''//content//dam//my-cfm'' expecting ID in /apps/mysite/components/excelCFM/excelCFM.html at line number 9 at column number 59 Sling Model Method:public void createContentFragment(String parentPath, String fragmentName, String modelPath) {} HTL Method Call:<div data-sly-use.cfmGenModel="com.myproject.core.models.CFMImporter"><div data-sly-call="${cfmGenModel.create
Hi, I am looking for help on showing the segments selected in the Segment as table columns via the Power BI Adobe Analytics connector. When I checked Segment Dimension, it gives an error saying: Thanks!Lu
Hi. I just want to know how to pull a report that shows all the pages on my site that link to one specific page, in order to update the links when the URL changes. Someone told me there's a way to do it automatically, but in my experience that has never worked. thanks, t
I have attached screenshots from a report I have modified.I am wanting to check that two dates match on these Issues, namely the Planned Completion Date and a date in one of our Custom Fields 'Flutter Creative - Due Date'. This needs to match for Issues in either 'New' or 'In Progress'.Is someone able to help me with the Text Mode for this as the Standard Mode looks exactly as I need but the Report is unable to pull any results. Thanks so much in advance.
Hello All,I am hoping someone can help with my query.I have a project level report that I want to show who is assigned to the current task.I have managed to show the name of the current task as a column but I am struggling to find the code to show who is assigned to that task.I am hoping someone might have the code to show this?Thank you in advance.
Hello!I want to be able to change automatically typology based on a field that we have in the delivery template (for example Delivery code = XXX) so that when choosing delivery code (we have a customized delivery code) from a dropdown menu the typology is also switched automatically.Here can you find some screenshots:When changing for example this DIalog field to ONEOFF: Then the typology would adjust with a customised one that we have created.Is it possible to do it and how do I proceed? Should I build the logic in the input form of delivery?Thanks in advance
Dear community, We're using 6.5.9 with aem project archetype 35. As I published pages with image component, the page layout and assets in the component did replicate to DAM on publish instance, but the src of image cut the "content/{project_name}" in URL, so the image cannot find the src. I tried other demo site on instance (weretail, wknd), there is no problem on publishing image component. I also checked this thread on community: Images are not loading in publish instance and modified/deleted org.apache.sling.jcr.resource.internal.JcrResourceResolverFactoryImpl.cfg.json on 4503 instance. But it did't work and crashed the url of the page on publish. I know on publish or dispatcher, the website hides the folder of assets with rewrite rules, but the default setting should not crash the src. Can anyone help me with this issue? Thanks! img on author: img on publish:
I'm trying to run a report to see deleted documents on a project. I can see in the system updates where is says "User X deleted document A" with a date and time stamp. However, when I run the journal entry report I can't seem to get the name of the document to appear only that a document was deleted. What am I missing? Can this be done?
I'm currrently building a table that breaks down Page Name dimension (custom) in a segment. The Visits metrics works fine, but when I add Bounce rate, a bunch of extra rows that are not included in the segment with value 0 are added to the table. Does anyone know why?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.