« Back

Dynamic Data Lists I

Company Blogs July 12, 2011 By Marcellus Tavares Staff

One of the cool features that is coming in the next release of Liferay is the Dynamic Data Lists.

Basically, dynamic lists are a collection of information that you want to share. Lists resemble database tables. It supports various field types (data types) that you can use to create the metadata schema. Each item stored in a particular list shares that same schema.

With Dynamic Data Lists you can:

  • Graphically define the information to gather (schema)
  • Define how to display the information in detailed and list views (templates)
  • Define a workflow for approving captured information

In this first post, we are going to create a simple sign-up sheet for an event.

First, navigate to the Dynamic Data Lists portlet  in control panel (Figure 1).

Figure 1 - Dynamic Data Lists portlet

Then create a new list. In this step you need to either create a new schema or select an existing one (Figure 2). 

Figure 2 - Adding a new list and schema

And you are ready to populate the list. Click on Add Record button, fill the form (Figure 3) and that’s it! 

Figure 3 - Adding the list items

Figure 4 - List Items

 Keep Tuned for more updates! smiley

Threaded Replies Author Date
Dynamic Data List is one of 6.1 cool features.... Jonas Yuan July 13, 2011 9:24 AM
Awesome feature! Fernando Garcez July 13, 2011 9:54 AM
It's nice !!! Is posible to get the records... Andrés Cerezo July 13, 2011 11:48 AM
Andrés, I think in the next post he will show... Bruno Farache July 14, 2011 4:37 AM
Hey Andrés, yes it's possible. DDL is built on... Marcellus Tavares July 14, 2011 6:43 AM
This is really nice feature. Sir my requirement... asif aftab January 22, 2014 3:38 AM
Will that awesome GUI for adding a new list and... Szymon Gołębiewski July 15, 2011 4:23 AM
Is it a replacement or an extension to the... Andrius Kurtinaitis July 18, 2011 5:36 AM
@Szymon, Yes. We plan to integrate the form... Marcellus Tavares July 18, 2011 6:08 AM
Very keen to know about this.. Is this what we... Nilesh Gundecha July 18, 2011 8:17 AM
Nice feature !!!!!!!! Thanks Jignesh Vachhani July 19, 2011 12:01 AM
Great Feature.. Looking forward for this, as... Yogesh Agrawal July 20, 2011 11:58 AM
Great feature!!! There is something I seem to... Pius Onobhayedo July 22, 2011 3:32 AM
Hi Pius, the file upload will definitely come... Marcellus Tavares July 22, 2011 5:43 AM
Just what we were after :) Ben Brown July 25, 2011 3:19 AM
Hi Marcellus , Nice post . is it as powerful... KK rajput July 26, 2011 10:23 PM
Thanks for post! Shagul Khajamohideen August 9, 2011 9:49 AM
Thanks for the nice feature in 6.1. But As ... Gnaniyar Zubair August 21, 2011 2:33 AM
Nice Feature ! Ashish Ranjan September 27, 2011 12:17 AM
Very good step. 1. Is it possible to search in... Peter Ruzicka November 10, 2011 8:48 AM
and 3. column ordering? Peter Ruzicka November 10, 2011 8:50 AM
Hey Peter, at present we don't have these... Marcellus Tavares November 10, 2011 9:48 AM
Really cool features, i checked some of them in... Nagendra Kumar Busam November 30, 2011 12:40 AM
ya its a cool feature, but is it possible to... Praveen P May 14, 2012 4:38 AM
will there be a lookup column, where the... Mustafa Tülü May 14, 2012 12:18 PM
This is a great new tool for Liferay, but one... Randy Parsons October 12, 2012 11:36 AM
Yes praveen it is possible to define your data... asif aftab January 22, 2014 3:43 AM
This tells nothing to a person that has not... Rafael Valdez November 15, 2012 2:23 PM
Nice feature .... Amit Shah December 5, 2012 12:36 PM
Hi, That's a really interesting tool to work... Mahmoud EL BOUHY January 24, 2013 7:58 AM

Dynamic Data List is one of 6.1 cool features. Thanks.
Posted on 7/13/11 9:24 AM.
Awesome feature!
Posted on 7/13/11 9:54 AM.
It's nice !!! Is posible to get the records from database with source code?
Posted on 7/13/11 11:48 AM.
Andrés, I think in the next post he will show us how to display the records.
Posted on 7/14/11 4:37 AM in reply to Andrés Cerezo.
Hey Andrés, yes it's possible. DDL is built on top of a storage layer that the developer has access through the API. I'll talk about this next post.
Posted on 7/14/11 6:43 AM in reply to Bruno Farache.
Will that awesome GUI for adding a new list and schema will be available for Web Content structure edition page? emoticon
Posted on 7/15/11 4:23 AM.
Is it a replacement or an extension to the WebForm portlet?
Posted on 7/18/11 5:36 AM.
@Szymon, Yes. We plan to integrate the form builder in the web content portlet as well emoticon

@Andrius, It will be a replacement, but not for this release. 6.1 will still have web-form portlet.
Posted on 7/18/11 6:08 AM in reply to Andrius Kurtinaitis.
Very keen to know about this.. Is this what we call as Workflow Aware Forms?
Posted on 7/18/11 8:17 AM.
Nice feature !!!!!!!! Thanks
Posted on 7/19/11 12:01 AM in reply to Nilesh Gundecha.
Great Feature..
Looking forward for this, as replacement of web form.
Thanks !!!!
Posted on 7/20/11 11:58 AM.
Great feature!!! There is something I seem to miss though - a fileupload field in the data definition. I think it will make the DDL more complete. What do you think?
Posted on 7/22/11 3:32 AM in reply to Yogesh Agrawal.
Hi Pius, the file upload will definitely come in. Probably in a minor version of 6.1 release.
Posted on 7/22/11 5:43 AM in reply to Pius Onobhayedo.
Just what we were after emoticon
Posted on 7/25/11 3:19 AM.
Hi Marcellus ,
Nice post . is it as powerful as struts displaytag ??? or can you give how it is different from it
Posted on 7/26/11 10:23 PM in reply to Ben Brown.
Thanks for post!
Posted on 8/9/11 9:49 AM.
Thanks for the nice feature in 6.1. But As Pius said, It would be great if you add File upload feature with Dynamic Data. You could add that feature in this version itself till waiting for another version to get that feature.
Posted on 8/21/11 2:33 AM in reply to Shagul Khajamohideen.
Nice Feature !
Posted on 9/27/11 12:17 AM in reply to Gnaniyar Zubair.
Very good step. 1. Is it possible to search in displayed results (or include dynamic lists in liferay search portlet)? 2. Is there going to be result pagination? If not, is it going to be there? Thank you for the responses
Posted on 11/10/11 8:48 AM.
and 3. column ordering?
Posted on 11/10/11 8:50 AM.
Hey Peter, at present we don't have these features but certainly we're going to put that in. Btw, file upload was added for this release.
Posted on 11/10/11 9:48 AM in reply to Peter Ruzicka.
Really cool features, i checked some of them in 6.1 CE B4. File upload is there
Posted on 11/30/11 12:40 AM in reply to Marcellus Tavares.
ya its a cool feature, but is it possible to change format of that new data definition? i want two column form, in first column upload file options is to be given and for second column some text fields is to be given is it possible?
Posted on 5/14/12 4:38 AM in reply to Nagendra Kumar Busam.
will there be a lookup column, where the contents are populated from another dynamic list?
Posted on 5/14/12 12:18 PM in reply to Praveen P.
This is a great new tool for Liferay, but one more item would help make it complete. We were hoping to use it for internal Innovation competition at our company and we just need to be able to have the community rate each item submitted. Our process would be that the community could submit an idea (some competitions allow only one submission - others allow multiple - Data Lists has the feature!). The submission would be approved (Workflow enabled - Data Lists has the feature !). Once approved it would show up in a list that everyone could vote for their favourite but not be able to edit it. This is the missing component.

Anyone have any ideas? Thanks
Posted on 10/12/12 11:36 AM in reply to Mustafa Tülü.
This tells nothing to a person that has not used liferay before.
Posted on 11/15/12 2:23 PM.
Nice feature ....
Posted on 12/5/12 12:36 PM in reply to Rafael Valdez.
Hi,

That's a really interesting tool to work with.
1 - I wonder how does it work the date because when I export it I always have "Thu Jan 01 00:00:12 GMT 1970" and not the real inserted date
2 - where all the information are saved (which table) ?
Thanks
Posted on 1/24/13 7:58 AM.
This is really nice feature. Sir my requirement is to add data by user in a page and that data will store in database and next time if user will access he/she will see the data and can edit the data. Sir your blog is really help me to understand the advantage of DDL. Sir please post that how to fetch and push the data in data base through DDL.
Thanks
asif aftab
Posted on 1/22/14 3:38 AM in reply to Marcellus Tavares.
Yes praveen it is possible to define your data definition use this link may be it is helpful for you
http://liferay-blogging.blogspot.in/2011/08/liferay-61-features-dynamic-data-­lists.html
Posted on 1/22/14 3:43 AM in reply to Praveen P.