Linked Questions

3
votes
1answer
2k views

How to get past the URL limit error of maximum 4096 characters?

I've a need to generate a PDF with dynamic content intercepted by end user in an editable input form. So, I tried reading everything on the form into a string and passed the string as a URL parameter ...
4
votes
1answer
372 views

Salesforce Platform Cache not working in Sales Console

I am using the Platform Cache to store the Id of the customer the salesperson is speaking with on the phone, such that different Lightning Components automatically load the customer's details as the ...
0
votes
0answers
142 views

Different SessionId [duplicate]

Is there a difference between {!$Api.Session_ID} on visualforce vs UserInfo.getsessionID() in Apex. I tried to print these 2 values on Visualforce page and see that both values are different. One ...
3
votes
1answer
798 views

Problems accessing private VisualForce page using OAuth's access token

I need to enable access to private VisualForce pages from an external connected app using only the access token obtained via OAuth process. I have followed what is described in this SF blog here ...
2
votes
1answer
387 views

Metadata Deploy from JSforce doesn't work in production

I have a managed package containing a VF page that uses JSForce to deploy a zipped package of metadata when a user clicks a button. Inside the package I'm trying to deploy is 2 classes and a trigger, ...
22
votes
3answers
14k views

Session_ID_Remove Issue in API callouts in Salesforce

I have below code to get session id of another org and to connect it. Problem I am facing is not able to see session id . HttpRequest request = new HttpRequest(); request.setEndpoint('https://...
3
votes
0answers
160 views

Ajax REST Tooling Queries Return Null SymbolTable?

Background I'm trying to build upon Daniel Peter's approach in his HyperBatch library to build a HyperQuery tool that will allow me to get better insight into some large tables we have without ...
1
vote
1answer
2k views

Session Id from Developer console and session Id from SOAPUI

I got session id from Developer console and as well as from SOAPUI at a time. But both are giving different session ids, but both the session ids are working properly. What my questions are a) Why ...
1
vote
1answer
2k views

use org session id for salesforce rest api call to get records

I'd like to make a rest api call from within my org. From the docs "You can use a session ID instead of an OAuth 2.0 access token if you aren’t handling someone else’s password:" in my VF page I use ...
0
votes
1answer
927 views

Why does it say my VisualForce page 'does not exist or is not a valid override for action Edit?' It exists and is valid!

I am developing a managed package that has a VisualForce page for configuration. Before I packaged everything up, I made some buttons on the page that the user can click to automatically set their org'...
2
votes
1answer
87 views

Determine whether current user session is a managed package support user session?

Salesforce only shows debug logs from managed packages if you're logged in via the appropriate "grant support access" feature from your licensing org's licensing console. That's okay so far... My ...
2
votes
2answers
2k views

HttpResponse StatusCode=200, but 3rd party request (Pardot) not made

ObJective: I am attempting to create a new prospect in Pardot when a lead that had no email gets updated with an email (Pardot will sync accounts but until the lead email exist there is no prospect to ...
9
votes
1answer
4k views

Get a FIRST-CLASS SessionID for API Calls (looking for a clean way or alternative)

I am basically facing the same challenge as @Evan here Different Session Ids in Different contexts I'm also running into SessionID related issues, but in a completely different use case. Background ...
2
votes
0answers
1k views

Metadata API Call: Web service callout failed

I am creating sample example from http://andyinthecloud.com/2013/10/27/introduction-to-calling-the-metadata-api-from-apex/ I am getting following exception on Click of the button Whats wrong? Web ...
3
votes
3answers
6k views

JavaScript return Invalid Session ID?

Here, here is my JavaScript code within a VisualForce page. The query is guaranteed to return only one result. but I am getting "Invalid Session ID" exception. please help. function ...