+

Search Tips   |   Advanced Search

Device Application Object: Location attributes

We can use location to tailor the content that displays. The Device application object contains five location attributes we can use in rules created: latitude, longitude, country, state, and city.

To receive latitude and longitude information from a user's device:

  • We must enable the geolocation theme module on IBM WebSphere Portal.

  • The user that accesses the site must use a device that is location aware and selected to share location information about their device to the site.

  • The client software on the device (the browser) must support HTML5.

Country, state, and city attributes are resolved from the latitude and longitude coordinates of the user's device or from the IP address that is obtained by using a reverse geocoding service. A reverse geocoding service is not provided with WebSphere Portal. Use the geolocation interface and registration mechanism that is provided with WebSphere Portal to define how to deploy the service we use.


Parent topic: Device application object