Soql chatter post

Fox Business Outlook: Costco using some of its savings from GOP tax reform bill to raise their minimum wage to $14 an hour. 

(this is sample output rendered in Real Force Explorer, a pretty neat tool) This optional clause can be added to a SELECT statement of a SOQL query. May 6, 2020 · Create a CSV file then post it to a Chatter Group . To enable unlisted groups, you must have the permission Manage Unlisted Groups. Use Connect in Apex to develop custom experiences in Salesforce. Following code snippet may help: trigger onFilePostCreation on FeedItem (after insert) {. environ['ACCESS_TOKEN'] ) Now, I'll show two routes to the username for the price of one (perhaps there's others, too). May 31, 2018 · When a chatter post is made it creates a Feed Item object that is related to the case. public static List<ContentNote> getNotesForAccount(Id accountId) {. You should carefully examine exactly what kind of posts/comments you want this rule to apply to, and to what type of records the posts must be related (in your instance Feb 19, 2022 · The Chatter/Connect API is completely useless for a system app because of its licensing model. The following are examples of text searches that use SOQL. ORDER BY. Nov 12, 2019 · If you are looking to pull all chatter comments under one of these changes it will require additional queries as well. Fast actions: Create a record and update a record or log a call with an object-specific or global action that is being created for your organization. Aug 5, 2019 · I am trying to get chatter feed in single SOQL query as below: [Select id, Casenumber, (Select id, Title From FeedItems) From Case] But its not working. Select up to 20 of the object’s fields to track. newInstance(2021, 09, 01) order by CreatedDate) from Essai__Feed where isDeleted=false And CreatedDate >: date. For example, you can specify the order of the results and how many rows to return. LatestPublishedVersionId, ContentDocument. Add a create records element to post a message to the chatter group. Salesforce Developer. Parent. Mar 16, 2023 · 公開日: Mar 16, 2023. A SOSL query begins with the required FIND clause. SELECT Name FROM Account ORDER BY Name DESC NULLS LAST. 2. SELECT Id, FORMAT(CreatedDate) FROM Account. 4. I am trying to get a simple list of who in chatter commented on which authors post and I am struggling to get a correct SOQL. Dec 2016 - Present 7 years 5 months. Can anyone think of an optimization that will reduce the risk of overflowing script statements and allow me to retrieve related FeedItems and the FeedComments May 17, 2021 · @Andrew this is not the only usecase where you would have to do that, there are also some other like, as a guest user you can't post to chatter, so you need to make a rest api call to a named credentials that is configured as a different user that has permission to post to chatter. Select an object. // const oauth2 = new OAuth2({. You can choose whether functional and advertising cookies apply. DisableFeedtrackingHeader Similar to the SELECT command in Structured Query Language (SQL), SOQL allows you to specify the source object (such as Account), a list of fields to retrieve, and conditions for selecting rows in the source object. To filter on these properties in external objects, or use them as Diagram showing the relationships between the Chatter objects. Jul 3, 2015 · Salesforce: Edit Chatter Post. Oct 1, 2015 · My goal here is to find any chatter posts or comments on a specific object that have files attached. SELECT Id FROM Contact WHERE Name LIKE 'A%' AND MailingCity = 'California'. change: WHERE Id IN (:ids) to: WHERE Id IN :ids. Enter custom values for the email sender’s name and address to replace the default values. For example, you can’t use SOQL to perform arbitrary Jan 3, 2019 · Let's say you're getting your Session ID and Instance URL as environment variables. Summer '15 release allow user to edit Chatter Post, this is enabled by default for all organizations. I expected this SOQL to do the job but miserably failed ;) Jun 26, 2023 · You can create chatter posts or feedItems that do not trigger the chatter notification emails for users with the setting "email every post" set on a group or a feed. Mar 24, 2021 · In some cases SOQL queries executed in the context of the Automated Process user may not return expected results. You can try writing a trigger on Feeditem object with which you can send an email whenever a feed has been posted on chatter object. I'm attempting to retrieve specific details like ContentDocumentId and Title by executing the following SOQL query: GET htt Object Reference for the Salesforce Platform. com works, but it doesn't do what I want it to do. To display these properties in external object fields, or use them in SOQL or SOSL SELECT queries, set the corresponding Managed Property to Retrievable. I am trying to use jsforce to post a message to the chatter section of a salesforce opportunity. Jan 28, 2015 · Chatter is a feature of Salesforce. SOQL can be embedded in Apex code and various other places in your org to grab specific information in a programmatic way. This features only available in Lightning Experience. You would then need to add your Visualforce custom action as a quick action using Dec 15, 2020 · 3. There are quite a few ways content (files) are stored in Salesforce. Analyzed requirement, designed data model, identified customizations and prepared tech Let’s try running the following SOQL example: In the Developer Console, click the Query Editor tab. To find/query/SQOL all the Chatter Posts for a specific user in Salesforce, run a SOQL FeedItem object/entity where InsertedById is filtered by the id of the user. SOQL で FeedPost オブジェクトから、Chatter のフィード情報の取得ができません。. S-Docs offers support to specify coloration on even and odd rows in subquery records. . If you're viewing a single conversation, search looks for matches only You're trying to create a SOQL for loop using the query above. To export the ' FeedItem ' object. Jul 28, 2022 · From Setup, enter Report Types in the Quick Find box, then select Report Types. edited Feb 7, 2014 at 19:54. Select Cases as the Primary object. Aug 10, 2021 · I need to generate a list (csv, Excel, etc) of all Recipients of a particular Email Alert. This article shows you ways to access them through a SOQL query. Lets say BlahPost has a comment (or several) |_Comment 1. The syntax, which is tableXXXsubRowEven and tableXXXsubRowOdd, is case-sensitive, and if not specified, will revert to the CSS that's specified by tableXXXRowEven and tableXXXRowOdd. Unfortunately, based on the Object Reference for CaseTeamMember , it appears to me the query isn't valid for what you're looking for: MemberId (UserId for a team member). It's certainly odd that we can't directly do it without REST. CaseNumber, CreatedDate. Launch Data Loader and click Export. a cursor is a reference to the the result set for a soql query. It has a Facebook like interface that allows users to follow records and other users, share files, update statuses, like posts, and post questions or comments at specific records or users. By Ben McCarthy. One potential use case here could be generating a CSV from a Flow lookup, then posting the file generated to a Chatter Group AND to a specific Account. Click Save. SELECT Id, Name, BillingCity FROM Account. Hi Manpreet. Grab the ID from URL. XtracIT Inc. Using this FIELDS() function we can query. A feed item is an entry in the feed, such as a change to a record that's being followed, an updated post, or a user status change. Now lets say I have a new Group Bar. Actually, we can use SOSL as a workaround to turn Textarea field types into filterable/searchable field. Select Enable Feed Tracking. // Get the new feed item. getAuthorizationUrl(options). . Since there are NO posts/comments the query above returns nothing since I'm working from child to parent, and parent has no posts. You can then just call a method like this: postFeedItemWithMentions(String communityId, String subjectId, String textWithMentions) and it will post to the record and parse the mentions for you Oct 2, 2023 · Example 1: Retrieve SObject records with specific date values in date-time fields while ignoring the time part using DAY_ONLY() function. Sep 25, 2023 · I have an app that gets details of ContentVersion from ContentVersionIds. Click New Custom Report Type. List<Lead> leadList = [Select id, (Select id from Events), (Select Id from Tasks) from Lead]; System. The field Revision in FeedItem object is added in the Summer'15 which comes with a feature called Chatter Post Feed Editing. I could turn chatter off just for the specific users, but would prefer to leave it on. get ()? – pchittum. This object is available in API version 23. On the list of objects, click on the checkbox to "Show All Salesforce objects. Use the Salesforce Object Query Language (SOQL) to search your organization’s Knowledge data for specific information. Anyone can join a public group. Use the Query resource to execute a SOQL query that returns all the results in a single response, or if needed, returns part of the results and a locator used to retrieve the remaining results. We use three kinds of cookies on our websites: required, functional, and advertising. We’ll cover topics such as polymorphic queries, dynamic SOQL, advanced relationship queries, and harnessing Feb 11, 2021 · Here,0F97F000000F2ltSAC is the group ID where the post was pinned in my org. You can join up to 300 groups, and your company can have a total of 30,000 groups. Apr 25, 2017 · April 25, 2017 at 2:41 pm. Bob -> Dave Dave -> Martha Bruce -> Martha meaning that Bruce commented a post by Martha. You see the expected results in developer console anonymous Apex because it is running as your user. Closing This Month. Enter a Label, Name, Description, and Category, then click Next. Trying to perform a SOQL query to retrieve related FeedItems and FeedComments (on the related FeedItems) to my sObject and I retrieved a warning that multi-level queries aren't allowed. This is a good example of how to create a custom quick action using Visualforce custom actions. The new Chatter post will display @mention as URL link rather than true @mention. ContentDocumentId field in ContentDocumentLink object has a reference to ContentNote. Hi Naman. I am trying to use a SOQL query in the Salesforce SOQL snap field "SOQL query*" to return the column names of an object. Example 3: select What. You can look at SOQL as having the same function as a Chatter. The short answer is if you were to want to rebuild this feed's look and feel by getting the queries yourself, it will require several queries AND preprocessing before loading. ContentDocumentLinkオブジェクトはSOQLにWhere句でId指定することは必須 上述のような仕様からデータ移行は下記の手順を取ることとなる。 データ移行用のSFレコードidの対応表を作成(CSV上で、既存のSFレコードIdの列の横に新しい移行先レコードのSFレコードIdが From Setup, enter Profiles in the Quick Find box, then select Profiles. For Apr 21, 2016 · Also worth looking at this helper class on GitHub from the Chatter folks. And also simplify the query by just making sure that your list of IDs doesn't contain the current user's ID: List<EntitySubscription> sub = [SELECT ParentId. Coloration in LineItemsSOQL can be specified by Sep 2, 2015 · 1. Select Id, name, (select Id, name from contacts) from account. ORDER BY Parent. Until this is fixed, Workaround. Here is the code to fetch all the SNotes related an account. However, you can add more actions like the Edit and Create New Task actions. Step 2: Use REST Explorer to Find the List View Filters as SOQL. 3. SELECT Id,Body,NetworkScope FROM FeedItem. The feature should be manually enabled by the Administrator or the one who have Customize Application system permission. Name, WhatId from Task where What. Here’s how you’d do it: Jan 8, 2014 · The query you've included in the comment looks good. August 24, 2015. instance_url=os. Step 1: Create a Chatter Group. Select the List view i. Clicks on the New button. Sep 5, 2018 · Remember that your SELECT subquery against GroupMembers does not perform any filtering on the CollaborationGroup list that's returned - it only filters the member data you get back as part of the CollaborationGroup sObjects. FeedComment is a child of FeedItem, which is the child of the record in question. Aug 11, 2015 · The following SOQL statement will do the trick, you will just need to pull the group ID from the URL and use the Dataloader to export the data. FeedComment. ApexでChatterを送信する時に使用するConnectApiには大量のクラスがあります。. See code sample below. or SOSL: FIND {query} IN ALL FIELDS RETURNING FeedItem(id, body, Networkscope) + Custom Logic on the results to filter on NetworkScope. Simple query. String fieldValue = 'somevalue'; String fieldName = 'MyTextAreaField__c'; String query = = 'FIND {"'+ fieldValue + '"} RETURNING ' +. Also AFAIK you can't currently create posts from Apex that have Mentions or Tags in them. When users accept your CollaborationGroup invitation, they join the CollaborationGroup and Chatter as well. 5. Let's see how to query it in SOQL. リファレンス / データモデル / Chatter のオブジェクト / Chatter フィードオブジェクト Chatter フィードオブジェクト フィードのある標準オブジェクト From Setup, enter Feed Tracking in the Quick Find box, then select Feed Tracking. Select to enable unlisted groups (2). Connect in Apex. Allow Records in Groups (1) is likely selected by default; if it isn’t, select it. We are going to be doing some outsourcing, and these files could have sensitive data that needs to be hidden. SOQL doesn’t support all advanced features of the SQL SELECT command. Navigate to App Launcher and click on the Groups. List<ContentNote> contentNotes = new List<ContentNote>(); Dec 17, 2021 · 1. The following query requests the value from name fields from all Account records. 全てのドキュメントに目を通すのはかなり辛いので、Chatterを投稿するために最低限必要な部分だけまとめました。. Apr 30, 2016 · June 2, 2016 at 10:56 am. ". First, you should redirect user to the Salesforce auth page to get authorized. You can verify the Relationship name using Workbench --> Info --> Standard and Custom Object -> Select and Object for which Relationship to be verified. Go to Setup and search for Feed Tracking in the Quick Find search box. Has anyone made progress getting the details/content associated with TrackedChange and EmailMessageEvent? Added information. Feb 1, 2023 · A ContentDocumentLink record is created for each ContentNote entry. Field_Api_Name__c'. 0 and later. FeedItem. Required Editions. a user. Biswajeet is my Name, Success is my Aim and Challenge is my Game. May 15, 2021 · The article explains how to post a chatter from Apex code and how to mention multiple users in the post. Unlike the WHERE clause, which only supports fields from the object specified in the FROM clause, WITH allows you to filter by other related criteria. I'd write it as something like that: SELECT Id, Body, ParentId, Parent. Enable Create New Tasks on Posts. Important The Enable Chatter permission is available only if Chatter profile-based rollout is enabled for Aug 18, 2023 · SOQL is Salesforce's native query language, tailored for accessing data within Salesforce objects like Leads, Contacts, Opportunities, and Custom Objects. all fields on an Object (Just like SELECT * in an SQL database. Click Save (3). "done" : true, Jun 29, 2023 · Row Coloration Syntax. For example, I want to run a SOQL query to return the column names of the "Account" object. When above is enable, additional permissions will be added in the Profile: - Edit My Own I don't think you can. Type of Search. CaseNumber, CreatedDate, (SELECT Id, CommentBody, CommentType FROM FeedComments) FROM CaseFeed. FeedItem gives "Invalid foreign key relationship: FeedComment. Dec 16, 2021 · I am doing the following SOQL query to retrieve all messages on Chatter for the Essai custom object. Title, ContentDocument. ChatterActivity represents the number of posts and comments made by a user and the number of comments and likes on posts and comments received by the same user. FeedItem". – Jeff Kranz. SOQL or Salesforce Object Query Language is used to search your organization’s data for specific information. |_Comment 2. debug Sep 11, 2012 · This is an old thread but I hope my SOSL solution can help others. Click Edit. Invited users can view profiles, post on their feed, and join groups, but they can’t see your data or records. This alert contains Roles, Users and specific email addresses as Recipients, but I need a list of each and every Email address that the Alert ultimately gets sent to. Welcome to the realm of advanced SOQL techniques! In this chapter, we’ll delve deeper into the intricacies of SOQL and explore advanced strategies that allow you to wield this querying language with even greater precision and power. In the Setup Quick Find box, enter Chatter Settings, click Chatter Settings, and then click Edit . custom fields - all the custom fields on an Object. Jun 10, 2019 · This post explains how to set up out of office message in chatter. ※2022/8/29追記: FeedItemオブジェクトを使って投稿する. SOQL can help, and it isn’t just for developers! By the end of this session you will be able to create a SOQL query, know where to go to use SOQL and why having this tool will Jan 28, 2015 · Chatter is a feature of Salesforce. I cant just turn off chatter on the object. First of all, we have to find out the list view id. The standard Bookmark, Delete, Mute, and Add Topic actions on posts are available by default and you can’t modify them. select CreatedById, CreatedDate, parent. 説明. Aug 17, 2012 · Here's the query I ended up using to get access to all Chatter Files attached to a record by specifying the Record Id: SELECT Id, ContentDocumentId, ContentDocument. Have you tried going through the feed item. Try removing the parenthesis around the bind, i. " 3. It provides a structured way to fetch, filter, and manipulate data, offering developers and administrators powerful tools to retrieve meaningful insights from their Salesforce data. Jan 8, 2019 · Where to Stored the Chatter Post in Salesforce Object-Chatter POST-How to post the message in Salesforce Chatter Post-Where to stored the Salesforce Chatter General Information. Public: Anyone can see and add posts, comments, and files. Copy and paste the following into the first box under Query Editor, and then click Execute . Keep in mind these simple search tips: If you're viewing your list of conversations, search looks for matches across all conversations. Charlotte, North Carolina Area. only run on cases of a certain record type, etc. Will account for 2 open cursors. Make sure that you’ve selected the Salesforce Customer Secure Login Page. Sep 3, 2014 · Because both Name and Email are on the Name object, the above query will always return data for Name and, if the target object is a User, it WILL return data for Owner. All account records in your org appear in the Query Results section as rows with fields. Private: Only group members can see and add posts, comments, and files. Edit again: Just in case someone looks at this post in the future and goes through a shitty problem like this. Connect in Apex provides programmatic access to B2B Commerce, CMS managed content, Experience Cloud sites, topics, and more. Sep 2, 2013 at 23:42. Feb 8, 2016 · Workflow rule and Process builder are the tools because of which Salesforce Admins can perform so many tasks, which were only possible by writing Triggers. It's possible that some of my failed queries were due to the query tool (Workbench) rather than the SOQL itself. This will handle paging through all the query results for you. 1. Enhance the feed with an action that lets users create tasks directly from a post. The following diagram shows the relationships between the major Chatter objects. EMAIL ATTACHMENT: Let's consider the scenario where we have attachments against email messages related to a Case. Salesforce admin can enable Chatter feed tracking on Salesforce objects, including custom objects. Chatter groups can be public, private, unlisted, and archived. SOSL Syntax. May 30, 2013 · Foo has one Post in it BlahPost. All feed items have a ParentId, which is either: a record. Execute a SOQL Query. May 14, 2024 · Add a get records element to find Salesforce Instance details. You can then add optional clauses to filter the query by object type, fields, data categories, and more. Email. Jun 16, 2018 · About Biswajeet. You can invite a user to join Chatter directly or as part of a CollaborationGroup. Oct 13, 2020 · To verify it, You can run a simple SOQL query using UserRecordAccess object:- SELECT RecordId, HasEditAccess FROM UserRecordAccess WHERE UserId = [single ID] AND RecordId = [single ID] Share Jan 9, 2024 · To query polymorphic fields in SOQL, you need to use the TYPEOF clause, which lets you specify different fields and filters for each object type that the polymorphic field can reference. Examples. Type in ('Case','Account','Solution') This is a very interesting example because the Case object's "Name" field is SOQL is a powerful query tool built into Salesforce that, as an Admin, you can leverage to quickly find the answers hidden in your data. If you are looking for references to a Custom Field, you can use the same Tooling API to query the CustomField object to get the Id reference you'll find in the RefMetadataComponentId and MetadataComponentId fields for CustomFields: select Id from CustomField where FullName = 'Object_Api_Name__c. This function transforms the date-time value into a date-only value which we can use to filter records based on date value only. Aug 24, 2015 · SOQL Cheat Sheet. WHERE. But, as admin you can deactivate it from Setup - Customize - Chatter - Settings - Allow users to edit posts and comments. Apr 22, 2024 · Step 1: Find out the List View Id. Share. Login to your Salesforce Customer Account. ` Select Id, CaseNumber, CreatedDate,(select id,parentid from casefeeds) From Case Where Status ='Pending Customer' Feb 3, 2021 · In Spring 2021, Salesforce announced a new FIELDS() function in SOQL. environ['INSTANCE_URL'], session_id=os. You might start a session like this: connection = Salesforce(. I am guessing on some of this. The method ensures that all mentioned users are from the old and new owner regions. Name, parentId, Id, Body, (select Id, CommentBody, CreatedDate from FeedComments where isDeleted=false And CreatedDate >: date. This object stores the data for all Chatter posts in an Organization. The query above will return all of this. Create Apex pages that display Chatter feeds, post feed items with mentions and topics, and update user and group photos. NoteIf you change the sender’s email address, we send a verification email to the new address. It could be that the user copied the @mentions from a previous post. "If you Copy/Paste @mention from existing Chatter post to new Chatter post. 組織全体で Chatter を無効にするには、[Chatter 設定] セクションの [有効化] を選択解除します。 Chatter グループ設定 Chatter グループ設定を使用して、グループアーカイブ、グループ内のレコード、リストに記載しないグループなどのグループ機能を設定します。 Feb 7, 2014 · The FuseIT SFDC Explorer has an option to export SOQL query results as CSV. Disclosure: I work for the company that makes this product. CreatedById, ContentDocument. From Setup, enter Email Settings in the Quick Find box, then select Email Settings. You can get the Salesforce auth URL by calling OAuth2. It is assuredly not enough to create a workflow rule on all feed items to meet your goal. Leaving your SOQL as you had originally formulated it. Risk & Riding is my Passion and Hard Work is my Occupation. LastModifiedDate FROM ContentDocumentLink WHERE LinkedEntityId =: RecordID. Using this function in SOQL, we can select some predefined sets of fields in SOQL queries. The way out was to simplify the soql queries and break what we were trying to achieve in one batch apex class over 2 classes. Feb 5, 2020 · I am using the Salesforce SOQL snap in a SnapLogic integration between our Salesforce instance and an S3 bucket. To customize Chatter email settings: Customize Application. To search for people and text in your Chatter messages: In My Messages, enter your search terms in the search box above your messages. SELECT ParentId, Body, Type FROM FeedPost --- エラー INVALID_TYPE_FOR_OPERATION: entity type FeedPost To search on these custom properties in Salesforce, a Sharepoint administrator must create a corresponding Managed Property. – George S. It is free to download and use. For example, you can use the WITH clause to filter articles based on their classification in one or more data category groups. import { OAuth2 } from 'jsforce' ; // // OAuth2 client information can be shared with multiple connections. This feature is available for data migration purposes so that when you migrate posts from an external or legacy system, the chatter users are not sent emails for the migrated posts. SOQL 発行時にエラーが発生します、FeedPost はクエリできないのでしょうか?. Efficiency is vital to keeping your sanity and enabling your company to prosper. e. Select Case Feed as the B object per the screenshot below (for custom objects, the Feed object will appear in the form of "Feed Mar 16, 2023 · General Information. You must have the required user permissions to see the Enable Feed Tracking checkbox. Jul 31, 2020 · I am trying to fetch case feed from case in soql, I have tried with below but it throws out the error: Didn't understand relationship 'casefeeds' in FROM part of query call. Jul 4, 2016 · Yes, you should be using Visualforce Custom Actions along with Chatter Connect API for the 'comment' part, changing the 'status' & doing any other custom operations. It describes a solution using an Apex Trigger and ConnectApi for notifying 'Account Reviewer' users about changes in Account ownership. Mar 20, 2013 · Query Chatter Feed Item & How the structure in Salesforce object. You need to query on Event and Task object to retrieve Activities for Lead object. Feb 6, 2012 · 7. I pieced the following together from watching how salesforce. Love is my Friend, Perfection is my Habit and Smartness is my Style. The API for working with Chatter via APEX is currently very limited, you can't even query based on the contents of the body. com that provides a way for users to collaborate with other users within a Salesforce organization. // Paste your code here for sending mail using salesforce Aug 29, 2022 · はじめに. In the Administrative Permissions section, select or deselect Enable Chatter, depending on whether you want users with this profile to have Chatter access. newInstance(2021 Nov 22, 2020 · Using the caseIdToFeedElement map, we are querying the parent case of the chatter comment and run some more checks: Only grab cases in a pending or closed status; Don’t grab the case if the chatter response was made by the help desk staff; If needed, you can run additional checks here (i. Open the Workbench and log in with your Trailhead playground username and password. There is meant to be a pilot of a new Chatter API but we've had no luck joining it. Here’s how we’ll relate the file to multiple entities using a collection of ContentDocumentLinks. Create Chatter Post: Process Builder enables you to Push a chatter update into Group or Feed. Dec 8, 2020 · The Chatter Feed can be exported by selecting the ' FeedItem ' object in Data Loader. Path: From Setup, enter Chatter Settings in the Quick Find box, and then Select Chatter Settings Check Users can set Out of Office messages and then save the settings. And your user can access that CollaborationGroup. SOQL is similar to the SELECT statement in the widely used Structured Query Language (SQL) but is designed specifically for Salesforce. Is it even possible? Or else should I get it in separate SOQL query? I've tried using Multi-level Relationships on Chatter Comments example but this doesn't seem to work for me as I am not using objects. Name the Group and make sure to select the Private Access Type. It can export the SOQL query results as CSV. I'm hoping someone could give me a hand with creating the correct SOAP soql call to get Chatter Posts (and replies) that have been created or commented on in the last 24 hours. SELECT Name,Phone FROM Account. I want something like this. Remove the filter out of the SOQL query and filter in code. Mar 24, 2021 · 1. Before release of Process builder, if we wanted to perform field update on child records or post chatter messages or auto execute Visual Flow, Triggers were used by developers. ) Jan 28, 2015 · Chatter is a feature of Salesforce. So shouldn't it be FeedComment. You can also determine what’s returned. Incase you want to use ConnectApi Namespace, try using getPinnedFeedElementsFromFeed getPinnedFeedElementsFromFeed(communityId, feedType, subjectId) Get pinned feed elements from a group or topic feed. recordId is the opportunity number as pulled from the salesforce URL. For the orgs which doesn't have this feature enabled, there won't be any new fields available. sz dd tv do ky xz vy ld fu kj