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

kramer2718
Community profile kramer2718 Level 2
Job title here
Location here
9 BADGES
Level 2

Level 2

Learn more
Joined the community 16-08-2018 9:04:24 AM
Offline
Top badges earned by kramer2718
Customize the badges you want to showcase on your profile
Re: Cannot get DefaultSlingScript: null
Avatar
Give Back 1000
Community Advisor
Gaurav-Behl
Community Advisor

Likes

257 likes

Total Posts

1,148 posts

Correct reply

285 solutions
Top badges earned
Give Back 1000
Give back 900
Give Back 800
Give Back 700
Give back 600
View profile
Gaurav-Behl
- Adobe Experience Manager
This code is using a cloud service which must be configured in the root page pointing to either /etc/cloudservices/ or /conf//settings/cloudservices. Probably cloud service doesn't work/is not configured correctly or throws some error which doesn't get bubbled up and is handled gracefully using ACS Component Error Handler first check the cloud service configurations and test if it works finesecond check the ErrorHandler configuration and test if it works fine and displays error as expected.You s...

Views

2.8K

Like

1

Replies

0
Re: Reenable Anonymous User While Offline
Avatar
Ignite 5
Level 2
kramer2718
Level 2

Likes

3 likes

Total Posts

11 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 5
Give Back 3
Ignite 3
Give Back
View profile
kramer2718
- Adobe Experience Manager
Hi guys. It looks to me that several of these answers are likely correct, but we found a slightly different approachcurl -u admin:admin 'http://localhost:4502/home/users/O/OPYCNCDeCOsijvtpS0J5.rw.userprops.html' --data '.&disableUser=&_charset_=utf-8' --compressed

Views

2.4K

Likes

0

Replies

0
Re: How do I get a selector from a Sling Resource
Avatar
Coach
Community Advisor
Arun_Patidar
Community Advisor

Likes

1,586 likes

Total Posts

3,397 posts

Correct reply

966 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
- Adobe Experience Manager
Hi,Same is working for me.HTL code - Java code -this.message += "Request Path: " + request.getRequestPathInfo().getResourcePath() + "\n"; this.message += "Selectors " + request.getRequestPathInfo().getSelectorString() + "\n"; String[] selectors = request.getRequestPathInfo().getSelectors(); boolean insideGrid = selectors == null || selectors.length == 0 ? false : Arrays.stream(selectors).anyMatch("grid"::equals); this.message += "inside grid " + insideGrid + "\n";Output -

Views

824

Likes

0

Replies

0
Re: How do I specify an implementation using @OSGiService
Avatar
Coach
Employee
Jörg_Hoh
Employee

Likes

1,243 likes

Total Posts

3,229 posts

Correct reply

1,108 solutions
Top badges earned
Coach
Give back 600
Ignite 5
Ignite 3
Ignite 1
View profile
Jörg_Hoh
- Adobe Experience Manager
I don't think that AEM has it's own annotations when it comes to OSGI references. It uses both SCR (Apache Felix) and OSGI annotations (IIRC starting with R6) and the idea is to move to the OSGI annotations over time.If you are interested in discussing this with actual Adobe engineers (I am not!), I would suggest to switch over to one the Apache mailing lists. I am very sure that they are open for proposals to switch to more widely used and well-known annotations.

Views

2.6K

Likes

0

Replies

0
Re: How do I convert a page into a model
Avatar
Coach
Employee
Jörg_Hoh
Employee

Likes

1,243 likes

Total Posts

3,229 posts

Correct reply

1,108 solutions
Top badges earned
Coach
Give back 600
Ignite 5
Ignite 3
Ignite 1
View profile
Jörg_Hoh
- Adobe Experience Manager
When rendering a page, you typically adapt parts of the repository tree into models for easier handling. Just build the Model as documented on the Sling site and then you can turn any resource (well, not any, but only just the matching ones) into your model.Model myModel = resource.adaptTo(Model.class);(don't forget to check myModel for not being null, which would indicate that the adaption did not work, mostly because the resource cannot be turned into the model because of missing or incorrect ...

Views

539

Like

1

Replies

0
Re: How do I detect that a resource failed to render and take appropriate action?
Avatar
Coach
Community Advisor
Arun_Patidar
Community Advisor

Likes

1,586 likes

Total Posts

3,397 posts

Correct reply

966 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
- Adobe Experience Manager
Hi,Check this if helps cq5 - data-sly-resource error handling in sightly - AEM - Stack Overflow

Views

571

Likes

0

Replies

0
Likes given to
Likes from