Highlighted

AEM ContextHub - how to add key:value to any store?

Avatar

Avatar

jydps87387977

Avatar

jydps87387977

jydps87387977

05-09-2018

Hi,

Using the following api which finds all the contexthub stores. Each store has it's own ValueMap.

com.adobe.granite.contexthub.api.ContextHub

Que. Using the api, how to add any new key:value to the store?

Replies

Highlighted

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

05-09-2018

We are checking internally - we do not have any doc on this other then Javadocs.

Highlighted

Avatar

Avatar

dgordon86

Employee

Avatar

dgordon86

Employee

dgordon86
Employee

05-09-2018

Have you tried the setProperties method on the Store object? Store ("The Adobe AEM Quickstart and Web Application.")

Highlighted

Avatar

Avatar

Jitendra_S_Toma

Avatar

Jitendra_S_Toma

Jitendra_S_Toma

05-09-2018

Hi,

Contexthub accepts JSON Data and you can use API to load json data. Where exactly do you want to API to load store?

Reference

Configuring ContextHub