掲示板
update journal article custom attribute value from webcontent template
8年前 に Anoop Chiliveri によって更新されました。
update journal article custom attribute value from webcontent template
New Member 投稿: 14 参加年月日: 15/06/10 最新の投稿
Hello,
Can some one provide me the velocity code to update the journal article custom attribute value from webcontent template
Regards,
Anoop
Can some one provide me the velocity code to update the journal article custom attribute value from webcontent template
Regards,
Anoop
8年前 に Jorge Díaz によって更新されました。
RE: update journal article custom attribute value from webcontent template
Liferay Master 投稿: 753 参加年月日: 14/01/09 最新の投稿
In my opinion, it is not a good idea to update data from a velocity template.
You can call Liferay API from velocity following this information: https://www.liferay.com/community/wiki/-/wiki/Main/Access+to+Liferay+services+in+Velocity
It is fine to use it to query additional data, but a bad idea to update it.
You can call Liferay API from velocity following this information: https://www.liferay.com/community/wiki/-/wiki/Main/Access+to+Liferay+services+in+Velocity
It is fine to use it to query additional data, but a bad idea to update it.
8年前 に Anoop Chiliveri によって更新されました。
RE: update journal article custom attribute value from webcontent template
New Member 投稿: 14 参加年月日: 15/06/10 最新の投稿
Thanks Jorge. We found another way and implemented it in java class
Regards,
Anoop
Regards,
Anoop