We have an RDP report (has Controller, Contract, RDP classes), manually scheduled to run Daily in particular time,
with destination in Excel File
1) Reports content should be filtered based on Special Date (comes from a table), code written in RDP class
2) Reports name should be coined as "Report-"+Special Date (comes from a table), code written in Controller class
Point 1) RDP class get executed "Daily" and fetching correct data
Point 2) Controller class is executed only once and hence Report's file is always starting date, whereas it should be
recur daily and fetch Special Date from table
Currently the Filename coining logic is placed in Controller class which always shows first date
In RDP report, need Suitable Recurrence event to coin Filename
Hi,
Here, the controller class runs only once. so the filename is fixed with special date.
Use the print setting logic to preRunmodifycontract() or prepromptmodifycontract() method of controller class. These methods executes at runtime for each recurrence, which can able to get the new special date from the table and generate a new filename.
Thanks,
Raj D. Borad
Was this reply helpful?YesNo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.