Skip to main content

Questions tagged [sharepoint]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
32 views

Retrieve all files of a folder from sharepoint

I'm trying to download all files from my sharepoint using GET https://{site_url}/_api/web/GetFolderByServerRelativeUrl('Folder Name')/Files Here is my code which makes the call : public static ...
ErtemSener's user avatar
0 votes
1 answer
108 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 ...
Ben Scott's user avatar
1 vote
0 answers
707 views

Salesforce Named Credentials - oauth token refresh does not work

I am using Named Credentials to make callouts to a sharepoint system. Initially, callouts from apex code work fine, until the token expires after 12 hrs. Then I am consistently receiving below error: ...
sfchimp's user avatar
  • 11
-1 votes
1 answer
584 views

How to integrate or send files upto 2GB to SharePoint

We need to send files from Salesforce to Sharepoint with upto 2GB of a single file size. We are aware of Salesforce governor limits of Salesforce/Apex where it cannot process asynchronous API calls of ...
Jitesh Goel's user avatar
0 votes
0 answers
156 views

Issue covering Test class for class performing Sharepoint integration through sfiles managed package API

I am getting the below error when I run the test class ServiceClassTest (it is a test class used to cover a class performing Sharepoint integration through sfiles managed package API) Methods defined ...
M.Prog's user avatar
  • 3
0 votes
1 answer
3k views

Attempting to upload file to AWS S3 but file is corrupt

I am attempting to download a file from SharePoint through their Rest API, and then upload that file to my S3 Bucket. I can "successfully" download the file and upload to S3. The issue is ...
cmptrer's user avatar
  • 103
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 ...
Livio Cioffarelli's user avatar
0 votes
0 answers
1k views

Post File to SharePoint from APEX

I am using EinsteinVision_HttpBodyPart approach to create a file in Sharepoint from Salesforce. EinsteinVision_HttpBodyPart And consuming it in my below method, with this approach files are creating ...
user2372248's user avatar
1 vote
0 answers
1k views

Files Connect to Sharepoint - nothing showing

I am delving into the world of the Files Connect feature in SalesForce. I have set it up, twice now, and gotten it 'working' with a SharePoint Online account, with in O365. I have been following the ...
PHonnold's user avatar
1 vote
0 answers
684 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 ...
Thomas's user avatar
  • 11
0 votes
1 answer
3k 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 ...
Randall's user avatar
  • 131
2 votes
2 answers
869 views

Named Credentials OAuth Sharepoint Microsoft Access Control Service Cust Auth. Provider

I have SalesForce and SharePoint connected on OAuth. I have created Sharepoint app-only, added it to Custom Auth provider and created namedcredentials which is showing as authenticated. Every blog ...
ssspfx's user avatar
  • 123
0 votes
0 answers
75 views

API call to Sharepoint from AURA using a system user

I am calling an API service to receive a list from Sharepoint (url) via a component (controller/helper .js) using req.open("GET", url, true); Now I need to always call this service under a specific ...
Cmd_Keen's user avatar
1 vote
0 answers
261 views

Not able to upload more than 5 mb file in Sharepoint from Apex Salesforce

I am using Sharepoint to upload file from Salesforce, I have integrated both system via Rest API. Below 5 mb files it's working fine, but for file larger than this I am not able to upload it. I know ...
Ravi Kant's user avatar
3 votes
1 answer
853 views

Sharepoint Files Connect identifiers in Content Version Object

After uploading a Sharepoint file via Salesforce Files Connect, i see a record gets created in Content Version object I want to know one of the field in Content Version (ExternalDocumentInfo2) , how ...
learningmode's user avatar
2 votes
1 answer
3k views

Getting Error System.HttpResponse[Status=Moved Permanently, StatusCode=301] [closed]

I am trying to upload a doc from salesforce to Sharepoint. Below code i am executing in developer console.i am getting error as below System.HttpResponse[Status=Moved Permanently, StatusCode=301] ...
learningmode's user avatar
0 votes
0 answers
58 views

Issue converting file object types to String format from an incoming OneDrive REST API call

I'm trying to pull a file object-type from O365 via the Graph API and I'm getting back a return-type that is pretty atypical to the normal JSON return format I'd expect to see. I'm not sure if it's ...
murkywaters's user avatar
3 votes
2 answers
3k views

Related List for external object not showing any records in Lightning (SharePoint Online)

I am having problems with displaying data from external data source in Lightning. I have a connection to SharePoint Online while using Indirect Lookup relationship to match external data with Accounts....
Štěpán Víteček's user avatar
0 votes
1 answer
96 views

Update sharepoint file property using Sharepoint API

Trying to update the file Title property by using Sharepoint API. I wrote the following code: public static void updateFile(String relativeUri){ HttpRequest reqWrite = new HttpRequest(); ...
Miguel Gaurano Punzal's user avatar
6 votes
2 answers
6k views

Sharepoint Integration From Apex

We need to upload files to sharepoint and able to view the uploaded files to sharepoint in salesforce. So we cant achieve this in File Connect, where it is not supporting two way synchronisation. So ...
Yaswanth Tikkisetti's user avatar
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 ...
Ferdy Reyes's user avatar
1 vote
1 answer
337 views

upload files of more than 6MB to sharepoint from VF page and get the response

I am having a VF where the user will browse the file and in the apex, I am encoding that file and uploading it to sharepoint and storing the response in salesforce. I am not storing the file/request ...
Samir's user avatar
  • 2,679
0 votes
1 answer
661 views

Salesforce Files Connect and Azure: "Error: Invalid URL"

As of 2018-02-19, Salesforce's official "preferred" instructions to set up Files Connect with Azure/SharePoint include the following: Authorize Endpoint URL: Enter the URL as follows: https://...
catalandres's user avatar
1 vote
1 answer
809 views

Allow all Users to access specific User's token from Auth. Provider

I've created an Auth. Provider for Microsoft SharePoint and after visiting the OAuth-Only Initialization URL and running a callout using that Auth. Provider, everything works as expected. I've ...
Dan Jones's user avatar
  • 7,227
0 votes
1 answer
143 views

Copy Files into Sharepoint

We need to have a way to copy a File into SharePoint folder as soon as it is created. From my sandbox, I connected to SP with the new "SharePoint connect" feature. Is there a way to create a Trigger ...
vRITHNER's user avatar
2 votes
0 answers
837 views

Salesforce Files Connect Indirect Lookup

I set up Salesforce files connect with sharepoint online via an office 365 application and it works fine. But when i try to do dynamic linking via indirect lookups I do not seem to get it right, I ...
Jasper Maes's user avatar
2 votes
0 answers
629 views

Attachment limitation for REST API

We are working on doing a Sharepoint integration with Salesforce and a part of this service requires Sharepoint to fetch all attachments including body after a particular date. We were working on ...
RajeshShah's user avatar
  • 1,754
0 votes
1 answer
214 views

Knowledge Management: Is the content of attached files searchable?

Is the content of attached files within knowledge management searchable? If yes, what Kind of document types are supported (doc, xls, pdf,....)? Second question: is it possible, to connect and ...
André's user avatar
  • 1