Expand my Community achievements bar.

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

Avatar

Level 4

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?

3 Replies

Avatar

Level 10

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

Avatar

Employee Advisor

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

Avatar

Level 9

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