Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Get value of Data Dynamic List
Hello !
I has created a Data Dynamic List named SATA and i add values in this list . I specify , i has created that manually directly on site.
But i want get my data values in Eclipse and i don't know where data is stock . I think it's DDMContent but i don't know how i have to do ?
Thanks in advance !
Cordially
I has created a Data Dynamic List named SATA and i add values in this list . I specify , i has created that manually directly on site.
But i want get my data values in Eclipse and i don't know where data is stock . I think it's DDMContent but i don't know how i have to do ?
Thanks in advance !
Cordially
Hey Steve,
Dynamic Data List stuff can be accessed using the DDL* services from the API. Have a look in your database at the tables that are prefixed with DDL* and then you can (generally speaking) use the name as a prefix for the service. So a record on a data list is usually stored in the DDLRecord table and can be accessed using the DDLRecordLocalService* classes.
Let me know if that doesn't answer your question oro if you need something else.
Dynamic Data List stuff can be accessed using the DDL* services from the API. Have a look in your database at the tables that are prefixed with DDL* and then you can (generally speaking) use the name as a prefix for the service. So a record on a data list is usually stored in the DDLRecord table and can be accessed using the DDLRecordLocalService* classes.
Let me know if that doesn't answer your question oro if you need something else.
Hi,
I am facing same problem. I have created Data Dynamic List and storing some machine details.
Now i need get all the machine details in my custom portlet. How i can achieve this?
Thank You
I am facing same problem. I have created Data Dynamic List and storing some machine details.
Now i need get all the machine details in my custom portlet. How i can achieve this?
Thank You
Did you try having a look art the DDLRecord* services? You should be able to use them to get what you need.
Hi Andrew Jardine,
Thank you for your reply.
I am getting the below Json Vale but how i can get fieldvalues for example here machineName..
{"availableLanguageIds":["en_US"],"defaultLanguageId":"en_US","fieldValues":[{"instanceId":"wzoe","name":"machineName","value":{"en_US":"Honda Machine"}},{"instanceId":"swlk","name":"Text9c60","value":{"en_US":"Honda"}},{"instanceId":"ktjb","name":"CellOrOp","value":{"en_US":"23"}},{"instanceId":"ptnr","name":"ConcentrationLowerLimit","value":{"en_US":"7"}},{"instanceId":"krul","name":"ConcentrationUpperLimit","value":{"en_US":"7"}},{"instanceId":"xsvo","name":"Text5am59","value":{"en_US":"C5"}},{"instanceId":"dbfn","name":"PlaceOnImportSheetc0hk","value":{"en_US":"Maruti"}},{"instanceId":"dvfo","name":"PlaceOnImportSheeti5bz","value":{"en_US":"8"}},{"instanceId":"vpsd","name":"Date58aq","value":{"en_US":"2019-03-26"}},{"instanceId":"eqpn","name":"Integer2317","value":{"en_US":"30"}},{"instanceId":"poog","name":"Numberhe24","value":{"en_US":"80"}},{"instanceId":"fsct","name":"PlaceOnImportSheet19jn","value":{"en_US":"Honda"}}]}
i need output like
machineName:Honda Machine.
How i can get this values?
Thank You....
Thank you for your reply.
I am getting the below Json Vale but how i can get fieldvalues for example here machineName..
{"availableLanguageIds":["en_US"],"defaultLanguageId":"en_US","fieldValues":[{"instanceId":"wzoe","name":"machineName","value":{"en_US":"Honda Machine"}},{"instanceId":"swlk","name":"Text9c60","value":{"en_US":"Honda"}},{"instanceId":"ktjb","name":"CellOrOp","value":{"en_US":"23"}},{"instanceId":"ptnr","name":"ConcentrationLowerLimit","value":{"en_US":"7"}},{"instanceId":"krul","name":"ConcentrationUpperLimit","value":{"en_US":"7"}},{"instanceId":"xsvo","name":"Text5am59","value":{"en_US":"C5"}},{"instanceId":"dbfn","name":"PlaceOnImportSheetc0hk","value":{"en_US":"Maruti"}},{"instanceId":"dvfo","name":"PlaceOnImportSheeti5bz","value":{"en_US":"8"}},{"instanceId":"vpsd","name":"Date58aq","value":{"en_US":"2019-03-26"}},{"instanceId":"eqpn","name":"Integer2317","value":{"en_US":"30"}},{"instanceId":"poog","name":"Numberhe24","value":{"en_US":"80"}},{"instanceId":"fsct","name":"PlaceOnImportSheet19jn","value":{"en_US":"Honda"}}]}
i need output like
machineName:Honda Machine.
How i can get this values?
Thank You....
Mayme I'm missing something, but why don't you convert the JSON String to a JSON object and then traverse the object to get it. If you are using the JSON WS to get the value, does that mean that you are retrieving the value in a custom javascript based portlet?
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™