@judahlow
Seems failing to access local package manager to auto install package. Can you check you author instance is running in port 4502? If not
Make sure it runs in port 4502Or else, update port pom.xml to the port in which author instance is running
Request for Feature Enhancement (RFE) Summary:Delete page in author should auto unpublish the page.Use-case:Content authors who are new to AEM are deleting the pages without unpublishing them, assuming it will reflect the on actual site. Page is deleted in author but not in publish or in live site.C...
@NitroHazeDev
ResoureResolver is an interface, you can not instantiate it. There are different ways to get the implementation in ResoureResolver, either which way it could be it is always a good practice to close it.
@Mario248
Do not escape the entire path, just escape the name of file here i.e. tco[a].jpg
JcrUtil.createPath("parentCategoty/" + JcrUtil.escapeIllegalJcrChars("tco[a].jpg"),JcrConstants.NT_UNSTRUCTURED, session);
If you want to validate each node name in path then
String[] nodesArray = path.sp...
@sreenu539
Here is Apache Sling documentation on Sling Models.
https://sling.apache.org/documentation/bundles/models.html#available-injectors
The table clearly explains about each annotation.
@satoshi1
You can use JavaScript Use API for simple requirements.
Yes, it is bit slow compared to Java Use API as there is an extra processing step which converts the JavaScript to Java. But as there is a caching mechanism it is ok.Yes, you can not write unit test as the script resides in ui.apps a...
@tushaar_srivastava Try below code snippet and change names accordingly, I have used category and title as files names. Shouls be same as name property value in dialog field.
(function($, Coral) {
"use strict";
var registry = $(window).adaptTo("foundation-registry");
registry.register("...
@Gokulr707
Rename aem jar as aem-pubish-p4503.jar and double click to run publish instance. It will start aem publish instance in port 4503, you can access using localhost:4503.
To replicate content, you need both author and publish running and in author you need to configure Replication agent. R...
Keep paths which you want to deploy in filter.xml
Check both filter.xml files from each repo.
Example:
repo 1 filter.xml has /apps/demosite and /apps/wknd and if you to deploy only /apps/demosite from this repo then remove /apps/wknd from filters. Similarly in other repo as well.