Hi,
Yes you can use an Attribute that contains the path and I suggest to do so.
I use this method in my apps. Also I do NOT recommend to store the documents in DB (the DB becomes huge and not good for the app).
In my apps I make a folder for each tenant and I store his documents in that folder.
MAKE DIRECTORY '<<SystemSettings.PDFInvoicesPath>>\'+CustomerCompanyBO.ID+'\DOCS'
I don't have time right now, but I can prepare a small bsv for you if you want, just let me know. Provide me details and I will do it closer to your needs (no charge).. 🙂
cheers,