AnsweredAssumed Answered

Add file from a portal?

Question asked by LeeMoreau on Aug 4, 2015
Latest reply on Aug 4, 2015 by LeeMoreau


Add file from a portal?


Hey everyone just wondering the best way to do this.  I have an accounts table which is related to content management.  In content management I have the accountID as a look up field from the Accounts table, and then have a file container field and so on.  Under the account I made a portal showing Content Management and listing all the files uploaded there.

Right now you click the file row in the portal and it goes to that record.  I'd like to avoid this so that clicking it instead just downloads it to their computer to open it.  How can I make it though so that I can upload a file from this layout?  The only way I've been able to make it work is by putting the container field super tiny so that it fits on the row of the portal, and then clicking a new row, and right clicking that and going Insert file.  Very clunky.  Ideally I'd like to have 2 buttons on a new row, upload and delete, so that clicking upload prompts to upload a file.  I tried the Insert File script but it always gives an error.  Is this possible or do I have to only upload files by right clicking a container field and selecting insert file?  Thanks!