I'm trying to upload a file to my crx repository in Jquery. However the script runs in a separate server than the which hosts CQ. Because of this the request is a CORS one. Also custom header are being set while the request is being sent because of which a preFlight doOptions is being sent. This sen...
SELECT * from [cq:PageContent] AS t WHERE ISDESCENDANTNODE(['/content/'])On local host this returns a large result setOn the testing server it does not report an error, but returns no results.It is as if there is no content under /content/ on the testing server.But that is not the case.SELECT * fro...
Hi,My current requirement is to invoke an external JS from a selection listener.In the listener's loadcontent() method, the external JS should be invoked anda method call needs to be made. For example,loadcontent : function(field, rec, path){//loadScript("/apps/cbc/widgets/source/widgets/File2.js", ...
On click of Activate button i need to call some other customized workflow, Where do i need to do the modifications, Which are the files involved in this in cq5 version 6.
How to modify the Page property in the Page component jsp and set the new modified value back to the Page property by setProperty(..,...) method? Can we set the Page property back? My Situation is I want to set the Unique Page ID for every page I create, So I would like this to be a Page Property...
I add a new button into sidekick. Assume there is a variable to control this button (not)gray in sidekick, but how to make it? Anyone know that, please comment on that.Thanks a lot! addToCart: function(sk){ var pagePanel = sk.panels["PAGE"]; var button = pagePanel.findBy(function(comp){ return comp[...
Hi All, When i try to modify a document's property in dam,its jcr:lastmodified property is not getting updated and retain the old date.Right now the project is in critical case. Any help in this,will be greatly appreciated..!!waiting for answers!!
There is a case to Add a button into sidekick, which need to be disable(grey) or enable also, controlled by one condition that data stored in AEM, please see following code:CQ.Ext.ns("MyClientLib"); var resultFromAEM; MyClientLib.ContentFinder = { addGsTranslate: function(sk){ var pagePanel = sk.pan...