Using the SalesForce prefill processor, if I select the "MailingAddress" in the processor config, it returns a complex data type which looks something like this:
Currently, the Avoka Transact Processor does not support a configuration which splits up the complex data type into individual fields, so how can I prefill my form with this address?
The recommended approach to this is to simply prefill with the individual fields from Salesforce and not use the compound types. I.e. instead of adding MailingAddress to your Salesforce Prefill Generator config, add the individual mail fields:
This page provides some guidance around Salesforce address compound fields:
I've added some instructions on the How to configure a Transact Prefill Generator in Salesforce page for dealing with compound types.
The following code can be used in a form load script (or even a page change script):