How to disable geolocation in publishing instance under AEM 6.3 | Community
Skip to main content
Level 5
Oct 29, 2017 9:15 PM UTC
Solved

How to disable geolocation in publishing instance under AEM 6.3

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.
BigT168Accepted solution
Level 5
Nov 1, 2017 2:00 PM UTC

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

Thanks.

7 replies

Level 4
Nov 29, 2018 8:51 PM UTC

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

Translate
prabhdeep_puri
Level 2
Nov 1, 2017 5:37 PM UTC

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.

Translate
smacdonald2008
Level 10
Nov 1, 2017 2:02 PM UTC

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

Translate
BigT168AuthorAccepted solution
Level 5
Nov 1, 2017 2:00 PM UTC

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

Thanks.

Translate
smacdonald2008
Level 10
Nov 1, 2017 1:58 PM UTC

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

Translate
BigT168Author
Level 5
Oct 31, 2017 9:59 PM UTC

It doesn't work.

Is there any other way to do it?

Translate
kautuk_sahni
Employee
Oct 30, 2017 9:39 AM UTC

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

Translate
Kautuk Sahni