Question
US
Last activity: 23 Aug 2017 23:42 EDT
Best option to convert PDF to Excel from activity?
Hi
We have current requirement in PRD is like a Agent pulls data from DB using RD and then generate a PDF before sending it as an email attachment. Now the new req is to change PDF to excel as an enhancement. What is the best possible option to implement it? Here are my options
1) modify existing activity to convert PDF to excel by using any ootb feature??If yes, any code or ootb feature for this?
2) build fresh logic to generate excel after calling RD in the existing activity? If yes, any code or ootb feature for this?
Pls let me know.
Thanks
Ravi Kumar
Hi Ravi Kumar,
I feel 2nd option is the better approach.
This is how I would implement this requirement:
a. Configure report definition (I think you already have this)
b. Create a short cut for this report definition
c. Make sure this short cut appears only for Administrators, if this should not be exposed to other users
d. From the report browser, configure Schedule for this report
e. Modifications to this schedule can be done from designer studio as well: Reporting -> Components -> Scheduled Tasks
Note: Email recipient(s) should have operator ID record in PRPC system. When recipients open this excel attachment from email, a warning gets displayed which can be ignored. This is a known issue with Pega 7.2.2
Hope this helps you.
Regards,
Murali