The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
8 views

Chatter File appearing in sysadmin UI even though marked as private in Personal Library

One of our apps uploads files that get stored in Chatter Files, (ContentVersion). Fields get set to Origin 'H' and PublishStatus 'R'. According to docs: Origin of 'H' - meaning "This is a Chatter ...
0
votes
0answers
37 views

Can we query Library member permission and information about which type of permission member held?

Can we query Library(ContentVersion) member permission and information about which type of permission member held ? Manage Library Add Content Add Content on Behalf of Others Archive Content ...
2
votes
1answer
28 views

Query ContentVersion with Community User

I have a simple question. Can users with Customer Community Login query the ContentVersion object?
2
votes
0answers
55 views

Custom field on ContentVersion returning 'NULL' in SOQL even value is assigned into the custom field

I created a custom field lookup of "Account" on "ContentVersion" object, and I wrote a trigger on ContentVersion that will assign "Account" field with a specific Account. Trigger is like this:- ...
1
vote
1answer
42 views

UserRecordAccess

Does UserRecordAccess report edit-ability of ContentDocument or ContentVersion records? Every user I query URA with for either object returns HasEditAccess=true even if the content is not shared ...
0
votes
0answers
36 views

Navigate to chatter file in salesforce1 and salesforce

I've been trying to navigate to chatter file both in desktop browser and in salesforce1 from a publisher action but I can't seem to get it working. I have a VF Page like <script ...
0
votes
1answer
41 views

How do I create a master detail or lookup relationship to ContentVersion?

I've created my custom object, I want to add a lookup or (ideally) a master detail relationship to ContentVersion. However when I go to create a New Relationship on the custom object, I don't see ...
3
votes
3answers
183 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: ...
4
votes
2answers
363 views

Visualforce Pages in Object specific actions

I have a simple vf page that just calls a controller's method on the action attribute <apex:page standardController="C_Object__c" extensions="Ext1" action="{!method1}"> ...
0
votes
1answer
137 views

A link to Content documents from a VF page

I am managing my document in SF content library. I want to include a link to some documents in a VF page BUT I don't want the link to open the document preview on the Content tab. I would like the ...
4
votes
2answers
102 views

PageReference to Libaries page clearing my search

I have a Visualforce page that renders part of library content in it, but I also give them the option to type in a search which will renavigate them to the default Libraries tab with the search option ...
3
votes
3answers
830 views

File Attachment not working when attaching crm Content

I have a page where the user selects content (that is 5MB or lower, only 2 attachments allowed per email) to use as an attachment in an email. It all seems to work fine, the email sends and there are ...
0
votes
1answer
439 views

How to Test ContentWorkspace, ContentDocument & ContentVersions

So I have some apex code that is query some Content Workspaces, Documents and Versions. As far as I can tell these are ready only in Apex. Error: Field is not writeable: ContentDocument.Title ...
1
vote
0answers
270 views

Updating Content records with dataloader

I'm trying to update detail fields on Content records using the Salesforce data loader, as well as dataloader.io. Typically, the uploads have failed w the message "ERROR: You do not have the level of ...
3
votes
1answer
122 views

SOSL Filter by Library on Salesforce Content

Is is possible to search Salesforce Content in a specific library (ie. ContentWorkspace)? According to the Content data model, it seems the relationship between ContentWorkspace and ContentVersion ...
2
votes
1answer
251 views

Error while ant build on Developer sandbox : command 'ant pushdev'

I am running in a build issue wile running the command 'ant pushdev' Do I have to change the version number to latest? If yes which are the right places to change the version number? Below is the ...
1
vote
2answers
531 views

Get all documents in content belonging to a particular library in SOQL

I need to get documents of a particular library using SOQL. SELECT title FROM ContentVersion where Contendocument.Parent.Contentworkspace.name='EMEA Sales' The error i get is INVALID_FIELD: on ...
1
vote
1answer
347 views

How to upload an Excel file into ContentVersion Object

I need to upload an Excel file on an opportunity. I want to user ContentVersion standard object to store these excel files. Can anyone please explain or share a code snippet to show how can we ...
3
votes
1answer
136 views

Is it possible to update “Featured Content” in Salesforce Content?

Featured Content is a neat way to promote certain items in SFDC Content. From the documentation: Featured Content This section lists the five pieces of content in your libraries most recently ...
2
votes
1answer
320 views

How to delete latest version from ContentDocument?

Is there any way we can delete Latest Version from ContentDocument? I have tried deleting ContentVersion, but DML Operation Delete is not allowed on it. I have tried deleting ContentDocument, but it ...
5
votes
1answer
291 views

ContentVersion Reasonchange not updateable?

I have a before update trigger that I want to use to capture updates to previous version records in the contentversion. I want to add additional text to the reasonchange that was added by the user ...
1
vote
1answer
294 views

Cannot use StandardSetController with ContentVersion?

I am trying to display a list of documents stored in Salesforce CRM Content on a VF page using JQGrid. I used OFFSET for paging. Since the number of records is more than 2000, I wanted to use ...
4
votes
1answer
293 views

Apex conventversion.VersionData chunk?

We are querying for contentversion data in apex and would like to take the first part of the file data and send chunk by chunk to another webserver. Is there a way to only take 10,000 bytes of the ...
7
votes
2answers
331 views

Query Chatter Comment Files for a group of records

My question is similar to this one except that I need the files for a group of records, making the solution of querying ContentDocumentLink unworkable, because it requires a single Id for the where ...
1
vote
2answers
284 views

ContentPublication limit exceeded

Is there a limit on the content publication ? Is this the same as content version? The docs say "The maximum number of versions that can be published in a 24-hour period is 5,000. " Does this ...
4
votes
2answers
738 views

Can't we query ContentVersion to get the file posted on the Object?

We have VF page that allows a user to upload an attachment that we later convert to FeedItem. THe VF Page also allows updating the FeedItem by inserting a new ContentVersion. The whole thing works ...
1
vote
1answer
417 views

Force.com One App License and Content Management

I am trying to port an existing app to Force.com One App License. Here is the screen shot indicating the package dependency I have two related questions here : Q1 : Is feature "Content" available ...
4
votes
4answers
785 views

Isn't ContentVersion 'VersionData' Updateable (Amendable)?

I'm developing an file (attachments/contents) upload app and the process of my upload is that I upload file in chunks to ensure I'm not hitting view state. For first chunk insert new attachment ...
3
votes
1answer
299 views

Developer org needs Salesforce Content License

I'm trying to insert a ContentVersion item as follows: string before = 'Testing base 64 encode'; Blob beforeblob = Blob.valueOf(before); ContentVersion v = new ContentVersion(Title='New ...