Forum Discussion
Right. Looks like you got this from Document creation - Save PDF to field in record | Qrew Discussions
There's more for you to update in that template. I see that you updated the table ID in your screenshot but the Jinja is also referring to Field ID #6. I suspect that field ID #6 is not named [fileName] in your app.
~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~
These are also relevant posts:
Automatically save a form page as PDF and insert into attachment field? | Qrew Discussions
PDF Document Generator, automatically attached to a record | Qrew Discussions
~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~
The general consensus from the power users in the comments is that it is just easier to used Juiced Tech's tool. I only point this out because if anyone could build this themselves it would be MarkShnier__You, but his recommendation is to just use the tool. I respect anyone who attempts to build a solution for themselves LijaHarris but sometimes it's also important to know when it's not worth reinventing the wheel.
We'll be here to answer your questions either way you decide to go. :)