Questions tagged [get]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
24 views

Set HttpWebRequest to Accept = application/xml

If I am querying using the following, then Function CallSFDCAPI works. services/data/v41.0/query?q=Select+Id+FROM+Vendor__c" I am required get the response in XML format. But how can i get the ...
0
votes
0answers
25 views

Form Redirect with params to controller

I have a 3rd side that makes a redirect to my VF page (A Force.com Site) with params. <form id="AFormId" action="A Force.com Site" method="post" target="_parent" enctype="application/x-...
2
votes
1answer
56 views

REST GET API response does not contain null fields

I have written a REST API endpoint for Account object for GET operation. The code is below - @httpget global static list<Account> doget(){ RestRequest req = RestContext.request; RestResponse ...
0
votes
1answer
36 views

Getting null in control from input field

I'm stack. I Have a simple controller and visualforce page. Controller: public class NewTaskSchedulerController { public Event Event {get; set;} public NewTaskSchedulerController(){ ...
0
votes
1answer
38 views

Retrieve id of div from within a get()

In my lightning web component I am trying to loop through a an array they determines if an item in a combobox should be marked or not: HTML <ul class="slds-listbox slds-listbox_vertical" role="...
0
votes
1answer
53 views

Get current ID in ligtning component for page Community Salesforce

I need help please, I'm trying to get the ID of the current page. from a page of a community in salesforce, but every time I reload the page to get the ID this arrives undefined, the URL that I am ...
0
votes
0answers
21 views

Not return correctly Json in Method GET Apex, return error page in html

I decode a Json in a Get method via PHP and php returns the answer in correctly Json, however in apex it returns me a page with an error in html, but with the Status Code 200. My client programmer ...
0
votes
2answers
39 views

Catch block code coverage for @HttpPost and @HttpGet REST API

I have some code in my catch block for both @Post and @Get methods. I need to cover catch block to get to 75% for GET, got catch block covered for POST Here is an example : // POST my JSON : [ ...
0
votes
0answers
22 views

Having trouble with a date/time get;set;

UPDATE I made a global string in the controller called temp date composed of the date as yyyy/mm/dd and then used THIS is the get;set; var rather than the one I directly use in the query. When I am ...