Specifying Proximity Search Parameters

In the Maps page in Oracle CRM On Demand you can perform a proximity search to check the addresses on records of a given record type to determine whether the addresses are within a specified radius of a selected location. Proximity searches are supported for the Account, Activity, and Contact record types. In the QueryPage methods for these record types, you must use the following arguments to specify the parameters for a proximity search:

  • Latitude. The latitude value of the proximity search center.

  • Longitude. The longitude value of the proximity search center.

  • Radius. The radius of the proximity search. Possible values are: 1,5,10,20,25,50,100,500.

  • Units. The unit of distance: Miles or Kilometers.

  • AddressType. For the Account record type only, the address type for the proximity search:

    • BillingAddress. The proximity search for the account is limited to the billing address.

    • ShippingAddress. The proximity search for the account is limited to the shipping address.

      If the AddressType parameter is not provided or is empty, the proximity search is limited to the shipping address.

The namedsearchspec argument is used to define lists of records on which proximity searches can be made. If the arguments are missing or incorrect, an error message is received.

For more information about proximity searching, see Oracle CRM On Demand Online Help.