Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: How to add nee custom field type template in liefray 7 DDM
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
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
Hi,
Would it be possible to know exactly changes you made ?
Thank you,
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™