Home RAP

Changing Report.TextFileName from RAP

edited April 2016 in RAP
Hi.
I'm using Group.OnGetFileSufix event to add some specific text at the
end of the file name when outputting to PDF but I also need to change
report.textfilename. Which event should I use to set
Report.textfilename property before outputting to PDF but afte
datapipeline is opened because data from datapipeline is needed to set
that property?
Thanks. I'm using report server 14.08

---
El software de antivirus Avast ha analizado este correo electr?nico en busca de virus.
https://www.avast.com/antivirus

Comments

  • edited April 2016
    Hi Ignacio,

    Unfortunately the pipeline events in RAP fire too late to successfully
    alter the TextFileName. You will need to use an earlier event such as
    the OnInitializeParameters if you would like to change this property.

    If you need to access data to assign the file name, you may need to
    create a passthru function that opens your dataset temporarily and
    manually retrieves the value.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.