Skip to main content
Question

File Attachments, Documents, Fields

  • October 21, 2019
  • 0 replies
  • 92 views

I'm trying to figure out a script to copy files from table that are associated with a certain description to the other table that is linked to said description. I already have an automation  set to copy the record made in table 1 to the designated user in table 2 but Quickbase doesn't have the feature available for having file attachments copies over. 
I found this script from user _anomdiebolt   https://haversineconsulting.quickbase.com/db/bgcwm2m4g?a=dr&rid=574

Here:
 https://community.quickbase.com/communities/community-home/digestviewer/viewthread?MessageKey=db2c28cd-0b87-47dd-afb0-b7f2ff474ea1&CommunityKey=d860b0f8-6a48-487b-b346-44c47a19a804&tab=digestviewer

but whenever I enter my information into the script I get this: 
Saying "Invalid Expression" note * This image was posted by another user who had the same exact script problem as me but it was unanswered.
Does anyone know how to fix the script or another script I could use 


------------------------------
Me
------------------------------
This topic has been closed for replies.

MarkShnierYou
Forum|alt.badge.img+22
  • Quickbase Alumni
  • October 21, 2019

There is much easier syntax to create a link to the original file which is clickable to view/download. 


Would that work for you?



------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
markshnier2@gmail.com
------------------------------

  • Quickbase Alumni
  • October 21, 2019
Where are you trying to use that code that it is giving you that error? From what I'm reading in the post you linked that script is something to just put into the console and run but it kind of looks like you have in in a native QuickBase field.