I have a need to add an extra image field to Teaser components. Basically, I am trying to create a By Line type effect that can be added to teasers. The problem I am having is that both the Teaser and By Line components are inheriting from the core Image Component via their sling super type. I w...
I want to create a series of nodes like parentProduct/subCategory1/subCategory2/subCategory3/subCategory4 inside /var/temp location. I tried to use addNode() method of Node class and createPath() method of JcrUtil class but both did not work. addNode() method just creates only one immediate node(ex,...
Hello I am trying to integrate AWS SDK in my project. But the problem is after the deploy the bundle cannot be resolved. In the project pom.xml <dependency> <groupId>com.amazonaws</groupId> <artifactId>aws-java-sdk</artifactId> <version>1.12.392</version></dependency> In the core pom.xml <d...
Hi All As part of a demo , I am using we-retail cart features. On the checkout there is an option to enter the promotion code. I tried creating a voucher and using that code in here , but that doesn't seem to be working at all. Anybody ever explored this part in the we-retail ? Thanks Veena ...
I need to create a component that uses the tag title (jcr:title) set in ContentFragment. The tag title cannot be obtained by the core component, so I need to use the TagManagerAPI, in which case I need to write the code in either Java Use-API or Javasciprt Use-API. I prefer to use Javacript Use-API ...
I use Adobe liveCycle for print editing when using SAP. This is my LiveCycle printout 'PO' editing screen. Binding by connecting XML data. The result of binding can be seen on the printed page. The screen on which I print out is as follows: Number 21 on the screen is an Item that has sub-item...
We are using AEM 6.5.14. The map and reverse map is properly configured. From /system/console/jcrresolver the resolve and map is working fine. But from code we can not get the full path from domain. In short request.getResourceResolver().resolve("http://local.---world.com").getPath() is not returnin...
Hi, Annotation Description @Model declares a model class or interface @Inject marks a field or method as injectable @Self Injects the adaptable itself. If the field type does not match with the adaptable it is tried to adapt the adaptable to the requested type @Named declare a name for the injec...
Hello. I have some content fragments and I need to get the cq:parentPath value, which I see here: I have tried something like this, but the ContentElement is null ContentElement test = resultResource.adaptTo(ContentFragment.class).getElement("jcr:content/cq:parentPath"); How can I find th...