Skip to main content

Questions tagged [get]

1 vote
0 answers
68 views

Using a SSJS GET on an endpoint which returns binary image data results in different data than the same call in Postman. Here's my setup: var url = "https://graph.microsoft.com/v1.0/me/photo/$...
Ilya Nikulin's user avatar
0 votes
1 answer
39 views

I am creating a script to get the list of all locations but the Get function is not retrieving anything. Here's my script: <script runat="server"> Platform.Load("Core", "...
Raas's user avatar
  • 31
0 votes
0 answers
40 views

We are trying to hit our salesforce instance from outside using webservices. 3rd party is using post as a method. But in salesforce it is not recognized as post request. We have used these lines in ...
Dipankar Karmakar's user avatar
0 votes
0 answers
25 views

Situation. We are tidying up some flows so they use less GET's. We have one that gets a single highest value of the last 6 months. Previously we had a filter (for its requirements) then a descending ...
Stephen John cook's user avatar
1 vote
1 answer
201 views

for (Database.SaveResult result : saveResultList) { if (result.isSuccess()) { successCount++; system.debug('Get id of success Record'+result.getid()); } ...
Faizan Shaikh's user avatar
1 vote
1 answer
1k views

Salesforce web api GET and POST both were working OK before. Suddenly from today started giving following error. Noticed in the API setup API version is changed but after updating newer version code ...
user2207791's user avatar
0 votes
1 answer
71 views

I'm creating a map based on a custom object in my org. Basically this is the code for it. Map<String, String> translationMap = new Map<String, String>(); List<StageNameTranslation__c>...
potato46's user avatar
1 vote
1 answer
470 views

I have a map and have pushed a value into it, but when using get map, the result returns null. After debugging, I found that the key is correct. What could be the reason? Can someone help me? This is ...
Nguyễn Mạnh's user avatar
0 votes
1 answer
248 views

I have a component with an attribute. I try to pass the value to the controller without succes. How do I achieve this. Aura component <aura:attribute name="currentUser" type="...
Thomas's user avatar
  • 2,320
0 votes
1 answer
1k views

I am trying to get values from map and assign the value in trigger. Below is the code so far - I need to get ID based on a value from a Map which I have created. public class AccountTriggerHandler ...
SFDC_Admin's user avatar
2 votes
1 answer
507 views

I try to make sense out of an edge case scenario I just came across and would love to get some ideas around why this may happen. On any CloudPage, if I add a GET or POST parameter with the value of &...
shd.lux's user avatar
  • 511
0 votes
1 answer
372 views

I am unable to get the response from Nager.Date API using the follow code: LWC function: getData(){ let myurl = 'https://date.nager.at/api/v3/publicholidays/2021/AU'; fetch('https://date.nager....
Yjyjyjyj's user avatar
0 votes
1 answer
1k views

I m trying to Sync Salesforce with an external system and run the batch class every night but when I try to test the batch class in Execute anonymous window, I get this - System.UnexpectedException: ...
Kushi tin's user avatar
0 votes
1 answer
1k views

I want to bind variable in get request, but it gives me error "Bind variables only allowed in Apex code","errorCode":"MALFORMED_QUERY"}". How to do it? Account ...
Solmetirka's user avatar
0 votes
1 answer
722 views

I have created a RestResource API class with GET method. It is supposed to accept the email passed as an input via the query string, and perfom logic based on that email received. It all worked fine ...
Shobhit Saxena's user avatar

15 30 50 per page