arunp99088702I think I'm using the new osgi annotation. I have also tried the solution in Jorg's answer on the related post before asking this question.My imports for the servlet are these:import org.apache.sling.api.SlingHttpServletRequest;import org.apache.sling.api.SlingHttpServletResponse;import...
My problem is similar to the one described here: AEM 6.4 - Java sling servlet does not work with uber 6.4 jar, but does with uber 6.3 I have the following Servlet:@Component(service=Servlet.class, property={ Constants.SERVICE_DESCRIPTION + "=Video servlet", "sling.servlet.methods=" ...
In the terminology I'm familiar with, "to check something out" is to reserve it. "To check something in" is to commit your changes and free it for future use.I have some server-side code that performs some operations and creates a new node after a file is uploaded. After I check this new node out an...
Fixed it. I needed to change my Apache Sling Authentication Service and add allow specific routes to be accessible without authorization:-/apps/dam/gui-/libs/granite/ui-/apps/granite/core/contentThis enabled the CSS.
I'm attempting to configure AEM so that you can share assets with anonymous users through sharing a link or a collection, and it works somewhat, only anonymous users aren't seeing the CSS:In the browser console I get two errors from the linkshare.html page: linkshare.html?path=/content/dam/collectio...
smacdonald2008 wrote... Name your new clientlib category something unique like foo. Then reference that unique name in your component. It will not load other clientlibs. I renamed the share page to something unique (dam.gui.adhocshare.sharepagecustom), but the problem persists. Pictured: the cat...
smacdonald2008 wrote... Try changing the name of the clientlib in your overlayed component and ensure you update the name of it in the component - there should be no link back to the original client lib. I changed the name of the file/apps/dam/gui/components/admin/adhocassetshare/clientlibs/landi...
nupurj17891248 wrote... What I can possibly think of is that you have copied the content from libs to apps i.e now there are two clientlib folders 1. /libs/dam/gui/components/admin/adhocassetshare/clientlibs/shareembeddedpreview 2. /apps/dam/gui/components/admin/adhocassetshare/clientlibs/shareembed...
smacdonald2008 wrote... Try changing the name of the clientlib in your overlayed component and ensure you update the name of it in the component - there should be no link back to the original client lib. I'm not sure what you're referring to. I don't think I have an overlayed component. I just cop...
I've taken the adhocassetshare folder from /libs and made a copy inside /apps so that I now have " apps/dam/gui/components/admin/adhocassetshare " Inside of /apps/dam/gui/components/admin/adhocassetshare/clientlibs/landingpage/js/landingpage.js I put console.log('test'); inside the first few lines, ...