RE: How to add nee custom field type template in liefray 7 DDM

thumbnail
Sachin J, modified 7 Years ago. New Member Posts: 21 Join Date: 10/9/15 Recent Posts
Hi All,

I need to add new custom field type in DDM structure in Liferay 7 DXP.
for to achieve this I have overridden below mentioned file

1. config.js
2. custom-fields-override.js
3. main-override.js
4. ROOT\dtd\liferay-ddm-structure_6_2_0.xsd

And we I'm able to populate those custom fields in DDM structure successfully and even able save and retrieve successfully from Database.

But the issue is I'm not able view this struucture in Dynamic Data list Display portlet becuase structure need a template i.e. under below mentioned file locations
1).
/dynamic-data-mapping/dynamic-data-mapping-service/src/main/resources/com/liferay/dynamic/data/mapping/dependencies/ddm/ customfieldtype.ftl


Tried with various ways but no use in our case, Requesting you guys please share proper way to override or add a new dependency in the DDM template in Liferay 7.

Thanks & Regards,
Sachin Jagtap
Mounir Hallab, modified 7 Years ago. Junior Member Posts: 27 Join Date: 3/2/15 Recent Posts

Hi,

Would it be possible to know exactly changes you made ?

Thank you,