diff --git a/core/src/org/labkey/core/CoreModule.java b/core/src/org/labkey/core/CoreModule.java index 4f1ceb3ae22..62eb50642d9 100644 --- a/core/src/org/labkey/core/CoreModule.java +++ b/core/src/org/labkey/core/CoreModule.java @@ -105,6 +105,7 @@ import org.labkey.api.notification.NotificationMenuView; import org.labkey.api.portal.ProjectUrls; import org.labkey.api.premium.AntiVirusProviderRegistry; +import org.labkey.api.products.Product; import org.labkey.api.products.ProductRegistry; import org.labkey.api.qc.DataStateManager; import org.labkey.api.query.DefaultSchema; @@ -1404,6 +1405,7 @@ public JSONObject getPageContextJson(ContainerUser context) JSONObject json = new JSONObject(getDefaultPageContextJson(context.getContainer())); json.put("productFeatures", ProductRegistry.getProductFeatureSet()); json.put("primaryApplicationId", ProductRegistry.get().getPrimaryApplicationId(context.getContainer())); + json.put("productKey", new ProductConfiguration().getCurrentProductKey()); return json; }