留言板

LFR6.2 how to add custom fields to structure

Gangi Nandyala,修改在9 年前。

LFR6.2 how to add custom fields to structure

New Member 帖子: 3 加入日期: 12-10-17 最近的帖子
Does any one have complete list of steps/process to define new custom fields? I tried to add custom fields using dynamicdatamapping/main.js and custom_fields.jspf. But it didn't work.

I need to develop a realtor field ( similar to related assets), using that I can associate other web content. Is any one did this kind of customization. Please throw some thoughts.
Gangi Nandyala,修改在9 年前。

RE: LFR6.2 how to add custom fields to structure

New Member 帖子: 3 加入日期: 12-10-17 最近的帖子
i tried adding field using Forum but its not working i am getting below JavaScript error.
Error: TypeError: n.getFieldClass(...) is not a constructor

any idea?
thumbnail
Christoph Rabel,修改在9 年前。

RE: LFR6.2 how to add custom fields to structure

Liferay Legend 帖子: 1554 加入日期: 09-9-24 最近的帖子
Hi,

while it is possible to resolve the javascript errors, but you will get stuck afterwards. In short: Without an ext plugin it is not possible to add this functionality.
I made a feature request a while ago related to the issue.
https://issues.liferay.com/browse/LPS-41908

Even if you create a custom form field, you won't be able to store your new field type in the database.