Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

infinityskyline
Community profile infinityskyline Level 1
Job title here
Location here
2 BADGES
Level 1

Level 1

Learn more
Joined the community 01-12-2020 12:53:50 AM
Offline
Top badges earned by infinityskyline
Customize the badges you want to showcase on your profile
Stop retrying Workflow using java
Avatar
Validate 1
Level 1
infinityskyline
Level 1

Like

1 like

Total Posts

15 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
infinityskyline
- Adobe Experience Manager
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(message);}Is there a way to stop retrying once I throw a workflow exception? I have tried with terminateWorkflow but it doesn't seem to work.

Views

81

Like

1

Replies

2
Making a dialog field mandatory only when visible
Avatar
Validate 1
Level 1
infinityskyline
Level 1

Like

1 like

Total Posts

15 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
infinityskyline
- Adobe Experience Manager
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#:~:text=Add%20the%20a%20cq%2Ddialog,fields%20to%20show%20or%20hide. for the implementation and its working fine. Problem: I need to make these conditional items mandatory only when they are visible (i.e, o...

Views

140

Likes

0

Replies

3
Re: Audit log with extra information
Avatar
Validate 1
Level 1
infinityskyline
Level 1

Like

1 like

Total Posts

15 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
infinityskyline
- Adobe Experience Manager
@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?

Views

149

Likes

0

Replies

0
Re: Audit log with extra information
Avatar
Validate 1
Level 1
infinityskyline
Level 1

Like

1 like

Total Posts

15 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
infinityskyline
- Adobe Experience Manager
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.

Views

213

Likes

0

Replies

0
Re: Audit log with extra information
Avatar
Validate 1
Level 1
infinityskyline
Level 1

Like

1 like

Total Posts

15 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
infinityskyline
- Adobe Experience Manager
But this is to search audit log, which I am not bothered right now. I am bothered about the nature of log audit log has.

Views

247

Likes

0

Replies

0
Audit log with extra information
Avatar
Validate 1
Level 1
infinityskyline
Level 1

Like

1 like

Total Posts

15 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
infinityskyline
- Adobe Experience Manager
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 logs all the user activities but it 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 value...

Views

387

Likes

0

Replies

10
Re: AEM : Access to global values from dialog-clientlib
Avatar
Validate 1
Level 1
infinityskyline
Level 1

Like

1 like

Total Posts

15 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
infinityskyline
- Adobe Experience Manager
@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 is there so not able to access the DOM to which these values are attached.But it worked atlast.. There was some build problem, got it sorted. Thanks

Views

194

Likes

0

Replies

0
Re: AEM : Access to global values from dialog-clientlib
Avatar
Validate 1
Level 1
infinityskyline
Level 1

Like

1 like

Total Posts

15 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
infinityskyline
- Adobe Experience Manager
@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.

Views

210

Likes

0

Replies

0
AEM : Access to global values from dialog-clientlib
Avatar
Validate 1
Level 1
infinityskyline
Level 1

Like

1 like

Total Posts

15 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
infinityskyline
- Adobe Experience Manager
Currently, I am storing certain value as in data-attributes in customheaderlibs.htmland were reading these values byconst iframeContents = document.querySelector('iframe').contentWindow.document.body; const configElement = iframeContents.querySelector('div[data-score]'); This works fine for certain resolution of a screen. But in smaller viewport such as in iPad where cq dialog opens as a full screen and not as a dialog box, customheaderlibs.html seems to be absent from the DOM. Hence, these data...

Views

289

Likes

0

Replies

7
Re: AEM - Predicate to list only immediate children
Avatar
Validate 1
Level 1
infinityskyline
Level 1

Like

1 like

Total Posts

15 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
infinityskyline
- Adobe Experience Manager
@shelly I am getting "'Granite' is not defined"

Views

233

Likes

0

Replies

0
AEM - Predicate to list only immediate children
Avatar
Validate 1
Level 1
infinityskyline
Level 1

Like

1 like

Total Posts

15 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
infinityskyline
- Adobe Experience Manager
I am using aem-commons's contextualPathBrowser (similar to pathfiled component) with a predicate property. The java predicate class will evaluate the nodes and only return children pages(cq:Page) in the path picker for user to select from. Predicate class given below: @Component( service = Predicate.class, property = { "predicate.name=pagePathPredicate" } ) public class PagePathPredicate extends AbstractNodePredicate { @Override public boolean evaluate(final Node node) throws RepositoryException...

Views

299

Likes

0

Replies

3
Likes from