Sending Go App Data to Third-Party App
The Go App has the ability to send data and instructions to third-party apps. This allows third-party apps to receive data from the Go App to a target-specific record and map fields and values. For this, you need to create a Custom Action of type App-to-App on the server. For more information, see
Custom Action for App-to-App.
To Export Go App Data to a Third-Party App:
1. Open any Work Order record.
2. Launch the App-to-App Custom Action from the Actions menu and export data to a third-party app.
3. Data sent from Go App to a third-party app has the following URI scheme definition:
3rdPartyAppSchemeName:
ParameterName1=ParameterValue1&&data={
"object": "ObjectAPIName",
"record": {
// Header Record Fields
},
"details": [
{
"object": "Detail_Line_Object_API_Name1",
"records": [
{
// Record 1
},
{
// Record 2
}
]
},
{
"object": "Detail_Line_Object_API_Name2",
"records": [
{
// Record 1
},
{
// Record 2
}
]
}
]
where,
• SchemeName is the third-party app scheme name. The path is the path as configured on the server.
• ParameterName1 is the account's SFDC Id.
• Object (ObjectAPIName) is the header record object’s API name.
• Header Record Fields:
{
“field_api_name1”: “field_value1”,
“lookupfield_api_name2”: {
"key": “SFDC Id of the lookup field“,
"value": “Value of the field“,
}
}
• Details:Object: "Detail_Line_Object_API_Name1". This is a detail line object’s API name.
• Record 1 and Record 2 are defined in the same way as Header Record fields with the detail line fields.