Explore product-specific spaces to ask questions, share insights, and learn best practices.
Recently active
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?
I want to create a column in a task level report that shows the last note on a document that is in the document section of the task. However, I need the note to display with a reference to who posted the note and which document it is associated with (we usually have multiple documents in each task). Any advice is appreciated.
I am looking at a list of projects and we need to exclude any that might have certain roles (e.g. "Email Role", or "Creative Role"). I am needing to create multiple views to allow teams to stack filters to identify which projects do not contain these specific compounded roles; results of projects would be any that included any number of different roles, just not the ones that were wanting to be excluded. Sample: I want to create a view that does not bring these 2 projects in if they include this "web" team (and ultimately ability to stack to not include if specific teams are selected) I tried to add a view where the project roleIDs does not equal and this only works if the only role in a project was for this web team. I tried using text mode by adjusting the logic to something like the following where I was trying to show the list of projects if where this specific roleID(s) are not listed and had the same results where it
Hi, The requirement my client wants is that they want to achieve an Internal Portal for banking industry employee to use (Employee at each branch) to use. The function of this Portal is to see Customer Interaction history with the banks, in terms of communications, portfolio, insurance held and other relations with the banks to each specific customer. I would like to know which solution is the best solution. The client wants to use AEM and RTCDP. The proposed solution they want is that:1. Use AEM to pull data from RTCDP to display the customer information, interaction history etc.2. Use AEM to feed data into RTCDP. Then use RTCDP to view the customer information, interaction history etc. Please suggest which solution is the best practices. If there are any other solution that are better, please talk me through it. If you need any more information about this use cases, please let me know Thank you Sching
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.