Address: Appointment-to-ServiceMax Event Transform Templates
Max-to-SFDC Mappings
You can use the arrayIndexVal function to get the elements of the Address array as follows:
"SVMXC__Location__c": "arrayIndexVal(payload.fields.svmx_location, 0)",
"SVMXC__Latitude__c": "arrayIndexVal(payload.fields.svmx_location, 7)",
"SVMXC__Longitude__c": "arrayIndexVal(payload.fields.svmx_location, 8)"
SFDC-to-Max Mappings
You can use the arrayIndexVal function to construct an Address array as follows:
"svmx_location":"addressFormat (
fields.Location,
null,
null,
null,
null,
null,
fields.SVMXC__SM_Latitude__c,
fields.SVMXC__SM_Longitude__c)"
For more information:
Was this helpful?