Overview
Evaluates a calculated URL expression and returns the result
Request Arguments
| Name |
Type |
Description |
Required |
|
recordType
|
String
|
Record Module
|
True
|
|
recordId
|
String
|
Record ID
|
True
|
|
keepTempFieldForCalculatedURL
|
Array
|
Details on what temporary field to create / evaluate the formula on
|
True
|
Request Example
{
"recordId": "3232sda6-8a62-a74f-bb53-535620232304",
"recordType": "Accounts",
"keepTempFieldForCalculatedURL": {
"buildUrlTempField": {
"formula": "strToUpper(concat(\"https://\",toString($description),\"/\"))"",
"targetField": "temporary_field",
},
}
}
Response
The response should look like the following:
| Name |
Type |
Description |
|
<field_name>
|
Array
|
Calculated value
|
Response Example
{
"buildUrlTempField": {
"value": "HTTPS://WWW.SUGARCRM.COM/",
"fieldName": "temporary_field",
},
}
Change Log
| Version |
Change |
|
v11_13
|
Added /actionButton/evaluateCalculatedUrl POST endpoint.
|