Explore product-specific spaces to ask questions, share insights, and learn best practices.
Recently active
New to AEM. I am sure this is trivial but would appreciate if you can explain how to fix and why does this happen. I renamed my quickstart jar to aem-author-p4502.jar and double click. Get this error on browserUnable to compile class for JSP: An error occurred at line: 95 in the jsp file: /libs/granite/core/components/login/login.jsp The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files 92: ? request.getParameter(PARAM_NAME_REASON) 93: : ""; 94: 95: if (!StringUtils.isEmpty(reason)) { 96: if (validReasons.containsKey(reason)) { 97: reason = validReasons.get(reason); 98: } else { An error occurred at line: 95 in the jsp file: /libs/granite/core/components/login/login.jsp The method isEmpty(CharSequence) in the type StringUtils is not applicable for the arguments (String) 92: ? request.getParameter(PARAM_NAME_REASON) 93: : ""; 94: 95: if (!StringUtils.isEmpty(reason)) { 96: if (validReasons.containsKey(reason)) { 97: reason = validReas
You can download the release on the partner portal, here HomeThere are also new videos available on http://www.adobesolutionpartnertraining.com that highlight the new functionality.
Here is a useful servlet following best practices to take a file from a client application and write it to the JCR. We follow best practices using the LoginService. Also, do not forget to set the Apache Sling User Mapper service to the appropriate user (for testing on a local instance, use admin). If you are using Archetype 10, the only additional dependency in Maven you need to add is:<dependency> <groupId>commons-fileupload</groupId> <artifactId>commons-fileupload</artifactId> <version>1.2</version></dependency>Thanks to Scott MacDonald, AEM Community Manager at Adobe, for the huge majority of this code. Code: //import java.io.BufferedReader;import java.io.IOException;import java.io.InputStream;import java.rmi.ServerException;import java.util.Calendar; import org.apache.felix.scr.annotations.Property;import org.apache.felix.scr.annotations.Reference;import org.apache.felix.scr.annotations.sling.SlingServlet;import org.apache.sling.a
I was given the following link but am unable to download.https://docs.adobe.com/docs/en/cq/5-6/getting_started/download_and_startworking.html
Is there a way to set jcr:createdBy property value while creating page programatically?
You need to have: org.apache.sling.models.api.1-1.0.jar installed in the OSGI console, system/console/bundles. Before doing extensive troubleshooting, be sure this bundle is installed. The error might look something like this:Failed installing bundle : Unable to install/update bundle from dir C:\Users : Unresolved constraint in bundle com.adobe.training.dc.core [393]: Unable to resolve 393.0: missing requirement [393.0] osgi.wiring.package; (&(osgi.wiring.package=org.apache.sling.models.annotations)(version>=1.1.0)(!(version>=2.0.0)))Unable to install/update bundle from dir C:\Users: Unresolved constraint in bundle com.adobe.training.dc.core [393]: Unable to resolve 393.0: missing requirement [393.0] osgi.wiring.package; (&(osgi.wiring.package=org.apache.sling.models.annotations)(version>=1.1.0)(!(version>=2.0.0)))
This error may occur when you run AEM 6.0 with Java 8. Java version 8, is not supported with AEM 6.0 until you install the service pack. If you are having that problem, install the service pack. You can follow these steps: Download the most recent Service Pack (SP2) from package share or from our dropbox folder: https://www.dropbox.com/s/h1dwxyxcvsw4dag/ServicePack2.zip?dl=0Once downloaded, go to the folder where you installed AEM initially, and delete all the contents in the crx-quickstart folder (you will be running a fresh install) so you will now have an empty crx-quickstart folder.In the crx-quickstart folder, create a new folder called install and copy the service pack that you downloaded to that folder.The structure should now be: crx-quickstart > install > ServicePack2.zipStart AEM by double clicking the AEM quickstart jar, and when it starts, it will find the install folder and also install the Service Pack.
Hi I want to create a french language copy of an English page but i am not able to see the more language names apart from "English " or English+" any idea how can i add more languages to the create language copy dialog drop down as shown in attached image
I am looking to get hands on AEM but there is no trial version available on Adobe website. Could anyone please help me with that.thanksHL
I am working on custom form action.So far I am able to achieve the following points.1. Added Custom Form Action.2. Overlap Forward.jsp page.3. From Forward.jsp able to successfully route to Custom SlingServlet.4. In Custom Sling Servlet I have the following requirement. a. Get all request parameters b. Send the request to third part application by using HttpClient c. On response equals to 200 rout the servlet to Thank you page.Right now I have 2 issues.1. In HttpClient I am able to pass the request data if I hard code the value , but if I try to submit it by dynamically populated to NameValuePare Array even though values are there it is not getting processed.2. Once I have response as 200 I am not able to route the servlet to "Thank you page" , but getting the following exception.-----------------------------------------------SlingServlet Code.-----------------------------------------------@Override protected void doPost(SlingHttpServletRequest request, SlingHttpServletRe
Hi All, I am creating asset in AEM as cloud service using assetManager.createAsset() method but, I got to know this was deprecated. Do we have any alternate Java API to use instead?
Hey guys, I am trying to use this custom video block from aem assets plugin.https://github.com/adobe-rnd/aem-assets-plugin/tree/main/blocks/videoThe preview for these blocks are here: https://main--assets-blocks--hlxsites.aem.live/video-block-demoHowever, when trying to run them on my local EDS project, I am not seeing the same functionality. This is most likely due to the fact that I don't have AEM Assets and Dynamic Media OpenAPI. Now, I need to build custom video heroes, with custom icons and overlay text blocks, with Youtube hosted videos. Currently I am using the standard Video block, but are there any other solutions or blocks I can use without any additional licenses? Thanks
My client is interested in understanding who is assigned to specific roles within a project, but within a project report. See an example below: Project NameDesigner AssignedWriter AssignedEditor Assigned2024 Adobe Summit CreativeJoe SmithWanda WhitmoreMike McGovern The two options I presented was to query the list of project team members and populate the cell with users on the project with job roles that match the column OR query the nested task list for specific tasks assigned to that job role and pull the assignments in those columns. Both comes with their own collection of benefits and drawbacks. How have you achieved this for your own reporting needs?
Hello, I'm triying to identify why we have more uuids for each client id on iOs than android. iOs has the operative that when an app is unused it proceed to unistall the app and allows you to install again if you has to use i. This behaviour can affect the numer of unique visitors id we have on tha app, more on android thna iOs?
Hey! Just want to get a sanity check on something. Let's say I created a trigger campaign that looks for someone who fills out a form and that their Food Preference is Apples. So if Fills out Form A and Food Preference is Apples Do this But prior to the form fill their Food Preference is set as Oranges. Am I correct in thinking that when they fill out Form A and their food preferences are updated to Apples, that the first trigger will happen? Wanted to confirm if the trigger campaign is looking at the value of the Food Preference at the time of the form fill or after.
Hi folks. trying different options to see how often a project timeline is edited, see that i can pull a baseline report which DOES have a record count, when you group it by Project name. BUTTTTT I cannot figure out how to make a report that Groups by this count!?SO it would put all the projects with 5 baseline edits together, all those with 4 together, etc etc. Think i need a calculated field, but it doesnt look like baselines can do anything. Any suggestions?!
Hi folks, i want to put a report together on tasks that have their due dates changed. I want to show, what tasks are being changed, how many times they are changed, and the duration of the tasks. Ideally i would like to be able to compare directly against the template that the project was set up with. To pinpoint where in projects we are constantly pushing a tasks due date. thanks all!
I see this message com.adobe.media.analytics' is not enabled on current event (conditions not met) when implementing straeming media with web sdkI am able to sent dimensions like content lenght, content name, but I see no content start or media start even though I set them up as true in my schema.I see this message in the stream: 'com.adobe.media.analytics' however i see data in analytics. but not all of it. is it something related of how I am sending the event? I have enabled the datastream with media analytics. The report suite is enabled too for media. I can see the data in the console using the media.play.I have a session started.And I see no data I am using send event as play instead of using send media event. could that be the issue?
HiIs there any AEM supportive puzzle captcha available
If I have a segment that filters for group A and I want to compare A with ~A, do I have to define ~A as a new segment, or is there a better way?For example, if all my traffic comes from two sources, do I need to create two segments to compare them separately, or can I just make one and use some sort of NOT operator
Hi, Using AEM as a cloud. Setting cookie in servlet response object. Cookie is not available in dispatcher. Any Dispatcher level config do i need to do. Thanks.
Hi Team, I am new to AEM, we have installed AEM cloud in our local machine and try to create a project using Mavan, After created that project that its not active in system bundles section. I shows installed status. After see the details of the bundles, its shows "com.day.cq.wcm.api,version=[1.31,2) -- Cannot be resolved". we try to add below dependency in pom.xml and re-build but still we face same issue: <dependency> <groupId>com.day.cq</groupId> <artifactId>cq-wcm-api</artifactId> <version>1.31.0</version> <scope>provided</scope> </dependency> Pls suggest what was we missing to build the project. Thanks in advance Build Command: mvn -B org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate \ -D archetypeGroupId=com.adobe.aem \ -D archetypeArtifactId=aem-project-archetype \ -D archetypeVersion=39 \ -D appTitle="RK Sites Project" \ -D appId="rkaem
Is it possible to change the main image on the website so that you show different images when the customer comes to the website? Toegang creëren met deuren van ASSA ABLOY (assaabloyentrance.com) This is the picture i'm talking about.
Hi Everyone, I have one requirement, whenever user login or lands aem start page in aem 6.5 environment after that aem inbox notification automatically should expand. I have written a custom script but I don't know where to place this since these are all granite and coral related functionalities. Script:document.addEventListener('DOMContentLoaded', function() {if (window.location.pathname === '/aem/start.html') {var aemInboxNotification = document.querySelector('.granite-shell-badge');if (aemInboxNotification) {aemInboxNotification.click();}}}) Can anyone help me on this? Thanks in advance!
what is difference between adaptables and adapters in aem
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.