Hi kautuksahniThanks for the help. Seems you are right.There is an issue adapting the MockHttpServletRequest provided by the wcm io to com.adobe.granite.asset.api.AssetManager.
I am creating a sling model which fetched a excel file from the file to read and display data in an AEM component.@Model(adaptables = SlingHttpServletRequest.class, defaultInjectionStrategy = DefaultInjectionStrategy.OPTIONAL) public class OnlineCoursesModel { @Self private SlingHttpServ...
I have created the installed the JDBC driver and then configured the 'Apache Sling Connection Pooled DataSource' in the config manager and I have tested it out by using it in a JSP. Here is a snapshot:But still it is not working out in the AEM Forms Data Model.
Hi,I was following Adobe Experience Manager Help | Create your first adaptive form link to learn about AEM forms.I was successful in creating the Adaptive form, which id the Step 1 in this article.But when I am trying to create form data model from the DataBase as the datasource, I am getting this:...
Hi,I have created a Sling Default Servlet to search Assets in DAM. I have used these OSGI DS Annotations:@Component(service=Servlet.class,property={ Constants.SERVICE_DESCRIPTION + "= Servlet to search for assets in a specified location in DAM.", "sling.servlet.methods=" + HttpConstant...
HiI was creating an asset metadata dropdown form feild and populating it with options from a JSON file. As long as I pass the path of a JSON file to the dropdown, it is populated fine. But when I try to pass path of a servlet to the JSON path in the form feild, it is no longer being populated.The pa...
Hi,I wanted to create a nested parsys system, which would allow me to create a parsys inside a parsys. I have been trying to do it like this: <div data-sly-resource="${'main-par' @ resourceType='wcm/foundation/components/parsys'}"> <div data-sly-resource="${'./parsys-container' @ resourceTy...