A customer question I can't answer. Can anyone help?
I'd like to prepopulate some fields when we create new cases. I've come across a few ways to do that for simple standard fields and for custom fields, but one of the fields that I want to work with is a Long Text Area, and those seem to be more difficult. Is there a recommended way to prepopulate a Long Text Area field? Is it possible to do it by pulling in the text from an object somewhere, such as the contents of a Content record, or perhaps a static resource?
The "Getting Started" code examples show how to INSERT and UPDATE individual records using the new REST API.
In my own testing, this seems to take about 100 msec per REST API call.
If I need to INSERT or UPDATE 1,000 records, and I do then one-by-one, that's going to take a long time.
Can anyone point to some documentation or example code, that shows how to many records with a single REST API call?
thanks in advance,
David Jones, PhD
While the API docs have a lot of great examples using cURL, I don't see an example of how to actually obtain the access token. I tried the following with no joy:
curl grant_type=authorization_code \ client_id=MY-CONSUMER-KEY \ client_secret=MY-CONSUMER-SECRET \ https://na5.salesforce.com/services/oath2/token
Author: The Salesforce Handbook
Salesforce has some great articles at developer.force.com and the Force.com community has chipped in with some excellent content but there is still something missing. There’s a beginning book for Salesforce users (Salesforce.com for Dummies) and an advanced Force.com development book (Development with the Force.com Platform) but there is no comprehensive guide for analysts and developers just coming on to the platform. This is the niche that Wes and I want to fill with our new book:
The Salesforce Handbook
A newcomer’s guide to building applications on Salesforce.com and the Force.com Platform
We are targeting this book for business owners, analysts and developers just getting started. Just think of all the new Vmforce Java developers that will be investigating the Force.com platform in the coming months! So if your boss walks into your office and says, “Let’s look at this Salesforce.com thing and see if we can build something”. We want this to be a reference that you can pick up and essentially find out everything you need to know about Salesforce from a high level with links to other articles, sample code, blogs, Salesforce docs, etc. that interest you.
I query data which sometimes exceeds 2000 and that happens I receive an error message from the API stating error message = 2000
Is there a limiter that does not allow me to work with more 2000 records and how can I workaround this?
- The "writeRequiresMasterRead" attribute is listed in the documentation for 14 as part of DescribeSObjectResult, but according to the 14 partner WSDL, it's part of Field.
- "relationshipOrder" has the same issue as "writeRequiresMasterRead": it's documented as part of DescribeSObjectResult but the WSDL says it's in Field.
- "calculatedFormula" is in the WSDL definition of Field, but not documented.
- "externalId" is in the WSDL definition of Field, but not documented.
Sharing Rule Limit Exceeded Your organization has exceeded the maximum number of sharing rules allowed of this type. Please contact your administrator for more information.
SELECT Amount, Id, Name, (SELECT Quantity, ListPrice,
PricebookEntry.product2.Family FROM OpportunityLineItems)
To test it out I pasted it in the Data Loader but recieve an "Error in query: Malformed query string".
Any ideas? Much thanks.
sforce.connection.useDefaultRule = "true";
If I manually edit a case and change the Department_Assigned__c custom field, the case owner changes correctly. I've also tried using sforce.connection.assignmentRuleID = "the_assignment_rule_id", but still no luck. Any tips would be greatly appreciated.
1) Installed JDK 1.42
2) Installed Tomcat 4.1 (not sure if this is needed) - verified running on port 8080
3) Installed Apache Axis 1.4 (copied webapp/axis over to Tomcat - again not sure if required)
4) Downloaded Enterprise WSDL from Salesforce and saved to desktop
5) Installed Ant
NOW, I just need to run Java2WSDL and I am STUCK! I realize I probably have to compile this and I am completely lost what to do. I'm not sure if the Enterprise WSDL import is related to this step, but I need help with this too.
Thanks in advance, once I get this running, I will immediately paypal you $25! -Charles
1. Does the sforce explorer (using DescribeSObjects, etc) return all the correct metadata for the org when configured to use the 8.0 SOAP endpoint? (https://prerelna1.pre.salesforce.com/services/Soap/u/8.0)
2. If so, then why does it indicate that the ProcessInstance is query-able and retrieve-able, whereas the API Docs indicate that they are more accessible (create, delete, query, retrieve, update, upsert)?
Granted, I could write a quick test to try it and find out, but I thought it would be useful to point out the discrepancy just in case.
Thanks again for some incredibly useful new features. Only problem is that we just spent a few weeks working around limitations in 7.0 that have almost all been resolved with 8.0! :-)