It happened recently where I needed to install a package via curl because of UI issues and connection issues with a server. Here’s a fleshed out command that will store the output to a file and show a progress bar: curl -u username:password -F file=@”./YourPackage.zip” -F name=“Package” -F force=true -F install=true http://localhost:4502/crx/packmgr/service.jsp –progress-bar -o upload.txt […]
DigitalOlson (formerly Citytech) has a great plugin that automatically generates AEM dialogs. However, the docs are incomplete. One thing my team discovered was the @DialogFieldSet annotation. This allows you to pull in dialog items from referenced subclasses or composited classes. In this example, we have a CtaButton class that we want to include […]
The AEM cq5 tutorials page has a great walkthrough on creating service users: Create System User in AEM In a future post I’ll create some sample code that you can use to set this up.
The sling authentication service (org.apache.sling.engine.impl.auth.SlingAuthenticator) controls a bunch of different functions but the most critical is that it determines what an anonymous user can access. Why do you care? A number of the different default behaviors between author and publish mode servers come from changes to the default configuration to this service. In Author mode, anonymous […]
AEM bloggers has a good post on this: http://aembloggers.blogspot.in/2015/10/aem-6x-predictive-search-and-spell-check.html I’ve been slammed with my current project and haven’t had much chance to add new content myself. Good for them for putting this together.
Nate Yolles has a great post about the inner workings of how you can programmatically update OSGI services in AEM: http://www.nateyolles.com/blog/2015/10/updating-osgi-configurations-in-aem-and-sling As a general rule, I prefer configurations to be static, so they can be tracked in a version control system and targeted at sling runmodes, but there may be circumstances where updating configs […]
Actually, you can’t. Worse, there isn’t any way in the classic UI GUI to reach the screen in the granite user manager where the admin password can be updated. So, here is the direct url/path: /libs/granite/security/content/useradmin.html This should save you some time!
See 6D’s chart here: http://labs.6dglobal.com/blog/2015-09-14/felix-scr-plugin-compatibility-chart/ I’ve taken a helpful screenshot: The actual post goes into more detail.
It’s a simple script but very useful to people using sublime text on the mac who want to upload files (like JS/CSS, or dialog.xml files) into AEM. https://packagecontrol.io/packages/CQ5Saver I hope this saves people some time!
This is a great post so I wanted to share it: http://blogs.adobe.com/experiencedelivers/experience-management/event_handling_incq/