since ‎18-08-2014
‎10-12-2019
Alukardo
Level 1
Re: AEM 6.3: Custom sling model injector, InjectionStrategy.OPTIONAL not working
Avatar

Alukardo

Alukardo
- Adobe Experience Manager
Hi, Jdruwe​.The problem is @Component definition of your InheritedValueMapValueInjector. It should be registered for both interfaces - Injector and StaticInjectAnnotationProcessorFactory. For this, either remove "service" property from @Component (so it will automatically take all the implemented interfaces), either specify both of them.

Views

1.1K

Like

1

Replies

0
Re: Workflow list restriction per path
Avatar

Alukardo

Alukardo
- Adobe Experience Manager
Thank you edubey and bsloki, I, actually, already investigated this option. However, it seems to be not really good solution, because customising of default scripts will lead to issues during installing hotfixes from Adobe and/or upgrading to new versions.But if it is the only way - we should live with it. Thank you. bsloki wrote... As of now it lists all the workflow based on the Logged in User's ACL and it allows Users to start the workflow accordingly. so as @edubey mentioned, you might have ...

Views

166

Likes

0

Replies

0
Re: Workflow list restriction per path
Avatar

Alukardo

Alukardo
- Adobe Experience Manager
So,edubey, you mean, there is no way to inject (without modifying AEM's code) something like predicate, to filter available workflows for current (or all selected) pages, using, lets say, template of this(these) pages?edubey wrote... If you do not wish to go for ACLs, then another solution would can be override AEM default behavior, Take a look at this file [1] (w.r.t AEM 5.6.1), in line no. 740 you would see CQ.wcm.SiteAdmin.startWorkflow. This defines the workflow dialog and list. Override thi...

Views

173

Likes

0

Replies

0
Re: Problem with default settings for comments component.
Avatar

Alukardo

Alukardo
- Adobe Experience Manager
One more update: it looks like it save new comemnt into the comments node uder my page instead of /content/usergenerated. The link for POST request looks like -"http://localhost:4702/content/path/to/page/_jcr_content/comments-section-par/comments.social.createcomment.html". I checked the same link in geometrix-media - "http://localhost:4702/content/geometrixx-media/en/events/andrew-novokov/_jcr_content/article-content-par/comments.social.createcomment.html" so they looks just the same, but compo...

Views

317

Likes

0

Replies

0
Re: Problem with default settings for comments component.
Avatar

Alukardo

Alukardo
- Adobe Experience Manager
One more update: it looks like it save new comemnt into the comments node uder my page instead of /content/usergenerated. The link for POST request looks like -"http://localhost:4702/content/path/to/page/_jcr_content/comments-section-par/comments.social.createcomment.html". I checked the same link in geometrix-media - "http://localhost:4702/content/geometrixx-media/en/events/andrew-novokov/_jcr_content/article-content-par/comments.social.createcomment.html" so they looks just the same, but compo...

Views

319

Likes

0

Replies

0
Problem with default settings for comments component.
Avatar

Alukardo

Alukardo
- Adobe Experience Manager
Hello, I have next problem:I need to set some default settings for comments component and I tried to do it in next way - I added node with name "comments" under the jcr:content of template of me page. When I create page, this "comments" node appears in /conent/mypagename/jcr:content/ but comments component does not work. If I delete this "comments" node, then set the same settings via edit dialog, node with the same properties appears and component works! Also, as I found here - help-forums.adob...

Views

572

Likes

0

Replies

3
Re: Preprocess login requests.
Avatar

Alukardo

Alukardo
- Adobe Experience Manager
Sounds like a solution to my problem. Thank you.

Views

270

Likes

0

Replies

0
Preprocess login requests.
Avatar

Alukardo

Alukardo
- Adobe Experience Manager
Hello I need a suggestion about the best way to filter login requests.For example I need to allow loggin to the platform only for user who has activated his account (some property in user's node). This filter should not be on the frontend and affect login process to siteadmin/crxde.I will appreciate your ideas about what approach will be the best. Thank you.

Views

294

Like

1

Replies

2
Likes given to
Likes from