RE: unable to call some screenletsRE: unable to call some screenletshttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1103630842024-03-29T09:32:34Z2024-03-29T09:32:34ZRE: unable to call some screenletsVictor Galanhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1107025252018-08-14T15:36:55Z2018-08-14T15:36:55Z<p>Hi!</p>
<p>Can you try some things to see if the service is working properly, please?</p>
<p>- First of all execute this to check the classNameId:</p>
<pre>
curl http://screens.liferay.org.es/api/jsonws/classname/fetch-class-name \
-u test@liferay.com:test \
-d value='com.liferay.journal.model.JournalArticle</pre>
<p>- Perform the same request that the asset list:</p>
<pre>
curl <a href="http://screens.liferay.org.es/api/jsonws/assetentry/get-entries">http://screens.liferay.org.es/api/jsonws/assetentry/get-entries</a> \
-u test@liferay.com:test11 \
-d entryQuery="{\"classNameIds\":<your-journal-class-name-id>, \"groupIds\":<your-group-id>, \"visible\":true, \"end\":50, \"start\":0}"
</pre>
<p> </p>
<p>Regards</p>Victor Galan2018-08-14T15:36:55ZRE: unable to call some screenletsPrakash Kumar Singhhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1106991762018-08-14T09:27:33Z2018-08-14T09:27:33Z<blockquote>
<div class="quote-title">Victor Galan:</div>
<div class="quote">
<div class="quote-content">
<p>Hi!</p>
<p> </p>
<p>are you receiving any data in your connector? can you share the
implementation of the connector and the interactor?</p></div></div></blockquote>
<p> </p>
<p>i am using liferay asset list screenlet and set 30801 in class name
id for journal article list . </p>
<p>There are 2 case:</p>
<p>1.) when i set document media and blog class name id it shows list.</p>
<p>2.) when i set journal article class name id , it does not shows list. </p>
<p> </p>
<p> </p>
<p> </p>Prakash Kumar Singh2018-08-14T09:27:33ZRE: unable to call some screenletsVictor Galanhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1106881382018-08-13T15:23:00Z2018-08-13T15:23:00Z<p>Hi!</p>
<p> </p>
<p>are you receiving any data in your connector? can you share the
implementation of the connector and the interactor?</p>Victor Galan2018-08-13T15:23:00ZRE: unable to call some screenletsPrakash Kumar Singhhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1106801422018-08-09T10:24:33Z2018-08-09T10:24:33Z<blockquote>
<div class="quote-title">Victor Galan:</div>
<div class="quote">
<div class="quote-content">
<p>Hi!</p>
<p> </p>
<p>There is a listener method</p>
<pre>
onListRowsReceived</pre>
<p>in the Screenlet, can you check if you are receiving any data here?</p></div></div></blockquote>
<p>yes , i checked , it showing empty list. </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>Prakash Kumar Singh2018-08-09T10:24:33ZRE: unable to call some screenletsVictor Galanhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1106746082018-08-07T20:02:34Z2018-08-07T20:02:34Z<p>Hi!</p>
<p> </p>
<p>There is a listener method</p>
<pre>
onListRowsReceived</pre>
<p>in the Screenlet, can you check if you are receiving any data here?</p>Victor Galan2018-08-07T20:02:34ZRE: unable to call some screenletsPrakash Kumar Singhhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1106619282018-08-03T05:37:27Z2018-08-03T05:37:27Z<blockquote>
<div class="quote-title">Victor Galan:</div>
<div class="quote">
<div class="quote-content">
<p>Can you show me how are you doing it?</p></div></div></blockquote>
<p>Actually when i am taking classNameid of blog and document media . it
is working fine and when i am taking classname id of web content
article , it is showing blank list , in my case class name id is
30801. I have attached one image here. </p>
<p> </p>
<p>thanks</p>
<p>Prakash </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>Prakash Kumar Singh2018-08-03T05:37:27ZRE: unable to call some screenletsVictor Galanhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1106580202018-08-02T06:55:12Z2018-08-02T06:55:12Z<p>Can you show me how are you doing it?</p>Victor Galan2018-08-02T06:55:12ZRE: unable to call some screenletsPrakash Kumar Singhhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1106564682018-08-01T13:03:50Z2018-08-01T13:03:50Z<p>yes, now we are getting mobile services activated . but in case of
asset list screenlet always showing blank list in interactor . </p>Prakash Kumar Singh2018-08-01T13:03:50ZRE: unable to call some screenletsVictor Galanhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1106514072018-07-31T14:42:37Z2018-07-31T14:42:37Z<p>Hey,</p>
<p> </p>
<p>Is it possible for you to use a newer version of the Liferay DXP
bundle so? These problems are fixed in those versions</p>
<p> </p>
<p>Regards</p>
<p> </p>Victor Galan2018-07-31T14:42:37ZRE: unable to call some screenletsPrakash Kumar Singhhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1106377832018-07-25T09:05:51Z2018-07-25T09:05:51Z<p>We had also installed the Screens Plugin once, but it doesn't gets
activated. Plugin is attached below...</p>Prakash Kumar Singh2018-07-25T09:05:51ZRE: unable to call some screenletsVictor Galanhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1106373652018-07-25T08:15:47Z2018-07-25T08:15:47Z<p>I was wrong, Liferay Screens Plugin is not included in the dxp
bundle, you have to install it from the <a href="https://web.liferay.com/es/marketplace/-/mp/application/54369726">marketplace</a></p>
<p> </p>Victor Galan2018-07-25T08:15:47ZRE: unable to call some screenletsPrakash Kumar Singhhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1106362092018-07-25T05:19:54Z2018-07-25T05:19:54Z<p>We ran 'lb screens' command on the gogo shell and it returned 'No
matching bundles found'</p>Prakash Kumar Singh2018-07-25T05:19:54ZRE: unable to call some screenletsVictor Galanhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1106275672018-07-24T15:26:10Z2018-07-24T15:26:10Z<p>The video is showing a different error than what you indicated, but
now it makes more sense.</p>
<p>Can you access your gogo shell and try to run 'lb screens', I think
the services are not being activated</p>Victor Galan2018-07-24T15:26:10ZRE: unable to call some screenletsPrakash Kumar Singhhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1106270062018-07-24T11:04:38Z2018-07-24T11:04:38Z<p>Video file URL is <a href="https://ufile.io/h6yi8">Here.</a> In which
we have shown what we are doing.</p>Prakash Kumar Singh2018-07-24T11:04:38ZRE: unable to call some screenletsVictor Galanhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1106212072018-07-23T07:57:55Z2018-07-23T07:57:55Z<p>Hey</p>
<p>Did you try to debug this line to see if something is failing?: <a href="https://github.com/liferay/liferay-screens/blob/develop/android/library/src/main/java/com/liferay/mobile/screens/util/ServiceProvider.java#L37">https://github.com/liferay/liferay-screens/blob/develop/android/library/src/main/java/com/liferay/mobile/screens/util/ServiceProvider.java#L37</a></p>
<p> </p>
<p>If you can provide us a reproducible sample we can debug it</p>
<p> </p>
<p>Thanks!</p>Victor Galan2018-07-23T07:57:55ZRE: unable to call some screenletsPrakash Kumar Singhhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1105906442018-07-19T10:42:49Z2018-07-19T10:42:49Z<blockquote>
<div class="quote-title">Victor Galan:</div>
<div class="quote">
<div class="quote-content">
<p>Can you share your server_context.xml?</p></div></div></blockquote>
<p>Please find attached xml file.</p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>Prakash Kumar Singh2018-07-19T10:42:49ZRE: unable to call some screenletsVictor Galanhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1105703782018-07-16T14:24:16Z2018-07-16T14:24:16Z<p>Can you share your server_context.xml?</p>Victor Galan2018-07-16T14:24:16ZRE: unable to call some screenletsPrakash Kumar Singhhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1104263722018-07-11T07:58:17Z2018-07-11T07:58:17Z<p>Liferay Screens Compatibility Plugin (<a
href="http://www.liferay.com/marketplace/-/mp/application/54365664">CE</a> or <a
href="http://www.liferay.com/marketplace/-/mp/application/54369726">EE</a>,
depending on your Liferay edition). This app is preinstalled in
Liferay 7.0 CE and Liferay DXP instances.</p>
<p>this written on <a href="https://dev.liferay.com/develop/reference/-/knowledge_base/7-0/assetlistscreenlet-for-android">https://dev.liferay.com/develop/reference/-/knowledge_base/7-0/assetlistscreenlet-for-android</a></p>
<p>as i checked no Compatibility plugin installed with liferay dxp
instance .</p>
<p>Even Liferay Screens Compatibility Plugin downloaded from marketplace
and used with dxp , but it's not workable.</p>
<p>So now how to proceed ?</p>Prakash Kumar Singh2018-07-11T07:58:17ZRE: unable to call some screenletsVictor Galanhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1104196422018-07-10T06:09:49Z2018-07-10T06:09:49Z<p>Hey</p>
<p> </p>
<p>Are you setting the versionFactory property in the server_context?</p>
<p>I think something its failing here: <a href="https://github.com/liferay/liferay-screens/blob/develop/android/library/src/main/java/com/liferay/mobile/screens/util/ServiceProvider.java#L37">https://github.com/liferay/liferay-screens/blob/develop/android/library/src/main/java/com/liferay/mobile/screens/util/ServiceProvider.java#L37</a></p>
<p> </p>
<p>Can you put a breakpoint in that method and see if something its failing?</p>
<p> </p>
<p>You can also try setting the version manually with</p>
<pre>
LiferayServerContext.<span>setPortalVersion</span>(LiferayPortalVersion.<span>VERSION_70</span>);</pre>
<p> </p>
<p> </p>
<p>I hope it helps</p>
<p> </p>
<p>Regards</p>
<p> </p>Victor Galan2018-07-10T06:09:49ZRE: unable to call some screenletsPrakash Kumar Singh