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
regarding liferay 7 web forms, how can we show the submitted form entries
In liferay 7.1 we have a concept web forms(DDMForm) there, by using this, if we submit the form, to see the submitted form entries, we need to go inside the controle panel, without going inside of the control panel, how can we show the submitted forms to the end user's after he login
Hi Ganesh, You can use the Services provided by Liferay for fetching form data1. DDMFormInstanceLocalService2. DDMFormInstancesRecordLocalService3.DDMFormInstanceRecordVersionLocalService
If you want to fetch it through Web Service then you can use below code
If you want to fetch it through Web Service then you can use below code
[code]Liferay.Service(
'/ddm.ddmforminstance/get-form-instances',
{
companyId: 20099,
groupId: 20126,
start: -1,
end: -1
},
function(obj) {
console.log(obj);
}
);
ok, thanks sir, but is there any other way to show the this form entries directly on user logged in based on user's role(directly giving access to form entries page)
Yes you can show the form module in site administrator to user role or any other role also , by defining permission for that role in controlpanel->role . But user will e able to see all form entries.
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™