Questions tagged [files-connect]
The files-connect tag has no usage guidance.
20 questions
0
votes
0
answers
31
views
Is there a way to "copy" an external file from files connect/external data source using apex/salesforce apis?
Context
We have an app that extends Salesforce Content functionality that creates a custom collaboration and approval process experience.
In the app we've developed a custom component that utilizes ...
0
votes
0
answers
22
views
Files Connect - One Drive - Mass Connect to Opportunity?
I have files connect enabled and set up and it's working great. I'm now going into historical Opportunities and manually connecting historical files (not uploading the files - just connecting a ...
1
vote
1
answer
79
views
Apex test using ConnectApi stub mock consistently fails with no matching item error
I am attempting to mock ConnectApi.ContentHub.addRepsitoryItem with the built in apex stub method ConnectApi.ContentHub.setTestAddRepositoryItem and it consistently fails when I include the ConnectApi....
0
votes
0
answers
61
views
How to upload file to external data source with salesforce connect
This has been asked once or twice on this sub, but none of them has a solid answer yet. I am looking to upload files from Salesforce (communities) to an external data source (SharePoint/OneDrive). ...
0
votes
1
answer
272
views
Files Connect to Sharepoint Online - Connected Not Showing Folders or Files - Nothing Showing
Files Connect to Sharepoint - nothing showing
So the reason I'm posting this is because I found an answer to this question that seems to be plaguing multiple people across various forums and has gone ...
0
votes
1
answer
493
views
Accepted status in /connect/files REST service in lwc controller context
I am trying to convert docx to pdf with /connect/files service.
Sample code:
String ContentDocumentId = '0697Q000002LuE1QAK'; //some .docx id
HttpRequest req=new HttpRequest();
req.setMethod('GET');
...
1
vote
0
answers
1k
views
Query External Object filtering by Date or DateTime dataType
first time ever writing here, hope anyone can help me:
We're working with Salesforce Files Connect, currently configured and working with SharePoint.
Users can browse files by certain filters we're ...
0
votes
1
answer
949
views
Deployment error: This org does not have the appropriate permissions to use the 'ContentHubGDrive' data provider
After configuring and setting up Files Connect for Google Drive in my dev environment, when deploying to staging environment, I get this error:
This org does not have the appropriate permissions to ...
1
vote
0
answers
742
views
Related List not showing records on Parent Object
I'm having an issue populating records in my related list. As you can see below, it is empty.
I've linked my custom salesforce object(parent) to my SharePoint external object(child) via an indirect ...
3
votes
2
answers
4k
views
How to upload a file to an external data source (e.g. Sharepoint, Google Drive, etc) in Salesforce via Files Connect
How do you upload a file to an external data source (e.g. Sharepoint, Google Drive, etc) in Salesforce via Files Connect? Is this even possible. I've read the Salesforce articles, I've watched a ...
0
votes
1
answer
778
views
Is there a way in salesforce using soql where we can get documents owned by other users but not necessarily shared to me?
I want to collect all the documents owned by each User in Salesforce account.
I have created accessToken with User A's email, where User A is a System Admin with property PermissionsModifyAllData and ...
0
votes
1
answer
4k
views
Salesforce external data source "EXTERNAL_OBJECT_EXCEPTION: You are not authorized to perform that operation."
I configured a Salesforce external data source to connect to my Office 365 online Sharepoint account. Everything worked! I was able to browse Sharepoint files from the Files tab.
I go to grab some ...
9
votes
1
answer
4k
views
ContentDocument Preview in LWC in Communities. Is there a ConnectApi.ContentHub.getFilePreview Equivalent?
I'm trying to create a custom version of the File Preview Modal that appears in Lex when using this approach: Using Navigation Mixin with a page name of 'filePreview'. That approach doesn't work in ...
2
votes
0
answers
449
views
Unable to query External Object created from Files Connect for BOX
I have setup files connect for Box.com in Salesforce. After adding external data source, it created a new external object but I am seeing this error when I try to view files in this object or run a ...
1
vote
1
answer
2k
views
Files from a connected source (Google Drive) do not show up in Community
We set up Files Connect for Google Drive in our org. Internal Users when logged in community can see files in Connected Sources:
Community Users (License: Customer Community Plus) get an error when ...
1
vote
0
answers
90
views
Custom "Files Connect" integration between asset management system and Salesforce
Is possible to set up a Files Connect integration (that behaves like the existing out-of-box Files Connect integrations - Box, Google Drive, Sharepoint, etc) with a custom digital asset management ...
3
votes
1
answer
866
views
Files Connect with Community Users: Possible?
I would like to use Files Connect for Community Users. I cannot find documentation excluding Community Users from this functionality, and yet I suspect it is not feasible based on trial and error.
I ...
1
vote
0
answers
218
views
Connecting Salesforce to OneDrive files per user (external data sources, external data user authentications)
I have a working model for connecting my Salesforce org to my company's OneDrive file repository. However, I can only get it to work when the "Identity Type" defined in the external data source is ...
0
votes
1
answer
2k
views
How to transfer files from Salesforce to Sharepoint Online [closed]
The use case would be that a file is uploaded to Salesforce but it should be saved in Sharepoint. How do I do it? I saw a post about making a REST call and having that do the trick but I don't ...
2
votes
0
answers
121
views
Need clarification for the Copy sharing mode of Files Connect
We want to connect Google Drive as a Connected Source. We want also share files with external users. That's why Reference sharing mode is not an option in our case. While reading the documentation:
...