Monday, April 24, 2017

AEM 6 Advanced Interview Questions Part 3

AEM 6 Advanced Interview Questions Part 3


1. What will be your approach to implement a website that is compatible to desktop, mobiles and tablets?
A:
  • Make your website responsive
  • Create your pages in HTML 5, so that they can be easily adapted by any devices. i.e. <!DCOTYPE html> should be the first line of your page.
  • Use Media queries
  • Add devices list for simulation in side kick by adding jsp - /libs/wcm/mobile/components/simulator/simulator.jsp
  • Register your page components for simulation. In config node add an entry for MobileEmulatorProvider. Set a property mobile:resourceTypes and add the pages as multistring values.
  • Implement adaptive images

2. Explain FileVault.
A : FileVault is the tool developed by adobe to map your file system content with crx. It is same as source control system which provides check-in check-out features.

3.Explain QueryBuilder API.


4. What is link-checker in AEM?
A : A link checker is provided with AEM. It checks all the content pages and prepares the list of valid and invalid links. It also makes invalid links on site on all the content pages. Link checker can be accessed using tools menu. One can disable the link checker pragmatically by loading the LinkCheckerSettings object and setting the value of ignoreExternals as follows.

if(isPublish) {
LinkCheckerSettings s = LinkCheckerSettings.fromRequest(slingRequest);
s.setIgnoreExternals(true);
}

Link checker transformer can be set using configMgr to configure link checker.


5. How static image rendering works in AEM?
A : AEM provides an image component that can be used to render the images. Using this component author can configure the image file source and the other parameters. When the jsp/html page is acessed, the image servlet creates an img tag to insert the image. This tag renders the image as per the value of src which is actually file source with a unique selector.

Adaptive image rendering servlet is used for setting the image resolution according to the device size. The JSP in this component adds div elements to provide the different resolution and renditions of the image as per device screen size.

6.  Explain some of the xtypes and their corresponding CQ types.
A :
textfield -> TextField
pathfield -> PathField
spinner -> Spinner
spacer -> Spacer
tabpanel -> TabPanel
dialog -> Dialog
datefield -> DateField
datepicker -> DatePicker
checkbox -> CheckBox
checkboxgroup -> CheckBoxGroup
radio -> Radio
radiogroup -> RadioGroup
multifield -> MultiField

7. What are the developer tools provided by AEM?
A :
FlieVault
Dialog editor
Translator
Site Importer
CRXDE
Package Manager

8. Externalizer in AEM.
A : Externalizer allows to create absolute urls. One can create links based on the server instance line authorLink, publishLink, externalLink, absoluteLink. Externalizer can be configured in configMgr


No comments:

Post a Comment

Some more AEM 6 Interview Questions for Architects

 Some more AEM 6 Interview Questions for Architects 1. Consider you have a workflow with two steps. One step is to transfer the asset from s...