Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

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