留言板
Custom fields - PAGE
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
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
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
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
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.