enonic/app-guillotine

Local Context must be overrideable

Closed this issue · 0 comments

The instance of Local Context is available via env.localContext.

In order to modify Local Context to use modifyLocalContext function on env instance.

env.modifyLocalContext({
        k1: v1,
        k2: v2,
    });

Key must be String. Value can be String, Double and Boolean, maybe Integer.