Hi,I have a custom workflow which I don't want to be retried if fails.if (schemaErrors.size() > 0) { // session.terminateWorkflow(item.getWorkflow()); String message = LOG.log(Messages.EXCEPTION_RUNNING_UPGRADE_WORKFLOW); throw new WorkflowException(messa...
Hi,I have a drop down with 4 options (a, b, c, d). Upon selection of option b, I show certain fields and hide these fields when rest 3 options are selected. I followed https://levelup.gitconnected.com/aem-conditionally-show-or-hide-fields-in-touchui-dialogs-with-coral-3-ie-aem-6-3-bfd48c261012#:~:te...
@Sanket_Kumbharkhane I have created eventlistener class to achieve event handling at the JCR level. Everything is working as given in the example. But how can I achieve value of the property on PROPERTY_CHANGED or PROPERTY_ADDED event?
Yes true, but audit log doesn't log what content changes has been made. For example, if value of a property is changed from "Hello World" to "Hello Earth" I want to log both old and new values, if not both at least the new value. I am trying out other suggestions.
My project has requirement to log all user activities.. i.e., what all is happening in the environment and by whom. I have enabled audit logging feature in AEM by going to http://localhost:4502/system/console/slinglog -> change the log level of logs/audit.log to DEBUG. This solves my purpose and lo...
@BrianKasingliyes I did create a servlet with "sling.servlet.paths=" + "/bin/mycustomservlet" . And your second opinion is something which I was doing previously but unfortunately for a certain resolution when a cq dialog open full screen page content is not there in the DOM and just the dialog html...
@BrianKasinglihttp://localhost:4502/bin/mycustomservlet?_=1610179346273 is not accessible throwing 404. Checked config manager /bin/ is there in the execution path. But the servlet is not present in the project bundle.
Currently, I am storing certain value as in data-attributes in customheaderlibs.html<div data-sly-use.myjava="MyJava"
data-score="${myjava.getScore}"
data-team="${myjava.getTeam}"></div>and were reading these values byconst iframeContents = document.querySelector('iframe').contentWindow.do...