This conversation has been locked due to inactivity. Please create a new post.
This conversation has been locked due to inactivity. Please create a new post.
how can we export ugc report as xls file
http://localhost:4502/etc/reports/ugcreport.html
Solved! Go to Solution.
Views
Replies
Total Likes
You sure can -- a CQ page is only a JSP script - you can place a button on it and then call the OSGi service that knows how to get the users and dump the result set into Excel. If you wanted to -- you could even program the OSGi service to email the report by getting the Java Mail API into the OSGi service - see:
http://scottsdigitalcommunity.blogspot.ca/2012/07/creating-custom-cq-email-services.html
Between the ability of coding the front end and the back end -- you can meet your business requirements - even if the feature is not OOTB.
Thxs
Views
Replies
Total Likes
Views
Replies
Total Likes
Out of the box no - but you can customize AEM to address this use case. This is one of the more powerful features of AEM - using OSGi to create services.
You want to use the User Manager API (com.day.cq.security.UserManager) to get the users. See:
http://scottsdigitalcommunity.blogspot.ca/2013/07/using-ajax-requests-to-display-adobe-cq.html
Then you want to create a custom Excel service for AEM. See:
http://scottsdigitalcommunity.blogspot.ca/2013/08/creating-custom-excel-service-for-adobe.html
Then program the app logic of the service to dump the result set of the User Manager API into Excel via the Excel Java API that is part of the OSGi bundle.
HTH
Views
Replies
Total Likes
Thanks for the reply
can you please tell me if it is possible to mount or get this report on a cq page so that I can publish this report onto publish instance so that regular users (non-admin) can look at this report.
Views
Replies
Total Likes
You sure can -- a CQ page is only a JSP script - you can place a button on it and then call the OSGi service that knows how to get the users and dump the result set into Excel. If you wanted to -- you could even program the OSGi service to email the report by getting the Java Mail API into the OSGi service - see:
http://scottsdigitalcommunity.blogspot.ca/2012/07/creating-custom-cq-email-services.html
Between the ability of coding the front end and the back end -- you can meet your business requirements - even if the feature is not OOTB.
Thxs
Views
Replies
Total Likes
Views
Likes
Replies