Forum Discussion
QuickBaseJunkie
3 years agoQrew Captain
I can confirm I've encountered this... but don't have a solution to share :-(
The only thing that comes to mind is using the actual 'latest' version number in the URL (vs the 'current' v0).
This API run on the attachment field will return a list of versions that could be used, but it would be quite complex for something that should be easy. https://developer.quickbase.com/operation/runQuery
-Sharon
------------------------------
Quick Base Junkie
------------------------------
The only thing that comes to mind is using the actual 'latest' version number in the URL (vs the 'current' v0).
This API run on the attachment field will return a list of versions that could be used, but it would be quite complex for something that should be easy. https://developer.quickbase.com/operation/runQuery
-Sharon
------------------------------
Quick Base Junkie
------------------------------
- MichaelTamoush3 years agoQrew Captainif V0 is current, does that mean if you had 2 files uploaded, V2 would be the latest version? And if you had 3 files, V3 would be the latest version?
Maybe I can just use V5 and it will default to the latest...?!
------------------------------
Michael Tamoush
------------------------------- QuickBaseJunkie3 years agoQrew CaptainYou would need to know the exact 'latest' version v3, v5, v10... that's what v0 does for you, but as you've called out you then run into the caching issue.
From the QB API Guide "Specifying 0 (zero) for the VID always gets you the most recent version."
------------------------------
Quick Base Junkie
------------------------------- MichaelTamoush3 years agoQrew CaptainIs there a way to get the name of each version? Instead of referencing the version as a file link, just reference each version and check it's file name? Then we could use a series of 5 if statements to try to tell it to link a specific version??
------------------------------
Michael Tamoush
------------------------------