留言板

Custom fields - PAGE

Martin Jurášek,修改在8 年前。

Custom fields - PAGE

New Member 帖子: 5 加入日期: 15-8-10 最近的帖子
Hello

I have a groovy scrip which can add Role and Users to custom fields in liferay. Now i need to add custom fields in PAGE.

But i didnt find any interface for acces to page in com.liferay.portal.model package (there is interface for Role and Users).

Please, do you now, how can I add and set up Page in custom fields by script?
Thanks for answers emoticon
thumbnail
Meera Prince,修改在8 年前。

RE: Custom fields - PAGE

Liferay Legend 帖子: 1111 加入日期: 11-2-8 最近的帖子
HI
I did not understand your need. page means what it mean liferay layout or something else. Please provide more information.

Update or add something to custom fields we have expando API that can do all.


try these it may give some clue.

http://www.liferaysavvy.com/2014/02/introduction-to-liferay-custom.html


http://www.liferaysavvy.com/2014/02/working-with-liferay-custom-fields.html

Regards,
Meera Prince
thumbnail
Andew Jardine,修改在8 年前。

RE: Custom fields - PAGE

Liferay Legend 帖子: 2416 加入日期: 10-12-22 最近的帖子
Just in case you didn't quite get it from Meera's response, the "Page" concept from a UI and labeling perspective in Liferay maps to the Layout model and services in the API. Similarly you will find a few other concepts where the label doesn't match the api -- for example, a Portal Instance in the UI is a Company in the API. A Site in the UI is a Group in the API.
Martin Jurášek,修改在8 年前。

RE: Custom fields - PAGE

New Member 帖子: 5 加入日期: 15-8-10 最近的帖子
Thanks very much. Yes my problem was, that I didnt know, that Page - custom field is accessible from com.liferay.portal.service.layoutlocalservice.

Thanks again sir.