Changing the Storage Type When Using Dynamic Data List Data Definitions

When working with Dynamic Data Lists, it is possible to create your own data definition. By default, the Liferay platform stores the data definition as an xml, but you may also store it as an expando type.

Resolution

To change the storage type, you can override the default property value, which is xml, by setting the following property in the portal-ext.properties file:

#Set the storage type that will be used to store the dynamic data lists
# records. Valid values are: expando and xml.

dynamic.data.lists.storage.type=xml

If the above property is left blank, a drop-down menu labeled Storage Type will be available with the options to select Expando or URL when adding a new data definition. (See Screenshot)

01.PNG

 

 

这篇文章有帮助吗?
0 人中有 0 人觉得有帮助