Highlighted

Overlay not working.!

vijayk87714775

16-10-2017

Hi,

As per the requirement, I need to custom properties while creating translation project. I'm trying to overlay the translation template by overlaying this path:

/libs/cq/core/content/projects/templates/create-translation-project

and after that adding custom properties in jcr:content node of this template. After doing this, while I'm trying to create the translation project, those custom added properties are not reflecting in project.

Can you please suggest way of doing that?

Regards,

Vijay

Replies

Highlighted

smacdonald2008

16-10-2017

In your project - are you using the new props - for example - are you attempting to read them and they are not there? How are you trying to use the new properties?

Highlighted

vijayk87714775

17-10-2017

Hi Smac,

Thanks for replying .

The new props I'm going to use in Translation workflow i.e. whenever a new translation project gets created, I want to read those properties in translation workflow process steps.

Highlighted

smacdonald2008

17-10-2017

Have you introduced application logic in your Workflow step to read these new properties. If so - how are you doing so. I want to make sure that there is business logic somewhere making use of these new props.

Highlighted

vijayk87714775

19-10-2017

Hi Smac,

These new props I'm going to read in the workflow custom process step. I've written custom process step as part of translation workflow that triggers whenever I create a new translation project. So, on execution of workflow, custom process will fetch props values from payload jcr:content and based on the further code is written.