RE: regarding liferay 7 web forms, how can we show the submitted form entr

Ganesh Puli, modified 6 Years ago. New Member Posts: 19 Join Date: 2/27/18 Recent Posts
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
thumbnail
Mohammed Yasin, modified 6 Years ago. Liferay Master Posts: 593 Join Date: 8/8/14 Recent Posts
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
[code]Liferay.Service(
  '/ddm.ddmforminstance/get-form-instances',
  {
    companyId: 20099,
    groupId: 20126,
    start: -1,
    end: -1
  },
  function(obj) {
    console.log(obj);
  }
);
Ganesh Puli, modified 6 Years ago. New Member Posts: 19 Join Date: 2/27/18 Recent Posts
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)
thumbnail
Mohammed Yasin, modified 6 Years ago. Liferay Master Posts: 593 Join Date: 8/8/14 Recent Posts
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.