I created custom pdf export (based on xlsx export) for datagrid and noticed a problem.
Handler works like that:
1. Create file with my writer,
2. read file with my reader,
3. create file again based on reader data.
Its ok for partial save, but with pdf there is a problem.
I cannot read pdf and write it again. For now, I created reader that return file_get_content data, and writer checks if there was array of columns passed to write, or one item with data from reader. Not so nice solution.
Is there any possibility to skip file reading? I noticed that export handler always do it with mergeFiles method.
The forum ‘OroPlatform – How do I? Questions’ is closed to new topics and replies.