James Falkner Vor 10 Jahren Sébastien, very very nice post! A+ on formatting, use of Gist, translation, and of course dynamic scripting for the purposes of debugging and prototyping is really really useful for all devs.. Thanks, and keep 'em coming! Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Kailash Yadav Vor 10 Jahren Very nice article Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
(Sie) Vor 10 Jahren [...] // In reply to 5 tips to improve usage of the Liferay script console - by Sébastien Le Marchand [...] Read More Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Kan Zhang Vor 10 Jahren Tip #6: Schedule your script to run as a CRON jobhttp://www.liferay.com/web/kzhang/blog/-/blogs/re-5-tips-to-improve-usage-of-the-liferay-script-consoleI post it as a sepreate blog entry because I cannot use GIST or format in comment area... Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Jay Patel Vor 10 Jahren Very Interesting Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Enrique Valdes Lacasa Vor 9 Jahren Great article! Thanks Sébastien, I was just asking myself if I could use the actionRequest variable in the scripts...tip number 3 was what I needed. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Jörg Halitschke Vor 8 Jahren Really nice! Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Kashif Ayyaz Haider Vor 8 Jahren Very nice explanation, I am troubling to access custom service using your tips but no success.I have my own table generated via service builder say Bookwhen i callbooks = BookLocalServiceUtil.getBooks(QueryUtil.ALL_POS, QueryUtil.ALL_POS)it says No such property: BookLocalServiceUtil for class: Script5i have imported service package of my portlet as well here Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen Jeffrey Handa Kashif Ayyaz Haider Vor 8 Jahren Hi Kashif, If your'e using a Service from a plugin you'll need to use the PortletBeanLocatorUtil.locate() method. https://docs.liferay.com/portal/6.2/javadocs/com/liferay/portal/kernel/bean/PortletBeanLocatorUtil.html#locate(java.lang.String, java.lang.String)For example, bookLocalService= com.liferay.portal.kernel.bean.PortletBeanLocatorUtil.locate("book-portlet", "com.sample.service.BookLocalService")@Sébastien - Thanks for a great post! It's still very useful. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Jeffrey Handa Kashif Ayyaz Haider Vor 8 Jahren Hi Kashif, If your'e using a Service from a plugin you'll need to use the PortletBeanLocatorUtil.locate() method. https://docs.liferay.com/portal/6.2/javadocs/com/liferay/portal/kernel/bean/PortletBeanLocatorUtil.html#locate(java.lang.String, java.lang.String)For example, bookLocalService= com.liferay.portal.kernel.bean.PortletBeanLocatorUtil.locate("book-portlet", "com.sample.service.BookLocalService")@Sébastien - Thanks for a great post! It's still very useful. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen