Hi, So how do I programically version a page? Basically what I want is regardless of the page has been modified or not, the page should create a new version when I execute the code. I have tried VersionManager.checkin(path), but it doesn't work. Thanks.
smacdonald2008 wrote... Here is a blog that i show how to use Dates and JCR SQL2: http://scottsdigitalcommunity.blogspot.ca/2015/12/using-date-values-in-jcr-sql2-queries.html Thank you.Please correct me if I am wrong, for the solution you provided above, I have to execute this query for each ass...
How do I find all the assets that has been published for more than 1 year using JCR SQL2 ? Because each asset has a different cq:lastReplicated value, I believe I need to do something like SELECT parent.* FROM [cq:Page] AS parent INNER JOIN [nt:base] AS child ON ISCHILDNODE(child,parent) WHERE ISDES...
sam.stange wrote... Sorry, I thought you were talking about adding a workflow launcher on a sling:OrderedFolder. Where are you trying to add the functionality? [img]2015-06-17_21-52-21.png[/img] I mean here.
If I understand you correctly, you are saying on siteadmin page, overwrite the dialog javascript to enable the workflow on context menu, then write a servlet to trigger the workflow?
Hi, I have a requirement that I need to start a workflow on a selected asset workflow. This will iterate each asset under this folder and process some work. But when I right click on an asset folder, the "workflow" option is disabled. So I am wondering if it is possible to start a workflow on an as...
Hi, Thanks for the link. It is really helpful! I have managed to setup the SSI. But One thing confusing me is how do I differ the WCMMode in publish instance from dispatcher? This is what I wrote in the code, author and dispatcher are working fine, But the publish instance does not show. Any idea?<...
Bruce Lefebvre wrote... Try hitting your component without the 'dynamic' selector (for example, http://localhost:4505/content/myapp/mypage/_jcr_content/rightPar/dynamicComponent.html). The contents of dynamicComponent.jsp (including 'render this') will not be included in the response when the select...
Hi I have a componenet that has some dynamic content. And I don't want to dispatcher to cache this part. So inspired by http://www.slideshare.net/netceteragroup/dynamic-components-using-singlepageapplication-concepts-in-aemcq-39532610 (Page 4), This is what I did, under apps/myapp/dynamicComponent...