How to set a global property per site in a multi site manager ?

 

 Question: We have several regional sites (Main, Asia, Europe, etc) for our company with different content. We wanted to set a property-value per site (like for Asia: customeruserorigin=ndc; Europe: customeruserorigin=connect; etc). How can we do that? Answer: You can do in multiple ways 1st approach : Create a page property for a template at site page. So that […]

Read More

Large message size causing error with xssAPI.filterHTML in AEM 6.1 ?

 

 Question: After a batch import, we get the following error in /libs/cq/gui/components/endor/badge/badge.jsp which prevented the touch UI from completely loading the authoring page java.lang.RuntimeException: Unable to scan input at org.apache.sling.xss.impl.HtmlToHtmlContentContext.filter(HtmlToHtmlContentContext.java:71) at org.apache.sling.xss.impl.XSSFilterImpl.filter(XSSFilterImpl.java:183) at org.apache.sling.xss.impl.XSSFilterImpl.filter(XSSFilterImpl.java:87) at org.apache.sling.xss.impl.XSSAPIImpl.filterHTML(XSSAPIImpl.java:332) at com.adobe.granite.xss.impl.XSSAPIImpl.filterHTML(XSSAPIImpl.java:101) at org.apache.jsp.apps.cq.gui.components.endor.badge.badge_jsp._jspService(badge_jsp.java:821) at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) Answer:  XSS API in AEM uses anti samy api for html encoding. The […]

Read More

Installed the new CQ5.6 instance .Getting 500 error in login page ?

 

 Question: Installed the new CQ5.6 instance .Getting 500 error in login page ? Getting the error :

Answer: Prerequisite says JDK 1.7, so please install 1.7 AEM 5.6.1 is not compatible with JDK 1.8.

Read More