AEM Spark: Disable and Enable Users

Sometimes, you might find yourself wanting to disable a user account in Adobe Experience Manager, while leaving the account itself intact. This is easy to do via curl: curl -vfs -u admin:admin http://localhost:4502/.rw.html -F “disableUser=Disabled via curl” This sets a protected property on the user node, called rep:disabled – as the term “protected property” suggests, …

AEM Spark: Post/Redirect/Get Pattern for HTML Forms

If you have an HTML form that modifies the node contents, you can add this HTML/HTL to make it refresh the page after the modification (P/R/G style):

If you have a better solution to this problem that you’d like to share, contact us at [email protected]

AEM Spark: OSGi Bundle States

In our AEM Spark on CRX DELite, we shared the JSON response of stopping and starting bundles via cURL. If you’re anything like me, you probably wondered what those values actually signified. Well, wonder no more-lifted directly from the OSGi Documentation, here’s a breakdown of the bundle states, and their associated values. An OSGi bundle …