salesforce

Salesforce: How to automate report extraction as JSON/CSV

一世执手 提交于 2021-02-19 15:24:30
问题 I am new to Salesforce, but am an experienced developer. I am provided a link to a Salesforce report, which mostly has the right filters (query). I would like to use an REST API to pull that information as CSV or JSON so that I can do further processing on it. Here are my questions: Do I need special permissions to make API calls? What are they? Do I need to create an "app" with client-key & secret? Does my admin need to grant me permission for this too? There are a lot of REST APIs from

The requested resource does not exist [error] in Salesforce. What is wrong with Salesforce?

大城市里の小女人 提交于 2021-02-19 00:22:46
问题 I execute a SOQL request to get all available record ids of the SObject 'ObjectPermissions'. Then I use the request to GET /services/data/v48.0/sobjects/ObjectPermissions/{id} to fetch all the necessary info for a specific record. As you can see in the first picture, I received a response with a total of 960 records. The problem is that for 285 entries I can’t get the information. Here is an example of the answer I received for one of 285: I highlighted the identifier of this record. Maybe

Downloading images from Salesforce URL using Python

℡╲_俬逩灬. 提交于 2021-02-17 05:14:42
问题 I have a csv of a series of contacts from Salesforce with the name, location and a URL that opens an image which I need to download Thus far I have only been able to access my Salesforce instance using Python but am struggling to find a means of using a python package to not only open the URL, but also download the image in .jpg format and rename it with the name and location of the client. Is there any package available that would allow my to do this. I've tried using simple-salesforce but I

Downloading images from Salesforce URL using Python

孤者浪人 提交于 2021-02-17 05:14:31
问题 I have a csv of a series of contacts from Salesforce with the name, location and a URL that opens an image which I need to download Thus far I have only been able to access my Salesforce instance using Python but am struggling to find a means of using a python package to not only open the URL, but also download the image in .jpg format and rename it with the name and location of the client. Is there any package available that would allow my to do this. I've tried using simple-salesforce but I

Calling Marketing Cloud APIs from C# via FuelSDK

孤街浪徒 提交于 2021-02-11 15:37:38
问题 In am trying to get an access token to call Salesforce Marketing Api through FuelSDK the code is: NameValueCollection parameters = new NameValueCollection(); parameters.Add("clientId", "myclientidvalugoeshere"); parameters.Add("clientSecret", "myclientsecretvaluegoeshere"); var client = new ETClient(parameters); ETFolder folder = new ETFolder(); folder.AuthStub = client; var response = folder.Get(); return response.Message; But it's returning: System.Net.WebException : The remote server

Calling Marketing Cloud APIs from C# via FuelSDK

a 夏天 提交于 2021-02-11 15:34:24
问题 In am trying to get an access token to call Salesforce Marketing Api through FuelSDK the code is: NameValueCollection parameters = new NameValueCollection(); parameters.Add("clientId", "myclientidvalugoeshere"); parameters.Add("clientSecret", "myclientsecretvaluegoeshere"); var client = new ETClient(parameters); ETFolder folder = new ETFolder(); folder.AuthStub = client; var response = folder.Get(); return response.Message; But it's returning: System.Net.WebException : The remote server

can we show Account records on Contact?

坚强是说给别人听的谎言 提交于 2021-02-11 14:53:29
问题 On Account object we have a related list called contact.If we want to add contact we can use Contact related list. then contact related list will created. But on the contact i could n't find the Acccount name in Account related list on Contact. Both Accounts and contacts are m-m relationship 回答1: Your question is bit weird. And it's not really programming-related. If my answer doesn't help you - try asking again at https://salesforce.stackexchange.com/ The default setup in Salesforce is that

can we show Account records on Contact?

有些话、适合烂在心里 提交于 2021-02-11 14:51:16
问题 On Account object we have a related list called contact.If we want to add contact we can use Contact related list. then contact related list will created. But on the contact i could n't find the Acccount name in Account related list on Contact. Both Accounts and contacts are m-m relationship 回答1: Your question is bit weird. And it's not really programming-related. If my answer doesn't help you - try asking again at https://salesforce.stackexchange.com/ The default setup in Salesforce is that

How to do a Salesforce query using apache camel related to the field CreatedDate?

喜你入骨 提交于 2021-02-11 12:50:51
问题 I am doing a salesforce query to fetch certain records based on conditions imposed on the field ID and CreatedDate using apache camel. This is the toD statement .toD("salesforce:query?sObjectQuery=Select Id, Name, CreatedDate from Account where Id > '' and CreatedDate > 2019-01-03T12:12:27.000+0000 order by CreatedDate, Id limit 10&rawPayload=true") This returns this error response org.apache.camel.component.salesforce.api.SalesforceException: {errors:[{"errorCode":"MALFORMED_QUERY","message"

Is It Possible To Use An External Database For User Data & Login Credentials With Shopify?

こ雲淡風輕ζ 提交于 2021-02-10 21:38:58
问题 Our client has asked us to build a Shopify site that ties into their in-house customer db (with or without using Salesforce). Is this even possible? Does Shopify support any method of cross-site database querying? The only thing I can think of to accomplish this is to write a webhook on their in-house server with a simple read-only mini DB query API. However, as that I'm not super familiar with Shopify's more obscure capabilities (and having already spent quite some time sifting through their