The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
22 views

Getting Invalid Field Name error on FeedItem

I have written the below trigger to block uploading of .exe files in chatter feed. Below is the trigger code - trigger BlockHarmfulFileAsChatterFeed on FeedItem (before insert) { for(FeedItem f : ...
1
vote
0answers
14 views

How to construct a link to the “File Info” page of a File in the SF1 “Files” app?

I have a VF page that displays a list of Chatter Files. I use the ConnectAPI in the controller to obtain the ContentCapability object for each file, which in turn provides properties like ...
1
vote
1answer
37 views

How to get the content of a chatter file using API

I am integrating my SF org with an external mobile app. I have a file uploaded to the chatter feed of each contact (the picture of the contact). This app needs to get the picture to display in the ...
0
votes
1answer
21 views

Which event is fired after uploading a new version of File in chatter?

Actually I have to write a a code after uploading a new version to generate a new alert for User(customized alert, not feed post). So, anyone knows which event is triggered after uploading a new ...
1
vote
1answer
64 views

Adding new “Files” related list to Visualforce page

I'm trying to add the new Chatter Files related list to a Visualforce page but not having much luck. In the past, in order to add the Notes & Attachments related list, you would use: ...
0
votes
0answers
31 views

How to programmatically set File/Feed Item Permissions

There are a couple of questions already similar, but not quite the same - we are in quite a bind, every fork in the feed item/content road has been a total dead end, after almost 9 years on this ...
0
votes
2answers
72 views

ContentDocument Object

Im Working on one scenario update description value in ContentDocument Object. This my piece of code. //Update Description value in ContentDocument object List<ContentDocument> lstcd ...
1
vote
0answers
12 views

Global Search for Files customization

I'd like to add column with parentId name to the search layout of chatter files. Is it possible? - I haven't found anything about customizing Search Layout for Files. If not, what would be the best ...
2
votes
1answer
50 views

Inserting Feed-Item with Attachment

I am trying to inserting Feed-Item with Attachment. I know that I have to the put Image File into Content and get the Content-Version Id. I can use the Content Version Id to reference in ...
0
votes
1answer
83 views

Viewing Chatter Files in Community via Visualforce, surely there's a better way?

I've been trying to create a VF page for a customer community where the customer user can view all the Files on their own Account as a simple list. Internal users are adding these Files as Chatter ...
4
votes
1answer
210 views

Post to Chatter With Binary File from Javascript

So I'm trying to post a feed item to Chatter via the Chatter REST API from Javascript. There relevant documentation shows that the request must be made as a mutlipart/form-data request, so I'm ...
1
vote
0answers
36 views

Object ContentDocumentLink query not working as expected

I am running following query on ContentDocumentLink object using admin token. ...
1
vote
0answers
70 views

ContentDocumentLink to get recently unshared FileIds for Files tab

Whenever a File in files tab is updated (title renamed, description), ContentDocument field 'LastModifiedDate' is updated. For share activity on any file, ContentDocument's field 'LastReferencedDate' ...
1
vote
2answers
66 views

Querying all the files from a list of groups for a particualr user

I'm trying to display all the files of all the Groups to which a user belongs to. i.e, if the user is a member of GroupA and GroupB, then I have to display all the files which belong to GroupA and ...
0
votes
0answers
13 views

Report to pull chatter files off of Contact

Is it possible to pull a report with links to all chatter files attached to any contact that is in a particular campaign? If so, how?
0
votes
0answers
48 views

Sharing a chatter file to a group after uploading

I am new to using the ConnectAPI for uploading files to chatter and am looking for a way to upload and share a particular file with a chatter group. I ended up doing the sharing part in a ...
2
votes
0answers
102 views

Access to a shared Chatter File's Public file raw data URL

I've been trying to setup an app that will directly link to public chatter files. The best I have been able to get so far is the Flash applet available from the fileViewUrl link, retrievable with ...
3
votes
0answers
236 views

References to URLs returned by Apex ConnectApi in Salesforce1 mobile

I have a VF page that I am using as an inline page on the Opportunity detail page layout. It retrieves and displays files (FeedItems with ConnectApi.ContentCapability) from Chatter feeds on records ...
0
votes
1answer
402 views

unable to drag and drop file form Outlook (2013) to Salesforce Files

I am able to drag and drop (D&D) files from my windows explorer windows (tested .docx and .pdf files) into Salesforce however I am not able to drag a PDF from my Outlook email message into ...
1
vote
0answers
39 views

Save files using Chatter File

How could I save files using chatter files by having custom object as the ParentId. These files can't be stored in Attachment object.
2
votes
2answers
739 views

Can we open files/attachments in Salesforce1 without enabling Chatter?

It appears the only way to open files in Salesforce1 is via "Salesforce Files" - previously called, "Chatter Files" which is tightly coupled to Chatter. When creating Chatter files, it seems to piggy ...
2
votes
1answer
158 views

Is there a way to download chatter file IDs from the file storage?

is it possible to retrieve a list of file IDs of files that are in the chatter file storage? For the time being, I am only able to download the files after retrieve the ID from the chatter posts ...
1
vote
1answer
147 views

Best option to store files and show them in communities

What is the difference between CHatter files and Salesforce CRM content with regard to their usage in communities? What are known limits/ restrictions to use them in communities? To manage Salesforce ...
1
vote
1answer
33 views

Can I share files in Chatter just to 1 single person?

i would like to ask if I post a files in a Chatter group all members in that group will be able to see the files. Is there anyway that I only want to share the file to a single member or chatter user? ...
2
votes
1answer
450 views

Change file sharing settings of chatter file using the Connect API

I am able to use a file upload to post a file to the Chatter Feed of a custom object record using the following code: ConnectApi.FeedItemInput feedItemInput = new ConnectApi.FeedItemInput(); ...
3
votes
3answers
511 views

Problem trying to upload ContentVersion from base64 image data via REST API

I am trying to upload a small image in base64 as a Chatter file (ContentVersion record where Origin = 'H') via the Force.com REST API. Here are the headers and body that I am sending: ...
2
votes
1answer
2k views

How can I create a Chatter File via Apex?

From the Chatter tab I can go to 'Files' and then upload a file without attaching it to anything. I am wanting to know if there is a way to achieve the exact same thing via Apex?
0
votes
0answers
48 views

I want to search some numbers in a XLSX sheet which is attached with the chatter files

I was working with case object in the service cloud, where when a email is sent on the help email address configured with the Service model a case is created Hence the attachments are also added with ...
1
vote
1answer
165 views

What is the SObject for a chat conversation?

I want to monitor chat conversation and want to check and store at admin side. so admin can see who doing chat to whom and archive the conversation Thanks
5
votes
1answer
628 views

How to share documents with customer community login users

So we need to share a number of documents with our customers who our accessing our community using the Customer Community Login license. The documents that need to be shared are VF pages rendered as ...
1
vote
1answer
567 views

Uploading a file to Chatter - REST API

I'm trying to upload a file to Chatter files using the REST API but I'm getting the following error : Binary data included but file attachment information is missing. If providing rich JSON/XML ...
2
votes
1answer
68 views

I want to stop chatter emails when I create ContentDocumentLink

I'm uploading multiple files via the SOAP API in a nightly process. Part of that is assigning permissions to the files. I'm using ContentDocumentList to allow a user to see a document. When creating ...
2
votes
1answer
725 views

Mass export files from Chatter Feed and Chatter Comments

How to mass export files from chatter feed and chatter comments.I looked into the reviews of file exporter app but it looks like it is not supporting chatter attachments.Is there any other way to ...
9
votes
2answers
374 views

Can SOSL perform full text search on chatter files?

The Document sobject has an IsBodySearchable flag which controls if you can full text search it via SOSL. ContentVersion has no such flag but I know that it is searchable in certain cases. However, ...
2
votes
3answers
798 views

List of an Account's Chatter files in a Visualforce page

An easy to see list of all files added to an Account (or other object) would be nice. I am getting a "Content cannot be displayed: Attempt to de-reference a null object" for my VF page. The Account I ...
9
votes
2answers
916 views

Is it possible to get a sharing link (to non SFDC users) from 'files'/'content' via apex?

A bit of background: I have a client that I built a custom model library for, and in this page they can select a group of models and email them (say instructions to the next gig or notify them of ...
4
votes
1answer
347 views

Changing ownership of Salesforce File

The organization I'm working in has a file that gets distributed quite a bit internally owned by a former employee. They are looking to change that ownership of the File (created in Chatter), and the ...
5
votes
1answer
114 views

Disable sending a chatter message which is sent to all users when sharing a file

I wrote a trigger on FeedItem to share a file. Salesforce automitcally sends a chatter message when sharing a file. Is it possible to disable sending a chatter message and an email which is sent to ...
4
votes
1answer
2k views

Preview Chatter File in Visualforce

I've found a lot of people talking about this but no real answers. What I am trying to do is simple just show a little thumbnail preview of a file in a custom component SELECT ContentDocumentId FROM ...
0
votes
1answer
261 views

Chatter files zip or batch download?

I think the answer to this is no, and I cant find any documentation but is it possible to zip up or otherwise batch download a whole series of chatter files at once? I have access to them all via ...
2
votes
0answers
124 views

Publish an image using Chatter API

I've been coding an application to connect with Chatter and everything is going ok but I was wondering how to link an image url into my wall, I mean I've read several documents about how to attach a ...
3
votes
1answer
1k views

Link to download Chatter file download in VF

I have attached a File to my custom object record. I want to display a link to the file on a VF page which also shows information about my custom object. I tried doing something like this. APEX: ...
3
votes
1answer
801 views

How to obtain “Related Content” information in SOQL/APEX

EDIT: There were two questions earlier. I figured one out. Please see below We can have Attachment objects on custom object records but can we for example, associate a Salesforce File or Content ...
2
votes
1answer
598 views

Chatter in test case behaves different from actual usage, why?

I'm doing something in a visualforce controller for every attachment and chatter contentpost that is related to a particular case. Hoping to open-source it (pending employer ok), but for now I'll just ...
7
votes
2answers
548 views

Custom link or button to download most recent version of chatter file

Is there a particular url I can put into a custom link or button that will link to a chatter file, that when clicked will download the most recent version? I know I can use the download url to get a ...
3
votes
3answers
859 views

how do you access chatter public links through apex/api?

On a chatter file you have the option to share it with a public link by going to file sharing settings -> share via link. You get a link of the form: ...