Forum

power query - Impor...
 
Notifications
Clear all

power query - Import / export data from same source.

4 Posts
3 Users
0 Reactions
164 Views
(@quqdk)
Posts: 2
New Member
Topic starter
 

Hi guys,

I have an Excel power query connection to salesforce, and pull/refresh some data into tables in Excel.

Is it possible to alter data in Excel and then upload/export back to salesforce... as in bypassing their interface..? 🙂 

 

Sincerely,

quqdk

 
Posted : 02/12/2021 8:03 am
Anders Sehlstedt
(@sehlsan)
Posts: 970
Prominent Member
 

Hello,

It has gone several years now since I worked with Salesforce, so my answer is based on what I got to learn back then.

No, Power Query only has the capabilities to fetch data in, not sending it out. But the result from the queries can of course be imported to Salesforce, but it has to be done from within its own interface.

Br,
Anders

 
Posted : 05/12/2021 6:31 am
(@catalinb)
Posts: 1937
Member Admin
 

Actually, Power Query can send data to an api, but it might not work properly on all API's, as Anders mentioned it was built mainly for reading data, not sending.

If there is any Content in the body of the request, PQ will send a POST request, here is a sample Json content that will be sent:

ResponseData = Web.Contents(YourAPIUrl,[Content=Json.FromValue({"id":1234, "company_name":"AA LTD"})]),

ResponseData will contain the response of the API.

There is no way to select the request type (GET, PUT, POST and so on).

 
Posted : 05/12/2021 7:01 am
(@quqdk)
Posts: 2
New Member
Topic starter
 

Okay, thanks to both of you 🙂

Good to know, that it's not possible, or in case it is, it's to difficult to do it for me 🙂

 
Posted : 06/12/2021 6:47 am
Share: