コミュニティアチーブメントバーを展開する。

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

この会話は、活動がないためロックされています。新しい投稿を作成してください。

解決済み

Client context content

Avatar

Level 3

Hi,

 

1. How do i fetch user's location (ie latitude and longitude) from the geolocation OOTB component in jsp?

   (Used following command: CQ_Analytics.ClientContextMgr.clientcontext.geolocation.latitude

   But no value was fetched).

 

2. How do we change browser (ie use of emulator) with the help of client context?

 

Thanks,

Nikunj

1 受け入れられたソリューション

Avatar

正解者
Level 8

Client Context enables you to collect/retrieve data about the current context, but it's not meant for changing the context. Also, the collection/retrieval of data is meant to be done on the client only (i.e. using javascript). Client Context is not meant to be used for sending context data to the server.

scott

http://docs.adobe.com/docs/en/aem/6-0/develop/personalization/client-context.html

元の投稿で解決策を見る

2 返信

Avatar

Community Advisor

Please try this for getting user location

http://blogs.adobe.com/livecycle/2011/10/bringing-geo-location-to-web-experience-management.html

For emulator follow this

Changing the Browser Platform

  • Double-click on the icon representing the browser platform. The selector will open, use the arrows to navigate and see the platforms/browsers available:

    file
  • Click on the platform browser you want to load. When the details have loaded click outside the selector to close.

    Avatar

    正解者
    Level 8

    Client Context enables you to collect/retrieve data about the current context, but it's not meant for changing the context. Also, the collection/retrieval of data is meant to be done on the client only (i.e. using javascript). Client Context is not meant to be used for sending context data to the server.

    scott

    http://docs.adobe.com/docs/en/aem/6-0/develop/personalization/client-context.html