Quantcast
Channel: Adobe Community : Popular Discussions - CQ5 (read only)
Viewing all 12476 articles
Browse latest View live

CQ doesn't pick up nodetypes.cnd changes using Package Manager

$
0
0

Hi,

 

CQ doesn't seem to pick up the changes in custom nodetype definitions in nodetypes.cnd when I install the package containing the updated nodetypes.cnd using Package Manager, how do I get around this?

 

Steps

1) fire up a fresh installation of CQ

2) In Package Manager, upload a CQ package containing custom nodetypes.cnd

3) check that the custom nodetypes are registered in Node Type Administration console

4) change nodetypes.cnd by adding a new property in a custom nodetype inside nodetypes.cnd file

5) make a new package with updated nodetypes.cnd file

6) In Package Manager, upload the new CQ package and install

7) check that the new property has been added in Node Type Administration console <-- ***FAIL***

 

 

Thanks!


CQ5 Response Encoding

$
0
0

Hi Folks,

 

Does any one know whats default character encoding used by CQ5? (UTF-8, ISO-8859-1 etc)

 

Does it depend on whats the encoding used when the file was stored, if so whats the default encoding CRXDE uses to store file?

/etc/crxde/profiles/default/classpath.xml.xslt has following setting.. does it means anything in this case?

<xsl:output method="xml" encoding="UTF-8" indent="yes"/>

 

Thanks an in advance!

 

- Adnan

On-Off time

$
0
0

Hi all,

 

Can anyone let me know which bundle is responsible for the on-off time property in a page.

When off time is set to a page , the page gets deactivated in that particular time of the day.

I want to see the query being applied to do the deactivation and the scheduler .

 

I am using cq5.6.1 .

 

Thanks in advance.

Report framework requires at least one grouped column

$
0
0

A Report requires at least one grouped column, otherwise finish button will lead to "The report doesn't contain grouped columns".

Is it possible to configure a report not to require grouping?

how to determine Dispatcher is working with CQ5 Publish instance.?

$
0
0

Hi all create author and publish instance for CQ5 site, when author modify any content over the site these are replicated on publish instance successfully, now i want to use dispatcher so for this i have configured that with publish instance in IIS as described in the article  CQ Dispatcher IIS Set Up - CQ Tutorials. now i want to check Dispatcher is working or not for publish instance. and what it is doing for CQ5 publish instance

HOW TO ADD custom newsletter image template in cq5 newsletter

$
0
0

HI,

 

if any body knows how we can add my newsletter template , please let me know how to do that.

 

I dont want to use default geometrix newsletter template ,but i am creating my newsletter template and that i want to use . iam creating my newsletter template and also adding resourcetype as :- /content/campaigns(/.*)?

but i am not able to see my template under campaign folder.

 

Please help me to solve this issue.

 

thanks

When do I create my custom nodetype

$
0
0

What are the situations which triggers to create a custom node type? What are its benefits? When should you not create a node type? Any inputs on these lines would really help.

 

Thanks,

Chetanya

CQ5 Trial

$
0
0

I’m trying to set up a local, non-production environment to test and evaluate CQ5. I’ve downloaded the ‘Adobe Digital Enterprise Platform (ADEP) – Experience Services  ’ and followed the install instruction given (http://dev.day.com/docs/en/cq/current/getting_started/download_and_startworking.html), but all I get is the option to use CRXDE lite. There is no option for CQ5 WCM as shown on some of the getting started scripts on the Adobe web site. How do I set up a website (there isn’t a websites menu open now) so that I can test/evaluate CQ5 locally? Thanks…fred


JQuery - Multiple versions

$
0
0

Hi,

 

CQ5.4 uses jQuery version 1.4.4, and the latest version available is 1.7.2. For some reasons we would like to use 1.7.2 version of the jQuery, but its clashing with the OOB jQuery version.

 

I would like to know:

  • How do we use jQuery latest pack with CQ5 (noConflict)
  • Will there be an impact in the author / publish instance if 1.4.4 is replaced with 1.7.2?
  • Some of the CQ5 libraries are dependent on OOB jQuery (1.4.4) so in such cases how can I work with both the versions without any conflict?

 

Thanks,

Chetanya

How do i use querybuilder.json to return similar search

$
0
0

Can querybuilder.json return a similar search?  That is if I use

querybuilder.json?fulltext=walnt

I'd like to get the results for "walnut".  What predicate should I use?

How to limit path field selection only to one level?

$
0
0

Hi

 

Requirement:

 

      I have a pathfield where i have set a root path

 

for eg: /content/geometrix

 

 

req1.png

author shud be able to select only among these nodes. he shud not be able to select the child nodes of each individual nodes

 

eg: he can select /content/geometrixx/English

 

req2.png

 

 

but he shud not select child page of English

 

ie : /content/geometrixx/English/Toolbar shud not be assesible to him

 

req3.png

 

 

 

Hope my requirement is clear. Is there anyway we can achieve this.. If we can limit the nodes from expanding; then it would be very useful . Is there any way we can achieve this??

 

 

Thanks

 

Veena

How CQ.wcm.SiteAdmin.activatePage calling ReplicationAction class as back end ?

$
0
0

I want to understand the functionality behind the CQ.wcm.SiteAdmin.activatePage method . It internally calls internalActivatePage and which somewhere triggers the actual Replication os the page.

 

Please help me out understanding the connection between these two.

 

Thanks in advance.

Trail version of CQ5

$
0
0

I want to get a trail version fro CQ5 , Is there any way to get It? Please any body can help me on this.CQ5 Trial

How to create a query in for lastModifiedDate in Query Builder

$
0
0

I want to create a query to get the Dam Assets those with their lastModifiedDate that match the current date.

 

The usual lastmodified date is of the format yyyy-MM-ddThh:mm:ss etc.

 

With the current date we only have "yyyy-MM-dd"

 

I tried something like this ,

 

            map.put("path","/content/dam");

            map.put("type","dam:Asset");

            map.put("property","cq:lastModified");

            map.put("property.value","yyyy-MM-dd*"); / map.put("property.value","yyyy-MM-dd~"); / map.put("property.value","yyyy-MM-dd");

 

But i was not able to get the desired results.

 

Please suggest if there is a a way to do it if you have already tried anything similar .

 

Thanks in  advance

 

Harish

Where to download cq-quickstart-5.3.0.jar


Vaultclipse plugin

$
0
0

Has anyone got vaultclipse plugin working for Eclipse in windows machine.  I have it working just fine in Mac.

In windows, same configuration gives me filenotfound error when "import".  It looks like it exports in different folder and tries to import from different folder.

 

Any thoughts?

Workflow Process Implementation not found

$
0
0

Hello,

 

     I've created a workflow process in AEM 5.6.  When I initiate the workflow, the workflow is not completed and in the Inbox Console, I see 'process implementation is not found'.

 

Here is the sample workflow process:

 

package com.test.workflowtest;

 

import org.apache.felix.scr.annotations.Component;

import org.apache.felix.scr.annotations.Properties;

import org.apache.felix.scr.annotations.Property;

import org.apache.felix.scr.annotations.Service;

import org.osgi.framework.Constants;

import org.apache.felix.scr.annotations.Reference;

/**

import com.day.cq.workflow.WorkflowException;

import com.day.cq.workflow.WorkflowSession;

import com.day.cq.workflow.exec.WorkItem;

import com.day.cq.workflow.exec.WorkflowData;

import com.day.cq.workflow.exec.WorkflowProcess;

import com.day.cq.workflow.metadata.MetaDataMap;

*/

import com.adobe.granite.workflow.WorkflowException;

import com.adobe.granite.workflow.WorkflowSession;

import com.adobe.granite.workflow.exec.WorkflowProcess;

import com.adobe.granite.workflow.exec.WorkItem;

import com.adobe.granite.workflow.metadata.MetaDataMap;

 

import org.slf4j.Logger;

import org.slf4j.LoggerFactory;

 

import org.apache.sling.api.resource.ResourceResolverFactory;

import org.apache.sling.api.resource.ResourceResolver;

 

@Component

@Service

@Properties({

        @Property(name = Constants.SERVICE_DESCRIPTION, value = "Test Process."),

        @Property(name = Constants.SERVICE_VENDOR, value = "TEST"),

        @Property(name = "process.label", value = "Test WF Process")})

 

public class Test implements WorkflowProcess{

   private static final Logger log = LoggerFactory.getLogger(Test.class);

 

          @Reference

          private ResourceResolverFactory resourceResolverFactory;

 

          public void execute(WorkItem item, WorkflowSession session, MetaDataMap args)

        throws WorkflowException {

 

        log.debug("======== Test Process ===========");

        ResourceResolver resolver = null;

        try{

                              resolver = resourceResolverFactory.getAdministrativeResourceResolver(null);

        }catch(Exception e)

        {

            e.printStackTrace();

        }

    }

}

 

=============

Exception:


02.05.2013 11:25:23.305 *ERROR* [JobHandler: /etc/workflow/instances/2013-05-02/model_79635435153979:/content/test1] com.adobe.granite.workflow.core.job.JobHandler Process implementation not found: com.test.workflowtest.Test com.adobe.granite.workflow.WorkflowException: Process implementation not found: com.test.workflowtest.Test

          at com.adobe.granite.workflow.core.job.HandlerBase.executeProcess(HandlerBase.java:221)

          at com.adobe.granite.workflow.core.job.JobHandler.process(JobHandler.java:139)

          at org.apache.sling.event.jobs.JobUtil$1.run(JobUtil.java:272)

          at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

          at java.lang.Thread.run(Unknown Source)

02.05.2013 11:25:25.333 *ERROR* [JobHandler: /etc/workflow/instances/2013-05-02/model_79635435153979:/content/test1] com.adobe.granite.workflow.core.job.JobHandler Process implementation not found: com.test.workflowtest.Test com.adobe.granite.workflow.WorkflowException: Process implementation not found: com.test.workflowtest.Test

          at com.adobe.granite.workflow.core.job.HandlerBase.executeProcess(HandlerBase.java:221)

          at com.adobe.granite.workflow.core.job.JobHandler.process(JobHandler.java:139)

          at org.apache.sling.event.jobs.JobUtil$1.run(JobUtil.java:272)

          at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

          at java.lang.Thread.run(Unknown Source)

02.05.2013 11:25:27.361 *ERROR* [JobHandler: /etc/workflow/instances/2013-05-02/model_79635435153979:/content/test1] com.adobe.granite.workflow.core.job.JobHandler Process implementation not found: com.test.workflowtest.Test com.adobe.granite.workflow.WorkflowException: Process implementation not found: com.test.workflowtest.Test

          at com.adobe.granite.workflow.core.job.HandlerBase.executeProcess(HandlerBase.java:221)

          at com.adobe.granite.workflow.core.job.JobHandler.process(JobHandler.java:139)

          at org.apache.sling.event.jobs.JobUtil$1.run(JobUtil.java:272)

          at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

          at java.lang.Thread.run(Unknown Source)

02.05.2013 11:25:29.389 *ERROR* [JobHandler: /etc/workflow/instances/2013-05-02/model_79635435153979:/content/test1] com.adobe.granite.workflow.core.job.JobHandler Process implementation not found: com.test.workflowtest.Test com.adobe.granite.workflow.WorkflowException: Process implementation not found: com.test.workflowtest.Test

          at com.adobe.granite.workflow.core.job.HandlerBase.executeProcess(HandlerBase.java:221)

          at com.adobe.granite.workflow.core.job.JobHandler.process(JobHandler.java:139)

          at org.apache.sling.event.jobs.JobUtil$1.run(JobUtil.java:272)

          at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

          at java.lang.Thread.run(Unknown Source)

 

 

=======

Findings:  Gettting exception only when I use below code in the workflow process.

 

@Reference

  private ResourceResolverFactory resourceResolverFactory;

 

 

Any help would be more helpful..

 

Thanks

Siva

 


How to disable authentication in CQ?

$
0
0

Hi ,

 

i have written a servlet on my instance and i wanto hit this from another instance wihtouht asking fro authentication ?

 

Please suggest how can i disable authentication on the first CQ instance .

 

Thanks

How to trigger an email when workflow instance fails??

$
0
0

Hello,

 

We have a requirement where in a mail should be triggered to the system administrator in case a workflow instance fails.

 

I tried setting up a launcher (to trigger a Test Workflow that sends mail) with following configuration but it doesn't get triggered.

 

Launcher_WF.jpg

The same launcher on cq:workflow node modification under /etc/workflow/instances/....... triggers my Test workflow if I change the Launcher Glob Path to /etc/workflow(/.*)

 

So, I have a couple of questions:

  • Is this feature is available out of the box in CQ 5.6?
  • If not, then how should this requirement be implemented?

 

Thanks!!

Writing and reading value in widget to parent node

$
0
0

Hello,

 

CQ 5.6.1

 

Using the Page's dialog, I have a property being written to and read from <current page>/jcr:content@isMenuRoot.

 

I'd like to have another statically defined component on the page read and write to the same property on the page node.  It's easy enough to get the value written.  In this component's dialog, I set the name of the widget to "../isMenuRoot".  When I check the box and click OK, the expected attribute is written to the jcr:content node.  When I leave the box unchecked, the @isMenuRoot is removed.

 

However, the saved value isn't being loaded when the dialog is invoked.  Hooking into the loadcontent event for the dialog simply doesn't show it in the record.  I've tried this with various xtypes and it makes no difference.

 

I could have sworn I'd written and read values to parent nodes in older versions of CQ, but perhaps I'm remembering wrong.

 

Does anyone know if I can load values written to a parent node from a component's dialog?

 

Thanks!

Garth

Viewing all 12476 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>