Images vs Attachments
Hi. I have stored images directly in tables to link documents to specic tasks. Is there a better way of doing this? For instance, using a trigger to upload to Attachments, giving files a specific name? If so, any ideas for a script for upload button and a validation field?
Also, is there a way of making attachments visible in a view/form?
2 replies
-
It is possible to save documents as links to reduce database size. Stephen has a post on this at:
I am not aware of any way of making attachments visible on a view/form, however you can show the number of attachments in a formular field like this:
let n := count(files(this));
if n = 1 then
"DOCUMENT " + " (" + n + " attachment)"
else
if n then
"DOCUMENT " + " (" + n + " attachments)"
else
"DOCUMENT "
end
end
-
Hi,
Check this from the blog(new in version 2.4) where you can display attachements:
Steven.
Content aside
- 4 yrs agoLast active
- 2Replies
- 912Views