Description
The syntax is invalid for the Create Composite Address Locator tool's Result Order parameter
Solution
Note:
To ensure the correct syntax, run the tool first from the Geoprocessing pane; then export the Python code from the History pane.
If the Result Order parameter value is specified as Locator Order, the correct syntax is a comma delimited string of locator names. For example, with two locators, Atlanta.loc and Raleigh.loc, format the parameter as "Atlanta, Raleigh".
If the Result Order parameter value is specified as Order by Role and Score, the correct syntax is a comma delimited string of each role, with the locator role in square brackets, followed by each locator that contains that role appended with a period and role name in a comma delimited list contained in parentheses. For example, with two multirole locators (Atlanta.loc and Raleigh.loc) that each contain the Point Address role, Street Address role, and Postal role, format the parameter as "[PointAddress](Atlanta.PointAddress,Raleigh.PointAddress),[StreetAddress](Atlanta.StreetAddress,Raleigh.StreetAddress),[Postal](Atlanta.Postal,Raleigh.Postal)".
Note:
Order the roles from most precise to least precise (Point Address before Street Address, and so on).
If the Result Order parameter value is specified as Custom Order, the correct syntax is a comma delimited string of the locator name appended with a period and the locator role. For example, with two multirole locators (Atlanta.loc and Raleigh.loc) that each contain the Point Address role, Street Address role, and Postal role, format the parameter as "Atlanta.StreetAddress,Atlanta.PointAddress,Raleigh.PointAddress,Raleigh.Postal,Atlanta.Postal,Raleigh.StreetAddress".