Trigger to Store PDF Report in Record

Posted by Rollbase User on 01-Aug-2013 13:43

I have a record which outputs to a PDF report and I want to store this report in a related object. I tried creating an object script trigger that first creates a related record and then using rbv_api.setBinaryFieldValue to attach the file using the URL of the PDF report as the encoded value. This isn't working as I'm obviously missing a step to have the file be downloaded, encoded to base64, and then used as the variable in the rbv_api.setBinaryFieldValue call in the trigger. Based on my attempt at this, how can I grab a remote PDF file and store it in a record using an object script trigger?

All Replies

Posted by Admin on 05-Aug-2013 09:12

Does anyone have any ideas on this? The more I look, the more I think it might require PHP instead of javascript or a new function in Rollbase.

Posted by Admin on 08-Aug-2013 15:42

Hello Frank,



could you please summarize an update of your progress thus far, as well as the Trigger Condition Formula? I'd appreciate it very much.



Thank You,

Corey Prak

This thread is closed