is it possible to get the Mastersoft Harmony service to return the fields addressLine1 and addressLine 2 as additional fields, when using the long address format?
I need to feed data into two different back end systems, that have different requirements; one requires short format, the other long format. So, rather than manipulating one or the other I was hoping to get all the required data in the service response.
Any ideas would be appreciated.
Mark, no you need to choose long or short.
To achieve what you want you could either:
The relevant groovy code that creates the line 1 and line 2 data elements from the Mastersoft response is
I went with the first option and managed to get it working. I'll review that once I get the chance to build the form in Maestro; still not quite fixed about where best to do the processing, in the form or in the processing code.
The code sample above offers some good ideas. I might build on that.