Skip to main content

Questions tagged [ajax-toolkit]

The AJAX Toolkit is a JavaScript wrapper around the API. By using the AJAX Toolkit you can embed API calls and processes, such as within a Visualforce page

0 votes
1 answer
85 views

I'm encountering an issue with the Salesforce AJAX library (sforce.js) when using it in a Lightning Web Component (LWC) with Lightning Web Security (LWS) enabled. We used the AJAX library to query and ...
Chirag Mehta's user avatar
  • 1,261
-1 votes
1 answer
1k views

Experience Builder--> Settings-->Advance-->Head Markup I tested already things like <script src="../../soap/ajax/33.0/connection.js"></script> <script> var ...
Alex's user avatar
  • 1
3 votes
2 answers
7k views

I have a LWC that, is retrieving the body of an attachment using apex. This is retrieved just as blob, because handling it in Apex would hit limits such as String too long os Heap Size exceeded, cause ...
Gabriel Serrano Salas's user avatar
0 votes
1 answer
153 views

I work on one of the projects with assessment activities and there are a bunch of Visualforce pages that use the Connections.js library from the AJAX toolkit. As for me, security is the number one ...
Ruslan Kurchenko's user avatar
0 votes
4 answers
113 views

I am trying to use like operator in like query using Ajax toolkit, but unable to do so. I am trying this: var att_name = '%sample%'; var result = sforce.connection.query("select id, from ...
Badar's user avatar
  • 45
0 votes
1 answer
190 views

Which method is typically used to convert an on click javascript detail page button which utilizes the AJAX toolkit? Looking to call the "forwardEmails" method with the case ID and default value for ...
ebar's user avatar
  • 447
0 votes
1 answer
1k views

I'm attempting to use the AJAX Toolkit to access the current Account ID of the logged-in user from within a community site. (The particular community is managed by Nimble AMS, and is referred to as "...
Ben Birney's user avatar
0 votes
1 answer
1k views

I am using html5 FileReader + ajax toolkit + soap API in my Visualforce page to upload a single file as ContentVersion. I'm able to upload files up to 37435519 bytes pdf file but I get this error in ...
Bahman.A's user avatar
  • 978
2 votes
1 answer
118 views

I'm working with a Detail Page Button that executes OnClick Javascript. Most of the time it works just fine. However, in this particular instance, one of the merge fields in the script has a value of "...
John Thompson's user avatar
1 vote
1 answer
226 views

im creating SObject("Attachment") the problem is depends on how big is the file usually it take some amount of seconds do get the results. I want to find a away to alert me when the result comes back ...
Amer Bearat's user avatar
1 vote
1 answer
2k views

I've created a Vf Page to upload the attachment in salesforce. I've a pulic community website where user can Register/ login their self. Logged in user can see the attachment Vf page to upload files. ...
user29314's user avatar
  • 303
0 votes
2 answers
1k views

I'm using the Ajax Toolkit to upload files on a VF page, like described here. The Upload works fine, the file is available and not damaged. But the response is not coming back properly. <apex:...
itsmebasti's user avatar
  • 6,605
0 votes
1 answer
455 views

I have a project to upload some files for both licensed users and portal users. Got it working 98%... except for portal users.. mama mia... I created a site off a domain, logged in a user and ...
J.W.'s user avatar
  • 21
0 votes
1 answer
120 views

I have defined a javascript custom button. As soon as the button is clicked, the page should grey out. In mozilla firefox, the below code works as expected: var $j = jQuery.noConflict(); ...
sfdcdev's user avatar
  • 107
0 votes
1 answer
351 views

In Chrome when you click a JavaScript button, it will surround the button with a blue border and this indicates the user has clicked the button. In Internet Explorer, this does not happen. Is there ...
sfdcdev's user avatar
  • 107

15 30 50 per page
1
2 3 4 5 6