Displaying Feed Attachments in Attachments Model

Glad this worked for you. A few clarifications.

  1. I don’t believe you will be able to inline add new docs to the feed attachment. The file uploader is only provided within the chatter interface. We’ve had it on our back burner to enhance our file component to enable creating feed attachment items - but that’s a to do.

  2. You can add Google Docs inline. They are just a reference to the URL where the doc really is. See below for a suggested means of adding those rows to the table.

  3. You can get directly from the name of the document to the actual google document if you add a template field to your table and some html code. Here is how:

  • Drag a template field from the component list into your table.
  • Make sure both the Google Doc Name and Google Doc URL fields are in your model
  • Add this html code to your template:
    {{{Name}}}

This will post the name of the google doc, but open the doc in a new window when you click on the link.

  1. A downside of using a template is that it will break the standard “inline add” feature. So here is how you would add rows to the Google doc table.
  • Remove the “Allow inline Record Creation” property from your table.
  • Add a “global action” to the table of type “Multiple Actions”
  • Add the following actions:
    Create New Row (in google docs table)
    Open Popup.
  • In the popup you can show the Name and URL field for users to fill in by pasting from thier google docs.

I believe this should get you where you want to go…