<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Accessing Datapills for File Attachments in Salesforce in Workato Pros Discussion Board</title>
    <link>https://systematic.workato.com/t5/workato-pros-discussion-board/accessing-datapills-for-file-attachments-in-salesforce/m-p/6793#M2932</link>
    <description>&lt;P&gt;I worked just recently with files in Salesforce, but it's been in attaching files to DocumentChecklistItems, not retrieving them.&amp;nbsp; It also may depend on whether you're using Lightning or Classic.&amp;nbsp; One way you might be able to get it is by querying ContentDocumentLink where the LinkedEntityId is the Opportunity Id.&amp;nbsp; In SOQL:&lt;/P&gt;&lt;P&gt;SELECT Id, LinkedEntityId, ContentDocumentId FROM ContentDocumentLink WHERE LinkedEntityId = '&amp;lt;OpportunityId&amp;gt;'&lt;/P&gt;&lt;P&gt;Again, I haven't done this myself, this is just from searching around the web a bit.&amp;nbsp; My bulk insert goes to ContentVersion but I've never been able to query that for my attachments, curiously enough&lt;/P&gt;</description>
    <pubDate>Thu, 30 May 2024 13:14:35 GMT</pubDate>
    <dc:creator>mppowe</dc:creator>
    <dc:date>2024-05-30T13:14:35Z</dc:date>
    <item>
      <title>Accessing Datapills for File Attachments in Salesforce</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/accessing-datapills-for-file-attachments-in-salesforce/m-p/6786#M2927</link>
      <description>&lt;P&gt;Hey everyone! First post! I would love some guidance on what I am trying to achieve. Basically, when we close out an opportunity in Salesforce, there will be a physical PDF contract in the "Files" section of the related list. Clearly that PDF file is associated with the opportunity or the account&amp;nbsp;&lt;EM&gt;somewhere&lt;/EM&gt;, but even looking at all of the related objects, I can't seem to find a datapill that seems like it would represent my attachments. Any suggestions?&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2024 23:00:11 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/accessing-datapills-for-file-attachments-in-salesforce/m-p/6786#M2927</guid>
      <dc:creator>chadwicke619</dc:creator>
      <dc:date>2024-05-29T23:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Datapills for File Attachments in Salesforce</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/accessing-datapills-for-file-attachments-in-salesforce/m-p/6793#M2932</link>
      <description>&lt;P&gt;I worked just recently with files in Salesforce, but it's been in attaching files to DocumentChecklistItems, not retrieving them.&amp;nbsp; It also may depend on whether you're using Lightning or Classic.&amp;nbsp; One way you might be able to get it is by querying ContentDocumentLink where the LinkedEntityId is the Opportunity Id.&amp;nbsp; In SOQL:&lt;/P&gt;&lt;P&gt;SELECT Id, LinkedEntityId, ContentDocumentId FROM ContentDocumentLink WHERE LinkedEntityId = '&amp;lt;OpportunityId&amp;gt;'&lt;/P&gt;&lt;P&gt;Again, I haven't done this myself, this is just from searching around the web a bit.&amp;nbsp; My bulk insert goes to ContentVersion but I've never been able to query that for my attachments, curiously enough&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2024 13:14:35 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/accessing-datapills-for-file-attachments-in-salesforce/m-p/6793#M2932</guid>
      <dc:creator>mppowe</dc:creator>
      <dc:date>2024-05-30T13:14:35Z</dc:date>
    </item>
  </channel>
</rss>

