Does anyone have any working Velo code that allows you to dynamically link a button to a lightbox I input into the content manager database?
yes
Please see:
https://www.wix.com/velo/reference/wix-window/openlightbox
This helps you to pass and receive data from/to lightbox.
I don,t no