Hi @Mario248 What you need is a pathBrowser. You can refer the below. <pageList
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/pathfield"
fieldLabel="Logo Path"
name="./logoPath"
required="true"
rootPath="/content/abc"/>
Hi @akhilraj You cannot get the sessionStorage from SlingHttpServletRequest. You will have to pass the value saved in the sessionStorage to the API. For ex while you are making the ajax call from your JS, you can fetch the value from the sessionStorage and pass it as a query param. JS snippet: var ...
Do you have the LDAP integration in place? If yes, are you able to login through LDAP? Once the "windows user" logs in into aem, the user will be created in aem. You will be able to fetch the user details using the user Authorizable.
Hi @akhilraj You can pick the user properties from the Authorizable. Below is the code snippet of that. ResourceResolver rr = request.getResourceResolver();Authorizable userAuthorizable = rr.adaptTo(Authorizable.class);String familyName = userAuthorizable.getProperty("email").toString();Please let ...
Hi @robertol6836527 You can use the below curl command to clear the dispatcher cache. curl -H "CQ-Action: Delete" -H "Content-Length: 0" -H "Content-Type: application/octet-stream" -H "CQ-Handle: /content/my-project" http://localhost/dispatcher/invalidate.cachecurl -H "CQ-Action: Delete" -H "Con...
Hi @jakdevmode Your component doesn't have the scope to the variable "clientlib". Try adding the below line of code above the data-sly-use.<sly data-sly-use.clientlib="/apps/myproject/components/sightly-templates/ctagrouplegal/ctagrouplegal.html" ></sly> Thanks
Hi @ahnc I had previously worked on a similar requirement. The saml_request_path cookie is originally set in org.apache.sling.auth.core.spi.AuthenticationHandler. So avoid setting it in AuthenticationInfoPostProcessor. What you can do is create a loginHook which implements AuthenticationHandler and...
Hi @Rahul_mule There are number of articles which can assit you to install AEM on your local machine as well as your server. I'll be linking them below. The basic requirements are that you will need to have the aem jar, license key and JAVA 8+.https://experienceleague.adobe.com/docs/experience-mana...
I haven't tried it myself but it should be possible. You can programmatically roll out pages from JAVA backend. So it should be possible from groovy as well. https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-rollout-a-page-programmatically-and-update-references-aem/m-p/40...