since ‎09-04-2013
‎07-09-2020
Sam205505050
Level 4
AEM Component generator Sam205505050 - Adobe Experience Manager
Please feel free to use this tool if you would like to make faster component developmenthttps://github.com/sumantapakira/aem-component-generator
42
Views
0
Likes
0
Replies
Re: Render list of tiles from one component to another co... Sam205505050 - Adobe Experience Manager
The component X should render the component Y using data-sly-resource and pass selector for rendering is different tile. See the Core carousel / Tabs component. @Arun_Patidar the list component does not have the above functionality(allow another component ) as described.
572
Views
0
Likes
0
Answers
Re: AEM SPA React state management Sam205505050 - Adobe Experience Manager
Short answer, both of your questions are possible, for long answer, post it to Stackoverflow, I can explain in more details
1001
Views
0
Likes
0
Comments
Vanity URL and CUG does not work together Sam205505050 - Adobe Experience Manager
Is there any product limitation if I enable CUG and specify vanity url path of a page? 1. Create a page with CUG enable and specify vanity url path 2. Replicate this page in publish. 3. If I try to open using vanity url in publish server then I get 404 error.Is it a product bug?I even tried to customize CUG implementation, so that if I open vanity url then Authentication should be on. And it is showing correctly. See the image attached. Now if I open vanity page(http://localhost:4503/happy3 is t...
5513
Views
2
Likes
11
Replies
Re: How i can declare a parameter in the OSGi bundle configuration be required or mandatory? - Develop OSGi bundle to extend core functionality Sam205505050 - Adobe Experience Manager
Hi Tung, Have you tried this -@Component @Providespublic class MyComponent implements MyService { @ServiceProperty(name="username", mandatory=true)private String m_username; @Property(name="password", mandatory=true)private String m_password;//...}
1042
Views
0
Likes
0
Answers
Re: Need to use google plus authentication in our website. Sam205505050 - Adobe Experience Manager
I assume that you are using OAUTH for authentication, take a look at OOTB Facebbok/Twitter authentication handler. You have to create custom authentication handler to achieve this.
814
Views
0
Likes
0
Answers
Re: LDAP Group Sync With AEM Sam205505050 - Adobe Experience Manager
you have to use callback mechanishm whenever user is synced. Follow this : http://dev.day.com/docs/en/crx/current/administering/ldap_authentication.html#CALLBACKS1. mention this parameter syncCallbackClass in ldap_login.conf2. get the userid from map3. Assign the user to the group you want.
814
Views
0
Likes
0
Answers
Re: Knowledge base article not found 404 Sam205505050 - Adobe Experience Manager
Thank you for your response, The link that I have mentioned here contains many "How To". For example : http://www.day.com/content/kb/home/cq5/Development/DisableContentFinder.htmlBut those links returns 404. I wanted to know learn those useful tutorials but no way. Do you have any idea where those links are available? The link that you have mentioned does not contains those missing links. Thanks for your help!
1173
Views
0
Likes
0
Answers
Knowledge base article not found 404 Sam205505050 - Adobe Experience Manager
Hi All,I'm trying to access Knowledge base article here but it seems many links are incorrect. 404 error. Can you please let me know where I can find the correct article?
1784
Views
0
Likes
5
Answers and Comments
Re: maven compile error Sam205505050 - Adobe Experience Manager
Thanks Scott for your reply! I'm using 5.4I removed the version version=[2.3,3) from mainfest.mf and uploaded bundle again and after it was fine. If you don't mind could you please let me know, what is the difference between adding dependency to pom.xml which is under /bundle and dependency to pom.xml which is under ? In which scenarios I should follow two different approach?
1893
Views
0
Likes
0
Answers
Re: maven compile error Sam205505050 - Adobe Experience Manager
Here is the attached pom.xml Kindly let me know what I'm missing here. Thank you for your help again!
1848
Views
0
Likes
0
Answers
Re: maven compile error Sam205505050 - Adobe Experience Manager
Thanks Scott and Kishor!@Scott,I followed this article here and it says that I have to add dependency to pom.xml which is under . But the article you have referred here says I need to add dependency to pom.xml which is under /bundle. When I added dependency to pom.xml which is under /bundle then I was able to create jar file. Could you please let me know what is the difference? When I uploaded this jar file in Felix console then I got the error.PFA -org.apache.jackrabbit.api,version=[2.3,3) -- C...
1861
Views
0
Likes
0
Answers
maven compile error Sam205505050 - Adobe Experience Manager
Dear all, Thank you for your time to look into my issueI've written a small login servlet and trying to build. I've added dependencies but could not able to compile successfully. Attached is the pom.xmlError :-[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project userlogin-bundle: Compilation failur[ERROR] \AdobeCQ\userlogin\bundle\src\main\java\com\cq\userlogin\LoginServlet.java:[6,16] package javax.jcr does not exist[ERROR] \Ad...
4317
Views
1
Like
7
Answers and Comments
Re: How to add the jackrabbit-standalone-2.4.0.jar file to your Java application's class path? Sam205505050 - Adobe Experience Manager
modify your pom.xml as below - org.osgi org.osgi.compendium org.osgi org.osgi.core org.apache.felix org.apache.felix.scr.annotations org.slf4j slf4j-api junit junit org.apache.felix org.osgi.core 1.4.0 org.apache.sling org.apache.sling.commons.osgi 2.2.0 org.apache.jackrabbit jackrabbit-core 2.4.3 org.apache.jackrabbit jackrabbit-api 2.4.1 org.apache.jackrabbit jackrabbit-jcr-commons 2.4.3 org.apache.sling org.apache.sling.jcr.api 2.0.4 org.apache.sling org.apache.sling.a...
956
Views
0
Likes
0
Answers
TarMK Vs MongoMk Sam205505050 - Adobe Experience Manager
Hi,As per my understanding, TarMK is faster than MongoMK due to the fact that segments are immutable and because of this it is easy to cache frequently accessed segments(TarMK). MongoMK is recommended where scalability is important. Now, TarMK is not suitable when we use clientcontext. And the reason is, if we use multiple TarMK enabled publisher then all the publisher does not sync because AEM 6 does not support clustering. Now lets say one request coming from Load balancer which updates client...
2315
Views
0
Likes
5
Answers and Comments
Re: Creating a Link Rewriter for Adobe Experience Manager Sam205505050 - Adobe Experience Manager
The reason I updated code because version and path values are coming as null when I configure through OSGI. In geometrixx example staic.css is not under clientlibs folder under /etc/designs/geometrixx which was causing issue. After I copied this file under /etc/designs/geometrixx/clientlibs and modified css.txt after it was fine. I appreciate your help!
1367
Views
0
Likes
0
Replies
Re: Creating a Link Rewriter for Adobe Experience Manager Sam205505050 - Adobe Experience Manager
@Johan, I updated your code like this with geometrixx design path -public CustomLinkTransformer(String version, String[] pathArray) { this.version = "1.0.0"; String[] myStringArray = new String[]{"/etc/designs/geometrixx"}; this.pathArray = myStringArray; }After I can see the difference with version number appended but page does not load properly with CSS as /etc/designs/geometrixx/static.1.0.0.css does not exists - Please advice if anything else needs to be done, Thanks
9018
Views
0
Likes
3
Replies
Re: Creating a Link Rewriter for Adobe Experience Manager Sam205505050 - Adobe Experience Manager
@Justin, Than you for this article!I've downloaded the bundle from your POC. But I do not see the version number/modification date is appended to js/css file though the bundle is Active. PFAKindly let me know what I'm missing here. I appreciate your help!
9018
Views
0
Likes
6
Replies
Re: Creating a Link Rewriter for Adobe Experience Manager Sam205505050 - Adobe Experience Manager
Thanks Scott! Question to Ojjis, the bundle is active but when I do the view source of Geometrixx example then I don't see the version number appended. CQClientLibraryManager.write([{"p":"/etc/clientlibs/foundation/jquery.js","c":[]},{"p":"/etc/clientlibs/foundation/shared.js","c":[]},{"p":"/etc/clientlibs/foundation/main.js","c":[]},{"p":"/etc/clientlibs/foundation/main.css","c":[]},{"p":"/etc/designs/mywebsite/clientlibs.js","c":[]},{"p":"/etc/designs/mywebsite/clientlibs.css","c":[]},{"p":"/etc/designs/geometrixx/clientlibs11.js","c":[]},{"p":"/etc/designs/geometrixx/clientlibs11.css","c":[]},{"p":"/etc/designs/mywebsite/clientlibs/themes/default.css","c":[]},{"p":"/etc/designs/mywebsite/clientlibs/ie6/themes/default.css","c":["ie6"]},{"p":"/etc/designs/geometrixx/clientlibs11/themes/default.css","c":[]},{"p":"/etc/designs/geometrixx/clientlibs11/ie6/themes/default.css","c":["ie6"]}],false); CQClientLibraryManager.write([{"p":"/libs/cq/ui/widgets.js","c":["!touch"]},{"p":"/libs/cq/touch/widgets.js","c":["touch"]},{"p":"/libs/cq/analytics/widgets.js","c":["!touch"]},{"p":"/libs/cq/security/widgets.js","c":["!touch"]},{"p":"/libs/cq/tagging/widgets.js","c":["!touch"]},{"p":"/libs/cq/ui/widgets/themes/default.js","c":["!touch"]},{"p":"/libs/cq/ui/widgets/themes/default.css","c":["!touch"]},{"p":"/libs/cq/touch/widgets/themes/default.css","c":["touch"]},{"p":"/libs/cq/analytics/widgets/themes/default.css","c":["!touch"]},{"p":"/libs/cq/security/widgets/themes/default.js","c":["!touch"]},{"p":"/libs/cq/security/widgets/themes/default.css","c":["!touch"]},{"p":"/libs/cq/tagging/widgets/themes/default.js","c":["!touch"]},{"p":"/libs/cq/tagging/widgets/themes/default.css","c":["!touch"]}],false); CQ.WCM.launchSidekick("/content/geometrixx/en", { propsDialog: "/libs/foundation/components/page/dialog", locked: false }); { window.setTimeout(function() { $CQ.getScript("http://localhost:4502/libs/wcm/stats/tracker.js?path=/content/geometrixx/en"); }, 1); }
9018
Views
0
Likes
0
Replies
Re: Creating a Link Rewriter for Adobe Experience Manager Sam205505050 - Adobe Experience Manager
Hi Scott, thank you for this tutorial! You have mentioned here "you can append a version number to the CSS/JavaScript files so that they will change with each release." Could you kindly let me know how can I do this in Geometrixx example? I created bundle as per the instruction given in this tutorial but I'm not sure how to append version number to CSS/JS using Rewriter? Thank you for your help!
9018
Views
0
Likes
10
Replies
Re: cq5 Sam205505050 - Adobe Experience Manager
is that user member of workflow-editor/workflow-user group?
864
Views
0
Likes
0
Answers
Re: Creating session not working Sam205505050 - Adobe Experience Manager
Thank you Scott for your help!The first piece of code for creating session is working in author but not in publish. To replicate the code to publish instance, I opened http://localhost:4502/etc/replication/treeactivation.html and then I selected /apps/ and then Activate. Is this correct way to do it?I found this url and it says This method MUST not be used to handle client requests of whatever kinds. To handle client requests a regular authenticated session retrieved through Repository.login(jav...
1158
Views
0
Likes
0
Answers
Re: Creating session not working Sam205505050 - Adobe Experience Manager
Suddenly it started working. Do not know what was wrong when doing it from publish. Thank you for your help!
1153
Views
0
Likes
0
Answers
Creating session not working Sam205505050 - Adobe Experience Manager
I'm following this code here. First I tried to create session with the following code from createuser.json.jsp which is running on author instance and its working fine -<%@include file="/libs/foundation/global.jsp"%><%@ page import="org.apache.sling.jcr.api.SlingRepository" %><%@ page import="com.day.cq.security.UserManager" %><%@ page import="com.day.cq.security.UserManagerFactory" %><%@ page import="com.day.cq.security.User" %><%@ page import="com.day.cq.security.Authorizable" %><%@ page impor...
2107
Views
0
Likes
5
Answers and Comments
Re: How SlingAuthenticationHandler talks to CRXLogin module Sam205505050 - Adobe Experience Manager
Thanks Justin for the clarification 🙂
1136
Views
0
Likes
0
Answers
Re: How SlingAuthenticationHandler talks to CRXLogin module Sam205505050 - Adobe Experience Manager
Dear experts,any help here?
1118
Views
0
Likes
0
Answers
How SlingAuthenticationHandler talks to CRXLogin module Sam205505050 - Adobe Experience Manager
I read about this point here. But after I could not able to figure out how AuthenticationInfo object is passed to CRXLoginModule . What I have understood the flow of SlingAuthenticationHandler is as follows -1.SlingAuthenticator calls the AuthenticationHandler (the CQ default is TokenAuthenticationHandler)2. The AuthenticationHandler returns AuthenticationInfo with username and password. In the code of SlingAuthenticationHandler and it just sends the AuthenticationInfo object from TokenUtil.crea...
1698
Views
0
Likes
3
Answers and Comments
Re: OOTB SSO authentication not working Sam205505050 - Adobe Experience Manager
I've tested SSO with cookie based approach, everything is working fine except when I tried to make cookie secure then AEM is displaying login page. My code which is running on Tomcat: protected void doPost(HttpServletRequest req,HttpServletResponse res)throws ServletException,IOException { String newUrl = "http://localhost:4502/siteadmin"; Cookie cookie=new Cookie("REMOTE_USER",user); cookie.setPath("/"); cookie.setHttpOnly(true); cookie.setSecure(true); // If I remove this then SSO works res.ad...
1143
Views
0
Likes
0
Answers
OOTB SSO authentication not working Sam205505050 - Adobe Experience Manager
I am testing SSO authentication on 5.6.1 on author instance and installed these hot fixes which are related to authentication: 3645, 3707. I am giving user information as request parameter(http://localhost:4502/siteadmin?userid=testuser). I modified repository.xml as follows- and have configured SSO authentication handler as attached. Now when I am hitting this URL (http://localhost:4502/siteadmin?userid=testuser) then it is giving blank page as I could see there are 403 errors are coming. Er...
1297
Views
0
Likes
2
Answers and Comments
Re: SAML 2 SSO questions Sam205505050 - Adobe Experience Manager
Sham HC wrote... justin_at_adobe wrote... Not to hijack this thread, but would you mind posting the IDP you use? I was working on a project recently and found that Single Logout support was pretty inconsistent between IDPs. So even though AEM doesn't support it today, I'd be curious what you have been successful in using. Locally I use Shibboleth. With logout need to take care of 2 things expiry time of the IdP-cookie plus should match with cq token expire. Thanks Sham for the explanation and ho...
1177
Views
0
Likes
0
Answers