<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Custom Liferay ScreenLets</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=111811377" />
  <subtitle>Custom Liferay ScreenLets</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=111811377</id>
  <updated>2026-04-04T01:03:49Z</updated>
  <dc:date>2026-04-04T01:03:49Z</dc:date>
  <entry>
    <title>RE: Custom Liferay ScreenLets</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111964319" />
    <author>
      <name>Ehtisham Zahid</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111964319</id>
    <updated>2019-01-09T06:22:55Z</updated>
    <published>2019-01-09T06:22:55Z</published>
    <summary type="html">&lt;p&gt;Hi &lt;span style="font-size: 16.0px;"&gt;
    &lt;span style="color: inherit;font-family: inherit;"&gt;Javier,&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Appologies for not replying, was on holidays.&lt;/p&gt;
&lt;p&gt;Yes we are using 7.1 so now we have to go with DDLForm. Custom
  Interactor seems to be a better option for our scenario , it will be
  thankful if you send.&lt;/p&gt;
&lt;p&gt;Thanks for your help.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Ehtisham Zahid</dc:creator>
    <dc:date>2019-01-09T06:22:55Z</dc:date>
  </entry>
  <entry>
    <title>RE: Custom Liferay ScreenLets</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111873541" />
    <author>
      <name>Javier Gamarra</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111873541</id>
    <updated>2018-12-24T10:55:00Z</updated>
    <published>2018-12-24T10:55:00Z</published>
    <summary type="html">&lt;p&gt;I suppose you are using 7.1. With 7.0 it was possible to use
  the DDLFormScreenlet with both forms and DDL but with 7.1 is not
  possible. If you want to use DDLFormScreenlet you could...&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;Use the new forms screenlet (in beta, using apio APIs)...
    documentation will arrive soon but right now it's pretty much undocumented.&lt;/li&gt;
  &lt;li&gt;Add a custom interactor that allows you to submit the form (I
    could send it to you).&lt;/li&gt;
  &lt;li&gt;Use DDL instead of forms.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;I could guide you in whatever solution you prefer. The checkbox issue
  looks like the app is just missing the theme or something similar,
  should be easy to fix.&lt;/p&gt;</summary>
    <dc:creator>Javier Gamarra</dc:creator>
    <dc:date>2018-12-24T10:55:00Z</dc:date>
  </entry>
  <entry>
    <title>RE: Custom Liferay ScreenLets</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111849945" />
    <author>
      <name>Ehtisham Zahid</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111849945</id>
    <updated>2018-12-20T07:49:59Z</updated>
    <published>2018-12-20T07:49:59Z</published>
    <summary type="html">&lt;p&gt;Hi Javier,&lt;/p&gt;
&lt;p&gt;I tried DDLFormScreenlet with Liferay forms but still facing error in
  submitting form. EmailForm displaying ID: 48718. I consider this id as
  recordSetId and tried structureId as 48716 , 48720 this is not loading
  form. while in database this formInstance have structureId 48715. when
  i pass 48715 as structureId this loads the form but gives error while
  submitting form.&lt;/p&gt;
&lt;p&gt;
  &lt;span style="color: rgb(178,34,34);"&gt;Error
    Domain=com.liferay.mobile.sdk Code=2 &amp;quot;No DDLRecordSet exists
    with the primary key 48718&amp;quot;
    UserInfo={NSLocalizedFailureReason=com.liferay.dynamic.data.lists.exception.NoSuchRecordSetException,
    NSLocalizedDescription=No DDLRecordSet exists with the primary key 48718}&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Also attaching some screenshots.&lt;/p&gt;
&lt;p&gt;Please have a look on this. &lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Ehtisham Zahid</dc:creator>
    <dc:date>2018-12-20T07:49:59Z</dc:date>
  </entry>
  <entry>
    <title>RE: Custom Liferay ScreenLets</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111847235" />
    <author>
      <name>Ehtisham Zahid</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111847235</id>
    <updated>2018-12-20T05:24:09Z</updated>
    <published>2018-12-20T05:24:09Z</published>
    <summary type="html">&lt;p&gt;Hi Javier&lt;/p&gt;
&lt;p&gt;Thanks for your suggestion.&lt;/p&gt;
&lt;p&gt;Can you please suggest in DDLFormScreenLet should i use Liferay Forms
  or DynamicDataList.&lt;/p&gt;
&lt;p&gt;Thanks&lt;br /&gt;  &lt;/p&gt;</summary>
    <dc:creator>Ehtisham Zahid</dc:creator>
    <dc:date>2018-12-20T05:24:09Z</dc:date>
  </entry>
  <entry>
    <title>RE: Custom Liferay ScreenLets</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111842329" />
    <author>
      <name>Javier Gamarra</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111842329</id>
    <updated>2018-12-19T16:18:20Z</updated>
    <published>2018-12-19T16:18:20Z</published>
    <summary type="html">&lt;p&gt;I would recommend the DDLFormScreenlet approach... if you have access
  to the database, you can get the recordSetId from the table. It is
  usally +2/-2 from the structureId. Can you try with the real
  recordSetId of the form, it should insert and work fine...&lt;/p&gt;
&lt;p&gt;If you need custom validation the best way of doing it is setting a
  listener in the field either with the id of the field or inspecting
  the view.&lt;/p&gt;</summary>
    <dc:creator>Javier Gamarra</dc:creator>
    <dc:date>2018-12-19T16:18:20Z</dc:date>
  </entry>
  <entry>
    <title>RE: Custom Liferay ScreenLets</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111837584" />
    <author>
      <name>Ehtisham Zahid</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111837584</id>
    <updated>2018-12-19T08:12:51Z</updated>
    <published>2018-12-19T08:12:51Z</published>
    <summary type="html">&lt;p&gt;Hi Javier ,&lt;/p&gt;
&lt;p&gt;Thanks alot this worked for me.&lt;/p&gt;
&lt;p&gt;One more thing, I have to use Liferay Forms in IOS application.&lt;/p&gt;
&lt;p&gt;there are two possible solutions , one DDLFormScreenlet and other is WebContentScreenlet&lt;/p&gt;
&lt;p&gt;Whileusing DDLFormScreenlet , I created Dynamic DataList in portal
  than accessed in app, It works fine except radioButtons, Location or
  Checkboxes are not visible in application. Data from app is saved in
  portal as well as in db.&lt;/p&gt;
&lt;p&gt;On other hand i created Liferay Form and try to access this in
  DDLFormScreenlet in which i faced some issues.    &lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;structureId and recordSetId are required attributes but Liferay
    form gives only structureId and formInstanceId&lt;/li&gt;
  &lt;li&gt;created seperate dynamic data list having same data definition as
    per in form and give its recordSetId combine with Liferay Form
    structureId to DDLFormScreenlet. This displays form in app, submit
    successfull, a new entry in form is saved but with empty record.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Custom validations are also required in this scenario like i need to
  modify input number into mask and have to fix the half length like
  66666XXX. How can i achieve this using Liferay forms or DDL in
  DDLFormScreenlet and should i need to validate it in app or webBackend.&lt;/p&gt;
&lt;p&gt;Will be looking for your help&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Ehtisham Zahid</dc:creator>
    <dc:date>2018-12-19T08:12:51Z</dc:date>
  </entry>
  <entry>
    <title>RE: Custom Liferay ScreenLets</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111812132" />
    <author>
      <name>Javier Gamarra</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111812132</id>
    <updated>2018-12-14T11:44:23Z</updated>
    <published>2018-12-14T11:44:23Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;p&gt;I understood that&amp;nbsp;you are building a screenlet from scratch and want
  to call your own remote service.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You should try to follow this &lt;a href="https://dev.liferay.com/develop/tutorials/-/knowledge_base/7-1/creating-ios-screenlets"&gt;tutorial&lt;/a&gt;.
  Specifically, this &lt;a href="https://dev.liferay.com/develop/tutorials/-/knowledge_base/7-1/creating-the-ios-screenlets-interactor"&gt;part&lt;/a&gt;&amp;nbsp;and
  instead of this code:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;let service = LRBookmarksEntryService_v7(session: session)

    do {
        try service.addEntryWithGroupId(LiferayServerContext.groupId,&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;... you add your own remote service call :)&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Javier Gamarra</dc:creator>
    <dc:date>2018-12-14T11:44:23Z</dc:date>
  </entry>
  <entry>
    <title>Custom Liferay ScreenLets</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111811376" />
    <author>
      <name>Ehtisham Zahid</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111811376</id>
    <updated>2018-12-14T10:33:23Z</updated>
    <published>2018-12-14T10:33:23Z</published>
    <summary type="html">&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am facing porblem in making custom liferay screenlet.&lt;/p&gt;
&lt;p&gt;First i build JSON webservice (Student entity) through service.xml by
  doing remote service true and implemented method in StudentServiceImpl&lt;/p&gt;
&lt;p&gt;The service i build is appearng in /api/jsonws and working properly.&lt;/p&gt;
&lt;p&gt;Then i created a custom screen in ios using LiferayScreen and what i
  am trying to access the LRStudentService in ios so that i can use it
  in ios application.&lt;/p&gt;
&lt;p&gt;Kindly suggest some solution how to use my custom api to be use in
  custom screenlet.&lt;/p&gt;
&lt;p&gt;what are the steps to do this.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Ehtisham Zahid</dc:creator>
    <dc:date>2018-12-14T10:33:23Z</dc:date>
  </entry>
</feed>
