Clint
12/01/2022, 8:50 PMvar locationFields = search.lookupFields({
type: search.Type.LOCATION,
id: createdFrom,
columns: ['address.address']
});
but the results come back like this
"address.address": "xxxxxx\r\xxxxxx xxxx Ave\r\nChicago IL xxxxx\r\nUnited States"
That's what gets set in the custom field. How do I just get the address part and not the whole string?reptar
12/01/2022, 10:09 PMreptar
12/01/2022, 10:11 PMaddress1
? Or possibly address1
and address2
?Clint
12/01/2022, 10:14 PMreptar
12/01/2022, 10:15 PMClint
12/02/2022, 5:28 PMreptar
12/02/2022, 5:29 PMClint
12/02/2022, 5:30 PMClint
12/02/2022, 5:30 PMreptar
12/02/2022, 5:34 PMClint
12/02/2022, 6:47 PMreptar
12/02/2022, 6:50 PM