Skip to main content
jydps87387977
New Participant
September 5, 2018

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

  • September 5, 2018
  • 3 replies
  • 4611 views

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?

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

3 replies

Jitendra_S_Toma
New Participant
September 5, 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

Daniel_Gordon
Employee
September 5, 2018

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

smacdonald2008
New Participant
September 5, 2018

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