On Friday, January 14, 2022 at 11:56:57 PM UTC-8 Dave S wrote:
> I'm working on Yet Another Personal Application, and in the main table I > define a field as type 'upload'. The upload works fine, and I can grab the > file back by the download function. But when I make a list of uploads by > some criteria and then try to display that list with SQLTABLE, I don't get > the expected link, I just the filler text. > > I've verified that the ROWS object returned has the value of the upload > field (the obfuscated filename), but I still appear to be hitting > sqlhtml.py#L3603 instead of L3601.(v2.21.1). Appadmin gets this right, > though. > > Any suggestions on what I need to correct? > Go back and review the book often enough, and it starts to sink in .... I needed to set an additional parameter with ', upload = "download" '. Maybe I'll even remember this next time. /dps -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/2ba567a3-ce22-4270-adff-291ba65f1fa8n%40googlegroups.com.