Thursday, October 30, 2014

Parsys issue in Tab Control component.

When we add the Tab control component and author the tabs ,the placeholder below the Tabs which is not active will move towards the top left corner of the page.So it will be difficult for the author to edit the content inside the tabs.
Following below is the workaround for this issue

The problem for tab component occurs because :
·         The div under hidden tab have is hidden by display:none

·         The height and width for the div of drop area for parsys component is  (#CQ .cq-editrollover-insert-container) computed based on the wrapper div

·         Whenever there is any parsys component included inside hidden div or floated div , the CQ authoring library computed height/widht as zero  of #CQ .cq-editrollover-insert-container div 

The solution for this issue or similar issue is not hide the wrapper div where parsys is included by make it hidden by moving it out of view area

For example in case of bootstrap tab component, adding these css style to override bootstrap CSS solves the problem

.tab-content > .active.tab-pane {
      display: block;
      left: 0px;
      position: relative;
}

.tab-content > .tab-pane {
      display: block;
      left: -9999px;
      position: absolute;
}

Hope this will help

Wednesday, August 6, 2014

FEW CQ5 (AEM) Interview questions for references


1. Technology Stack of CQ5 and describe each one ?
2. Architecture of CQ5 application ?
3. How to implement localization ?
4. How to connect external DB from CQ5 ?
5. What is segmentation/campaign and how to implement ?
6. Can we restrict for certain users not to display some digital assets ?
7. What is the role of dispatcher and how you have to used rewrite URL?
8. What is persistence manager and how to implement ?
9. What is iparsys and slingSuperResourcetype ?
10. What is difference between cq:sling and cq:include ?
11. What is bundle and how to create and implement in application ?
12. What is the purpose of Activator.java file ?
13. What is the purpose of farm file ?
14. Any custom components used which not relevant to out of box component ?
15. Any web services implemented ?
16. How you can inherit properties of one dialog to another dialog ?
17. What is the approach to implement application which make compatible for Desktop/Mobile/Tablets ?
18. How to implement etc/mapping ?
19. How Resource Resolution done in sling ?
20.How to achieve reverse replication and where mostly need to implement?
21.What are the design patterns used in day CQ5?



Few More Questions
Can we create page without template?
diff btwn dialogue & design dialogue?
where design dialogue data will store?
have you used search component?
Social Integration components
Tags, featuers.
Pagination / how do you cache?
What are bundle state?
What is Resource resolver ?
How to create Workflows ?
What is Dispatcher ?
Event Listeners / Schedulers ?
Diff btwn resource type & resource super type?
What is a content repository? What is JCR?
What is Sling? How is it different from other web-development frameworks?
What are Clientlibs?
What is a CQ5 overlay/override component?
Difference between Parbase and parsys?
How do I synchronize LDAP and CQ users?
How can I interface CQ with multiple LDAP servers?
How to create a custom widget client-library ?
How do I configure and connect to a JDBC DataSource?
Can any one tell me that how can we registered the newly created servlet in Activator.java?
Sling Scripts cannot be called directly in CQ5- Why?
Clustering in CQ5
what is RESTfull
sling
mobile site application -
blue print and live print
multilingual site
multisite
what are the devices support mobile
how will u give the priviliage to user for uploading dam assets
loding of assets in dam
how to build bundle through crxde - steps
how will u upload jar file through felix console
how will u create a user
is it possible to have user without any group
hw will u give privilage to user for creating the user
publishing and author envoirement
dispatcher
replication agent
wht are the steps for creating custom components

http://cq5cms.blogspot.in/2012/09/cq5-interview-questions.html

1) What is CQ and technology stack of CQ ?
2) What is the difference between dialog and design_dialog ?
3) Maven Integration with Eclipse ?
4) What is the difference between Ant and Maven tools ?
5) Vaultclipse for Eclipse ?
6) Dependency Injection ?
7) What are clientlibs ?
8) Why design_dialog content stores under etc/designs/project namespace ? How it recognizes to store there itself ? Can we store in some other place ?
9) How comfortable are you with jQuery ?
10) Do you interest in jQuery or EXT JS ? Why ?
11) What is a Dispatcher ?
12) Segmentation and its role in CQ ?
13) Query Builder and its API ?
14) Have you ever worked on DAM API ? Explain one Scenario ?
15) JCR Vs. CRX ?
16) How can you move content from one Server to another ?
17) Servlets in CQ ?
18) What Storage Manager does CQ uses internally ?
19) What features of CQ do you like most ? Why ?
20) What Did you do in Admin Level ?
21) Have you created any out of the box buttons ?
22) What are xtypes and how does they useful in CQ ?
23) What is the use of OSGi in real time ?
24) What are the limitations of CQ ?
25) Parsys Vs iParsys ?
26) What is a workflow ?
27) What is a personalization ?
28) What is sling and how it can be used in CQ ?
29) What are the servlets that you will extend in CQ ?
30) Replication Vs Reverse replication ?
31) Difference between Overlaying and Extending ?
32) What design patterns does CQ uses ?
33) What is the purpose of Activator.java in CQ bundle ?
34) What is RESTFul ?
35) How do you covert a class to a service ?
36) What is the use of OSGi ?
37) Inheritance in CQ at component  level ?
38) Comments component ?
39) Sling resolution in CQ ?
40) What servelts do you implement in CQ ?
41) How to register a servlet in CQ ?
42) Do you have any  idea how comments component works ?
43) How to run a workflow ?
44) What class/interface do you use to extend/implement a workflow ?
45) About sling:resourceSuperType ?
46) What are the differences between CQ 5.4 and 5.6.1 ?
47) What components did you feel complex in your project ?
48) Have you ever worked with Social collaboration in CQ ?

Few more

1. How to add the tab in the Page Properties dialog.

2. Under page properties, basic tab, what is the use of On time and Off time.

3. Can you explain me how the Logo component works.

4. How to create a page from the template.

5. Have you worked on Xtypes.

6. Can you tell me how dispatcher works and if I have only 1 publish server, then

   how dispatcher will do/work.





Few Links
http://www.aptibook.com/technical/adobe-cqfive-interview-questions/page1



Few CQ Developed Webistes




Videos


Thursday, July 17, 2014

How to change the default page after sign out from AEM Publish instance

Whenever we signout from AEM publish instance ,it will redirect us to the default page i.e geomatrixx
 localhost:4503/content/geometrixx/en/products.html


So to override this we need to map the own URL to the confugiration which override the default one.

Goto 
    /libs
       /cq
         /core
           /config.author
copy the node com.day.cq.commons.servlets.RootMappingServlet into apps as the sequence provided above

ex: /apps
       /cq
         /core
           /config.author
               com.day.cq.commons.servlets.RootMappingServlet

change the property rootmapping.target to the desired page you want to redirect after logging out from publish instance.

Wednesday, May 28, 2014

How do we skip any specific link to skip from link checker without disabling link checker from OSGi through page authoring

 How do we skip any specific link to skip from link checker without disabling link checker from OSGi through page authoring


 Open RTEditor where you have a link and need to skip, click on source code icon in that go to hyperlink which you want to skip and add below attribute into <a href>
link-checker="skip"
Ex. <a href="/content/welcone.html" link-checker="skip"> Welcome </a>

Thursday, May 22, 2014

My Profile

Hello ,
You can join my community on facebook for queries and discussions.
CQ Incubation


And connect me via linkedIn





Friday, May 16, 2014

New version of AEM is available now.

After AEM5.6.1 Adobe release new version of AEM i.e AEM6.

For more details refer the link below

AEM 6 Documents

Happy learning

Tuesday, July 2, 2013

Few Handy URL's for CQ


Few Small things to remember during project saves alot of time

URLS

/crx/explorer/index.jsp  - CRX explorer
/crx/de/index.jsp – CRXDE Lite url
/libs/cq/search/content/querydebug.html – Query debug tool
/libs/granite/security/content/admin.html – New user manager standalone ui  [5.6 only?]
/libs/cq/contentsync/content/console.html – Content sync console
/system/console/bundles – Felix web admin console
/system/console/jmx/com.adobe.granite.workflow%3Atype%3DMaintenance - Felix web admin console JMX / Workflow maintenance tasks
/system/console/jmx/com.adobe.granite%3Atype%3DRepository - Felix web admin console JMX / Repository maintenance tasks

Params

wcmmode=DISABLED - This handy publisher parameter turns off CQ authoring features so you can preview a page cleanly
/system/console/depfinder – This new 5.6 tool will help you figure out what package exports a class and also prints a Maven Dependency for the class.