How to disable geolocation in publishing instance under AEM 6.3 | Community
Skip to main content
Level 5
October 29, 2017
Solved

How to disable geolocation in publishing instance under AEM 6.3

  • October 29, 2017
  • 7 replies
  • 3634 views

To disable the geolocation, I found this instruction, but it is two years ago, not sure if it applies to AEM 63. touch UI?

Rename /libs/cq/personalization/components/contextstores/geolocation to /libs/cq/personalization/components/contextstores/geolocation_new

Does anyone know?

Thanks.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by BigT168

I did apply the old instruction specified for ClientContext, it works.

Thanks.

7 replies

kautuk_sahni
Community Manager
Community Manager
October 30, 2017

In File:- /libs/granite/contexthub/components/modules/location/clientlib/renderer.location.js

Contains the registation code :- ContextHub.UI.ModuleRenderer('contexthub.location', new LocationRenderer()); Comment it out. It would work.

I would recommend copy the node /libs/granite/contexthub/components/modules/location/clientlib/renderer.location.js to /apps/granite/contexthub/components/modules/location/clientlib/renderer.location.js and then comment out the line.

~kautuk

Kautuk Sahni
BigT168Author
Level 5
October 31, 2017

It doesn't work.

Is there any other way to do it?

smacdonald2008
Level 10
November 1, 2017

Did you try the instructions you specified. Many times - instructions only a few years old still apply.

BigT168AuthorAccepted solution
Level 5
November 1, 2017

I did apply the old instruction specified for ClientContext, it works.

Thanks.

smacdonald2008
Level 10
November 1, 2017

Here appears to be the community blog that is being referenced: How to disable Geolocation feature : Adobe AEM/Adobe CQ5

prabhdeep_puri
Level 2
November 1, 2017

For contextHub, there is a new GUI present now to handle all the datastores and UI modules:

/etc/cloudsettings/default/contexthub.html

Disable the data store as well as its UI module here.

Level 4
November 29, 2018

BigT168​ can you provide a link that you've followed or steps so others can find a solution.