---
schema_version: "1"
id: 0a704b34b48fcd487d50a0cd4be874ac07822fa97db3649f87c7cec09d2b3e11
title: ConnectApi.PinnedFeedElements
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_pinned_feed_element_collection.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_pinned_feed_element_collection.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 0edaf0aebe151537c4d0618785524211b247b0746ed96fac74de54d440cc7d81
description: List of pinned feed elements for a feed.
---
# ConnectApi.PinnedFeedElements

List of pinned feed elements for a feed.

<table class="featureTable sort_table" summary="">




          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader vertical-align-top " id="d1138464e36">Property Name</th>

              <th class="featureTableHeader vertical-align-top " id="d1138464e39">Type</th>

              <th class="featureTableHeader vertical-align-top " id="d1138464e42">Description</th>

              <th class="featureTableHeader vertical-align-top " id="d1138464e45">Available Version</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d1138464e36" data-title="Property Name"><samp class="codeph apex_code">elements</samp></td>

              <td class="entry" headers="d1138464e39" data-title="Type">
                <a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list" title="Contains methods for the List collection type.">List</a>&lt;<a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_feed_element.htm#apex_connectapi_output_feed_element" title="Feed elements are the top-level items that a feed contains. Feeds are feed element containers."><samp class="codeph apex_code">ConnectApi.​FeedElement</samp></a>&gt;
              </td>

              <td class="entry" headers="d1138464e42" data-title="Description">
                <span class="ph" id="elements"><a name="elements"><!-- --></a>List of pinned feed elements.</span>
                <p class="p">In the UI, pinned feed elements don’t show all auxiliary information, such as comments, likes, interaction counts, or read by information. As a result, the <samp class="codeph apex_code">ConnectApi.PinnedFeedElements</samp> output class doesn’t include all the information for these capabilities.</p>
              </td>

              <td class="entry" headers="d1138464e45" data-title="Available Version">41.0</td>

            </tr>

          </tbody>

        </table>