How to upload large files using UploadCare.com

This is exactly what we need but I can not get it to work properly. I attach some files and upload is successful to projects in UploadCare but it is not associating the files with custom object (External Attachments).

Am I missing something? I put the above snippets of code as inline(Snippet), should that code be going somewhere else? Sorry about newbie questions but I have not messed around with Skuid and JScript much.

I’ve set my models and tabs to the same name and ids as in code. Any help would be appreciated.

Thanks.