Force.com-JavaScript-REST-Toolkit
Force.com-JavaScript-REST-Toolkit copied to clipboard
ForceTK - a minimal Force.com REST API for JavaScript apps
Hi, I was wondering how to use forcetk in Lightning. I have a lightning component, where I've added forcetk and jQuery: `` However, when I want to create the client...
While using the forcetk.Client() i want to be able to make a cross origin request. Is this possible?
**DESCRIPTION:** If we try to upload a new ContentVersion using the **createBlob()** function in forceTK.js, then an uploaded file will have one extra byte at the end of content body....
We have multiple orgs using ForceTK to call ApexRest services from VisualForce pages. Everything has been working just fine until last night. Now none of our calls are going through:...
Details: I am trying to create a Content-Version record and the file type is xlsx. I am passing blob and type is application/octet-stream which is whitelisted. And I am using...
As Salesforce winter release notes says that now the page hosted on salesforce will not include the instance of Org.So now how will we get the Intance URL of org...
Implementing the file upload functionality I noticed that when the Visualforce page is in a community I get a 503 error: ``` POST https://community-url.cs17.force.com/services/data/v33.0/sobjects/ContentVersion/ 503 (Service Unavailable) forcetk.Client.blob @ forcetk:325...
Extra line break creates issue with Microsoft office files (pptx, docx) etc. File downloaded from Salesforce give error, file corrupted.
Hi, You have a problem with this code: ` var blob = new Blob([ "--boundary_" + boundary + '\n' + "Content-Disposition: form-data; name=\"entity_content\";" + "\n" + "Content-Type: application/json" + "\n\n"...
Salesforce proxy url is looking at element[0] or element[1] of url split by dot in order to get domain. which is not always correct. I think domain should be obtained...