Parse json data from inputstream using org.apache.sling.commons.json library
I had two options to receive the input stream data either xml or json. I decided to go to the json route. I am getting complex input data from an API in the json format. Can someone tell me how do I...
View ArticleRemove .html
Hi, Is there any simple way to remove .html of only one content page? Thanks,
View ArticleSiteCatalyst connection not working.
HelloI'm configuring the SiteCatalyst under the Cloud Services for the first time and my credentials are not working. I hit the Connect to SiteCatalyst button and is giving me an error message saying...
View Articlehow to deploy a OSGi bundle to mulitple publish boxes?
Hello, We are using CQ 5.5 , suppose we have 10 publish boxes and we need to deploy an OSGi bundle, do we have to deploy the OSGi bundle on all these 10 publish boxes? Do we have to install the bundle...
View ArticleSetting access rights at component level
I have created a component. The business wants to restrict its use to a certain group of users. If a user is part of that group, ONLY then the coomponent should be available in sidekick at time of...
View ArticleCalculation of jcr:score in CQ5
Hi, We are running a JCR SQL2 query to perform search over the content within pages. We have come across a clause "order by jcr:score" which I assume will be ordering the search results but I am not...
View ArticleHow to render image from page properties
Hello, I am using CQ 5.6. I have a problem rendering the image you can set in the page properties of a page. I use the same code to render that image as I do for images in my other components, but the...
View Articlewhat is the use of currentStyle in CQ5
Can you tell me inCQ5,theexact use ofcurrentStyle object.Ihave one line like int absParent = currentStyle.get("absParent", 3); MayI know what currentStyle will do here.
View Articlecreating custom tag library- AEM, CQ 5.6
Hi , I am creating a custom tag library and want to use it in one of the components I have created. I have made a bundle inside src/com.mycompany.test.TestBundle/com.mycompany.test.TestBundle.bnd and...
View ArticleJackrabbit search jcr repository on multiple paths using single query
Hi, I have been trying to work this out: using either xpath or SQL or SQL2, to perform a full text search on multiple paths. i.e. Search for 'promotion' under '/content/mysite/products/%' and...
View ArticleSSO and LDAP working together
Hello everyone!I'm currently running CQ5.5 Update 2. What I am trying to accomplish: So, I have a user logged into a windows remote desktop. He connects to a locally hosted dispatcher instance, which...
View ArticleDifference between DEACTIVATE and ACTIVATE replication Types.
Hi All, Replication agent can handle Deactivate and delete pages/nodes etc. I am trying to find what the difference between the two if I use the replication agent directly in the java code to...
View ArticleCQ5.3 server not ready
*ERROR* webapp-CRX Launchpad Webapp: ERROR: Error starting slinginstall:F:\Microsoft\cq5\crx-quickstart\launchpad\startup\15\org.apache.sling.runmod e-2.0.3-tlp-R818849.jar...
View ArticleCreate OSGi Bundle for GSA JAPI
Hi We will be using GSA for the search feature for the website built in CQ5.4. For integration we are using GSA JAPI (http://gsa-japi.sourceforge.net/gsa-japi.html), however I am getting error with the...
View ArticleSignificance of .content.xml
In cq5 developement, I have seen .content.xml. I donot see it in eclipse though its in my workspace and is visible if I directly browse my workspace through windows explorer. 1. What is significane of...
View Articlei18n text in Geometrixx demo site always display english version
Hi, In Geometrixx footer (apps/geometrixx/components/page/footer.jsp), some text is displayed using i18n.get(). Like for example: <p><%= i18n.get("We would like to keep in touch with you. Sign...
View ArticleHow to replicate bundle from Author to Publish
Hi, I have published a java bundle by right clicking and select 'Build Bundle' on the 'bnd' file, the bundle gets deployed properly on the 'Author' instance, but the 'publish' instance deploy failed....
View ArticleProblems Loading login/welcome page
Hi AllI am facing a weird problem with cq server's login/welcome page i am seeing this exceptions whenever i try to access http://<SERVER_NAME>:4502 and i see the exception 27.06.2013...
View Article"Unable to store record" error on newly cloned cluster member
Hi. We're running CQ5 5.5 SP1 and I'm trying to setup an author instance on a machine at a disaster recovery site. I want the DR author instance to be clustered with our existing non-clustered author...
View ArticleHow to populate a drop down from an external source say an excel sheet?
Hi ,I want to retrieve data from an external excel sheet to populate a drop down..how can i proceed?
View Article