• Stephen Wood 5
  • NEWBIE
  • 10 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 0
    Replies
Is it possible to have the REST API return the value of a formula field when creating a record? I know that the payload returns the record ID, but would like other field values returned as well in order to not have to make a second call. For example the response body for a new account might look like:
 
{
  "id" : "001D000000IqhSLIAZ",
  "errors" : [ ],
  "success" : true
  "Formula_field__c" : "Formula field value"
}

 
Hello! I will soon have the user agent string on a case custom field for cases submitted via webform. I would like to parse that string into the below fields, and I'm not sure where to start:
  • Device (Mac, PC, iPhone, iPad, Samsung, etc...)
  • Browser with Version (Chrome 47.1.1)
  • OS with Version (OS X 10.11.3)
I would love guidance on this as I am not a developer. I'm just technical enough to be able to figure something out if I'm set on the right track. Should I try formula fields to parse out that string? Or can someone help me with using a javascript method such as https://useragentapi.com/docs